[AArch64] Regenerate libm-test-ulps
[glibc.git] / ChangeLog
blob12a13cb5da1b5ddd3a43aced98d8369355de098c
1 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3         * sysdeps/aarch64/libm-test-ulps: Regenerated.
5 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
9 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11         [BZ #15368]
12         * sysdeps/unix/sysv/linux/nptl-signals.h
13         (__nptl_clear_internal_signals): New function.
14         (__libc_signal_block_all): Likewise.
15         (__libc_signal_block_app): Likewise.
16         (__libc_signal_restore_set): Likewise.
17         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
18         implementation.
19         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
20         the cached pid/tid value in pthread structure.
22 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
24         [BZ #20347]
25         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
27 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
29         [BZ #20348]
30         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
31         preadv64, pwrite64 and pwritev64.
33 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
35         [BZ #20350]
36         * posix/tst-preadwrite.c: Renamed to ...
37         * posix/tst-preadwrite-common.c: This.
38         (PREAD): Removed.
39         (PWRITE): Likewise.
40         (STRINGIFY): Likewise.
41         (STRINGIFY2): Likewise.
42         (do_prepare): Make it static and remove function arguments.
43         (do_test): Likewise.
44         (PREPARE): Updated.
45         (TEST_FUNCTION): New.
46         (name): Make it static.
47         (fd): Likewise.
48         (do_prepare): Use create_temp_file.
49         (do_test): Renamed to ...
50         (do_test_with_offset): This.  Make it static and accept offset.
51         Properly check return value of PWRITE and PREAD.  Return bytes
52         read.  Don't close fd nor unlink name.
53         * posix/tst-preadwrite.c: Rewrite.
54         * posix/tst-preadwrite64.c: Likewise.
56 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
58         [BZ #20309]
59         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
60         -mtls-dialect=gnu2 works.
61         * configure: Regenerated.
62         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
63         (tests): Add tst-gnu2-tls1.
64         (modules-names): Add tst-gnu2-tls1mod.
65         ($(objpfx)tst-gnu2-tls1): New.
66         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
67         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
68         * elf/tst-gnu2-tls1.c: New file.
69         * elf/tst-gnu2-tls1mod.c: Likewise.
70         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
71         bytes for push in the PLT entry to align the stack.
73 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
75         [BZ #20349]
76         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
78 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
80         [BZ #18707]
81         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
82         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
84 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
86         * sysdeps/unix/sysv/linux/sysdep.h
87         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
88         guards.
89         * misc/tst-preadvwritev-common.c: New file.
90         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
91         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
92         a check for files larger than 2GB.
94         * sysdeps/unix/sysv/linux/mips/kernel-features.h
95         (__ASSUME_OFF_DIFF_OFF64): Remove define.
96         * sysdeps/unix/sysv/linux/pread.c
97         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
98         __OFF_T_MATCHES_OFF64_T.
99         * sysdeps/unix/sysv/linux/pread64.c
100         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
101         * sysdeps/unix/sysv/linux/preadv.c
102         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
103         * sysdeps/unix/sysv/linux/preadv64.c
104         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
105         * sysdeps/unix/sysv/linux/pwrite.c
106         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
107         * sysdeps/unix/sysv/linux/pwrite64.c
108         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
109         * sysdeps/unix/sysv/linux/pwritev.c
110         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
111         * sysdeps/unix/sysv/linux/pwritev64.c
112         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
114 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
116         * sysdeps/unix/sysv/linux/tile/kernel-features.h
117         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
119 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
121         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
123 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
125         [BZ #20240]
126         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
127         (CFLAGS-s_modf-ppc32.c): New variable.
128         (CFLAGS-s_modff-ppc32.c): Likewise.
129         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
130         (CFLAGS-s_modf-ppc64.c): Likewise.
131         (CFLAGS-s_modff-ppc64.c): Likewise.
133 2016-07-07  Andreas Schwab  <schwab@suse.de>
135         [BZ #20263]
136         * nptl/tst-robust10.c: New test.
137         * nptl/Makefile (tests): Add tst-robust10.
139 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
141         [BZ #20263]
142         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
144 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
146         * sysdeps/s390/linkmap.h (struct link_map_machine):
147         Remove member gotplt and add member jmprel.
148         * sysdeps/s390/s390-32/dl-machine.h
149         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
150         instead of gotplt with &got[3].
151         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
152         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
154 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
156         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
158 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
160         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
161         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
162         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
163         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
164         * libio/vtables.c (_IO_vtable_check)
165         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
166         * libio/libioP.h (IO_set_accept_foreign_vtables)
167         [!PTR_MANGLE]: Do not call PTR_MANGLE.
169 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
171         [BZ #20314]
172         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
173         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
174         $(common-objpfx)cmath.
175         ($(common-objpfx)cstdlib): New target.
176         ($(common-objpfx)cmath): Likewise.
178 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
180         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
182 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
184         [BZ #20327]
185         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
186         are not part of the string.
188 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
190         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
191         * nptl/tst-cancel4-common.h (fifoname): New variable.
192         (fifofd): Likewise.
193         (cl_fifo): New function.
194         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
195         SIGINT.
196         (tf_open): Add early cancel test.
198 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
200         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
202 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
204         * sysdeps/generic/ldsodefs.h
205         (dl_symbol_visibility_binds_local_p): New inline function.
206         * elf/dl-addr.c (determine_info): Treat hidden and internal
207         symbols as local.
208         * elf/dl-lookup.c (do_lookup_x): Likewise.
209         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
211 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
213         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
214         invalid exception for a sNaN input.
215         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
216         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
217         (__nearbyint_vis3): Likewise
218         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
219         (__nearbyintf_vis3): Likewise
220         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
221         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
222         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
223         Likewise.
224         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
225         Likewise.
227 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
229         [BZ #20139]
230         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
231         (HAVE_AVX512DQ_ASM_SUPPORT): This.
232         * sysdeps/x86_64/configure.ac: Require assembler from binutils
233         2.24 or above.
234         (HAVE_AVX512_ASM_SUPPORT): Removed.
235         (HAVE_AVX512DQ_ASM_SUPPORT): New.
236         * sysdeps/x86_64/configure: Regenerated.
237         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
238         check unconditional.
239         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
240         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
241         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
242         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
243         Likewise.
244         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
245         Likewise.
246         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
247         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
248         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
249         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
250         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
251         Likewise.
252         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
253         Likewise.
254         * sysdeps/x86_64/multiarch/memset.S: Likewise.
255         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
256         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
257         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
258         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
259         Likewise.
260         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
261         Likewise.
262         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
263         Likewise.
264         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
265         Likewise.
266         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
267         Likewise.
268         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
269         Likewise.
270         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
271         Likewise.
272         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
273         Likewise.
274         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
275         Likewise.
276         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
277         Likewise.
278         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
279         Likewise.
281 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
283         [BZ #20024]
284         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
285         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
286         of this implementation of vector function.
287         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
288         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
289         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
290         Likewise.
291         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
292         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
293         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
294         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
295         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
296         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
297         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
298         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
299         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
300         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
301         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
302         for testing vector sincos with fixed ABI.
303         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
304         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
305         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
306         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
307         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
308         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
309         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
310         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
311         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
312         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
313         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
314         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
315         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
316         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
317         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
318         * sysdeps/x86_64/fpu/Makefile: Added new tests.
320 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
322         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
324 2016-06-30  Anton Blanchard  <anton@samba.org>
326         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
327         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
328         s_sinf-ppc64.
329         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
330         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
331         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
332         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
334 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
336         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
337         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
338         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
339         e_expf-ppc64.
340         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
341         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
342         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
343         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
345 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
347         [BZ #20277]
348         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
349         when SHARED is defined.
351 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
353         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
354         (index_arch_Prefer_ERMS): Likewise.
355         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
356         __memcpy_erms for Prefer_ERMS.
357         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
358         (__memmove_erms): Enabled for libc.a.
359         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
360         __memmove_erms or Prefer_ERMS.
361         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
362         __mempcpy_erms for Prefer_ERMS.
363         * sysdeps/x86_64/multiarch/memset.S (memset): Return
364         __memset_erms for Prefer_ERMS.
366 2016-06-30  Andreas Schwab  <schwab@suse.de>
368         [BZ #20262]
369         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
370         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
371         of memory.
373 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
375         [BZ #18645]
376         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
377         (test-extras): Add tst-cleanupx4aux.
378         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
379         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
380         tst-cleanupx4aux.o.
381         * nptl/tst-cleanupx4aux.c: New file.
383 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
385         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
387 2016-06-29  Andreas Schwab  <schwab@suse.de>
389         [BZ #20260]
390         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
391         address before the beginning of the string as an integer to avoid
392         array-bounds warning.
394 2016-06-28  Richard Henderson  <rth@redhat.com>
396         * elf/elf.h (EM_BPF): New.
397         (EM_NUM): Update.
398         (R_BPF_NONE, R_BPF_MAP_FD): New.
400         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
401         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
402         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
403         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
404         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
405         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
406         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
407         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
408         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
409         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
410         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
411         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
412         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
413         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
414         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
415         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
416         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
417         (EM_NUM): Update.
419 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
421         [BZ #18960]
422         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
423         Set _nl_current_LC_CATEGORY_used to two instead of one.
425 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
427         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
428         (do_test): ... this.
429         (TEST_FUNCTION): New macro.
430          Include test-skeleton.c.
431         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
432         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
434 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
436         [BZ #15479]
437         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
438         floating-point environment rather than just control word.
439         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
440         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
441         floating-point environment, with "invalid" exceptions merged in,
442         rather than just control word.
443         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
444         * math/libm-test.inc (trunc_test_data): Do not allow spurious
445         "inexact" exceptions.
447         [BZ #15479]
448         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
449         floating-point environment rather than just control word.
450         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
451         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
452         floating-point environment, with "invalid" exceptions merged in,
453         rather than just control word.
454         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
455         * math/libm-test.inc (floor_test_data): Do not allow spurious
456         "inexact" exceptions.
458         [BZ #15479]
459         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
460         floating-point environment rather than just control word.
461         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
462         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
463         floating-point environment, with "invalid" exceptions merged in,
464         rather than just control word.
465         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
466         * math/libm-test.inc (ceil_test_data): Do not allow spurious
467         "inexact" exceptions.
469 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
471         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
472         __libc_vfork.
473         (__vfork) [IS_IN (libc)]: Remove alias.
474         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
475         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
476         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
478 2016-06-24  Torvald Riegel  <triegel@redhat.com>
480         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
481         of atomic_compare_and_exchange_bool_rel.
482         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
483         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
484         catomic_compare_and_exchange_bool_rel): Remove.
485         * sysdeps/aarch64/atomic-machine.h
486         (atomic_compare_and_exchange_bool_rel): Likewise.
487         * sysdeps/alpha/atomic-machine.h
488         (atomic_compare_and_exchange_bool_rel): Likewise.
489         * sysdeps/arm/atomic-machine.h
490         (atomic_compare_and_exchange_bool_rel): Likewise.
491         * sysdeps/mips/atomic-machine.h
492         (atomic_compare_and_exchange_bool_rel): Likewise.
493         * sysdeps/microblaze/atomic-machine.h
494         ( __arch_compare_and_exchange_bool_8_rel,
495         __arch_compare_and_exchange_bool_16_rel): Likewise.
496         * sysdeps/powerpc/atomic-machine.h
497         ( __arch_compare_and_exchange_bool_8_rel,
498         __arch_compare_and_exchange_bool_16_rel): Likewise.
499         * sysdeps/powerpc/powerpc32/atomic-machine.h
500         ( __arch_compare_and_exchange_bool_32_rel,
501         __arch_compare_and_exchange_bool_64_rel): Likewise.
502         * sysdeps/powerpc/powerpc64/atomic-machine.h
503         ( __arch_compare_and_exchange_bool_32_rel,
504         __arch_compare_and_exchange_bool_64_rel): Likewise.
505         * sysdeps/tile/atomic-machine.h
506         (atomic_compare_and_exchange_bool_rel): Likewise.
508 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
510         [BZ #20296]
511         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
512         when either argument is a NaN.
513         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
514         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
516         * math/libm-test.inc (snan_value_ld): New macro.
517         (isgreater_test_data): Add sNaN tests.
518         (isgreaterequal_test_data): Likewise.
519         (isless_test_data): Likewise.
520         (islessequal_test_data): Likewise.
521         (islessgreater_test_data): Likewise.
522         (isunordered_test_data): Likewise.
523         (nextafter_test_data): Likewise.
524         (nexttoward_test_data): Likewise.
525         (remainder_test_data): Likewise.
526         (remquo_test_data): Likewise.
527         (significand_test_data): Likewise.
528         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
530 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
532         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
533         environment macros are defined.
534         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
536 2016-06-23  Florian Weimer  <fweimer@redhat.com>
538         [BZ #20191]
539         Implement vtable verification in libio.
540         * Makerules (shlib.lds): Place __libc_IO_vtables section.
541         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
542         * debug/vdprintf_chk.c (__vdprintf_chk): Call
543         _IO_new_file_init_internal instead of _IO_file_init.
544         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
545         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
546         * libio/Makefile (routines): Add vtables.
547         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
548         (_IO_init): Remove, not for internal use.
549         (_IO_init_internal): Declare, internal replacement for _IO_init.
550         (_IO_file_init): Remove, not for internal use.
551         (_IO_new_file_init): Remove, not for internal use.
552         (_IO_new_file_init_internal): Declare, internal replacement for
553         _IO_new_file_init.
554         (_IO_old_file_init): Remove, not for internal use.
555         (_IO_old_file_init_internal): Declare, internal replacement for
556         _IO_old_file_init.
557         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
558         internal use.
559         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
560         Declare.
561         (libio_vtable): New macro.
562         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
563         functions.
564         * libio/fileops.c (_IO_new_file_init_internal): Rename from
565         _IO_new_file_init.
566         (_IO_new_file_init): New externally visible wrapper which disables
567         vtable verification.
568         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
569         Define as vtables.
570         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
571         (_IO_init): New externally visible wrapper which disables
572         vtable verification.
573         * libio/iofdopen.c (_IO_new_fdopen): Call
574         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
575         comment.
576         * libio/iofopen.c (__fopen_internal): Call
577         _IO_new_file_init_internal instead of _IO_file_init.
578         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
579         Define as vtables.
580         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
581         _IO_new_file_init_internal instead of _IO_file_init.
582         * libio/iopopen.c (_IO_new_popen): Likewise.
583         (_IO_proc_jumps): Define as vtable.
584         * libio/iovdprintf.c (_IO_vdprintf): Call
585         _IO_new_file_init_internal instead of _IO_file_init.
586         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
587         (__open_memstream): Call _IO_init_internal instead of _IO_init.
588         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
589         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
590         _IO_old_file_init.
591         (_IO_old_file_init): New externally visible wrapper which disables
592         vtable verification.
593         (_IO_old_file_jumps): Define as vtable.
594         * libio/oldiofdopen.c (_IO_old_fdopen): Call
595         _IO_old_file_init_internal instead of _IO_old_file_init.
596         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
597         * libio/oldiopopen.c (_IO_old_popen): Likewise.
598         (_IO_old_proc_jumps): Define as vtable.
599         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
600         Define as vtables.
601         * libio/vtables.c: New file.
602         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
603         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
604         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
605         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
606         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
607         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
608         instead of _IO_init.
610 2016-06-23  Florian Weimer  <fweimer@redhat.com>
612         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
614 2016-06-23  Florian Weimer  <fweimer@redhat.com>
616         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
617         potentially unused.
619 2016-06-22  Florian Weimer  <fweimer@redhat.com>
621         * test-skeleton.c (write_message): New function.
622         * malloc/tst-mallocfork2.c (write_message): Remove.
623         * debug/tst-longjmp_chk2.c (write_indented): New function.
624         (write_message): Remove.
625         (stackoverflow_handler): Call write_indented.
627 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
629         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
630         "inexact" exceptions after fnstenv.
631         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
632         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
633         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
635 2015-06-22  Zack Weinberg  <zackw@panix.com>
637         * sysdeps/generic/bits/hwcap.h: Moved to ...
638         * bits/hwcap.h: Here.
640 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
642         * sysdeps/aarch64/memcpy.S (memcpy):
643         Further tuning for performance.
645 2016-06-21  Florian Weimer  <fweimer@redhat.com>
647         [BZ #20284]
648         * malloc/arena.c (reused_arena): Do not return NULL if we start
649         out with a non-corrupted arena.
651 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
653         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
654         * misc/tst-preadvwritev.c: New file.
655         * misc/tst-preadvwritev64.c: Likewise.
656         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
657         usage.
658         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
659         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
660         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
661         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
663 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
665         [BZ #19654]
666         * sysdeps/x86_64/fpu/Makefile: Added new tests.
667         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
668         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
669         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
670         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
671         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
672         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
673         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
674         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
675         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
676         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
677         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
678         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
679         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
680         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
681         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
682         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
683         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
684         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
685         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
686         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
687         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
688         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
689         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
690         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
691         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
693 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
695         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
696         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
698 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
700         * sysdeps/aarch64/memcpy.S (memcpy):
701         Rewrite of optimized memcpy and memmove.
702         * sysdeps/aarch64/memmove.S (memmove): Remove
703         memmove code (merged into memcpy.S).
705 2016-06-20  Florian Weimer  <fweimer@redhat.com>
707         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
708         * sysdeps/generic/dl-dtv.h: New file.
709         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
710         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
711         (dtv_t): Remove.
712         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
713         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
714         (dtv_t): Remove.
715         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
716         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
717         (dtv_t): Remove.
718         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
719         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
720         (dtv_t): Remove.
721         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
722         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
723         (dtv_t): Remove.
724         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
725         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
726         (dtv_t): Remove.
727         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
728         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
729         (dtv_t): Remove.
730         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
731         (dtv_t): Remove.
732         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
733         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
734         (dtv_t): Remove.
735         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
736         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
737         (dtv_t): Remove.
738         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
739         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
740         (dtv_t): Remove.
741         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
742         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
743         (dtv_t): Remove.
744         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
745         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
746         (dtv_t): Remove.
747         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
748         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
749         (dtv_t): Remove.
750         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
751         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
752         (dtv_t): Remove.
753         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
754         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
755         (dtv_t): Remove.
757 2016-06-20  Florian Weimer  <fweimer@redhat.com>
759         Revert symbol poisoning of  __malloc_initialize_hook.
760         * include/stdc-predef.h (__malloc_initialize_hook): Remove
761         poisoning.
762         * malloc/Makefile: Remove un-poisoning.
763         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
764         instead of old__malloc_initialize_hook.
765         * malloc/malloc-hooks.h: Likewise.
766         * malloc/malloc.c: Likewise.
767         * malloc/mcheck-init.c: Likewise.
769 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
771         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
773 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
775         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
776         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
777         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
778         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
780 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
782         * NEWS: Mention addition of nextup and nextdown.
783         * manual/arith.texi: Document nextup and nextdown.
784         * manual/libm-err-tab.pl: Add nextup and nextdown.
785         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
786         * math/Versions (libm): Add GLIBC_2.24.
787         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
788         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
789         Add new test.
790         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
791         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
792         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
793         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
794         (nextup_test_data): Likewise.
795         (nextdown_test_data): Likewise.
796         * math/s_nextdown.c: New file.
797         * math/s_nextdownf.c: Likewise.
798         * math/s_nextdownl.c: Likewise.
799         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
800         F(nextup): New function.
801         F(nextdown): Likewise.
802         * math/tgmath.h: Add nextup and nextdown.
803         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
804         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
805         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
806         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
807         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
808         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
809         Add nextup and nextdown.
810         (CFLAGS-nldbl-nextup.c): New variable.
811         (CFLAGS-nldbl-nextdown.c): Likewise.
812         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
813         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
814         * sysdeps/nacl/libm.abilist: Update.
815         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
816         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
817         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
818         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
819         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
820         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
821         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
822         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
823         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
824         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
825         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
826         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
828         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
829         Likewise.
830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
832         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
833         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
834         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
835         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
836         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
837         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
838         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
839         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
840         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
841         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
842         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
844 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
846         * manual/pattern.texi: Fix typos & grammar errors.
848 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
850         * manual/search.texi: Fix typos & grammar errors.
852 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
854         * manual/message.texi: Fix typos & grammar errors.
856 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
858         * manual/contrib.texi: Fix spelling typos.
859         * manual/crypt.texi: Likewise.
860         * manual/filesys.texi: Likewise.
861         * manual/locale.texi: Likewise.
862         * manual/message.texi: Likewise.
863         * manual/nss.texi: Likewise.
864         * manual/string.texi: Likewise.
866 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
868         * manual/locale.texi: Fix typos & grammar errors.
870 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
872         * manual/charset.texi: Fix typos & grammar errors.
874 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
876         * manual/string.texi: Fix typos.
878 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
880         * manual/ctype.texi: Fix typos.
882 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
884         * manual/memory.texi: Fix various typos & grammar errors.
886 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
888         [BZ #20255]
889         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
890         * math/libm-test.inc (fdim_test_data): Add another test.
892         [BZ #6796]
893         [BZ #20255]
894         [BZ #20256]
895         * math/s_fdim.c: Include <math_private.h>.
896         (__fdim): Use math_narrow_eval on result.
897         * math/s_fdimf.c: Include <math_private.h>.
898         (__fdimf): Use math_narrow_eval on result.
899         * sysdeps/i386/fpu/s_fdim.S: Remove file.
900         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
901         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
902         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
903         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
904         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
905         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
906         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
907         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
908         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
909         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
910         * math/libm-test.inc (fdim_test_data): Expect errno setting on
911         overflow.  Add sNaN tests.
913         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
914         fpclassify.
915         * math/s_fdimf.c (__fdimf): Likewise.
916         * math/s_fdiml.c (__fdiml): Likewise.
918 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
920         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
921         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
922         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
923         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
924         ifunc'ed strcasecmp/strncasecmp.
925         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
926         [EALIGN]: Removed.
927         [END]: Likewise.
928         [__strcasecmp]: Define instead of the above to control symbol name.
929         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
930         for __strcasecmp_power8.
931         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
932         for __strncasecmp_power8.
933         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
934         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
935         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
936         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
937         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
938         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
940 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
942         [BZ #20252]
943         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
944         arguments when second argument is a NaN.
945         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
946         qNaN tests.
948         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
949         (conj_test_data): Likewise.
950         (copysign_test_data): Likewise.
951         (creal_test_data): Likewise.
952         (fma_test_data): Likewise.
953         (fmod_test_data): Likewise.
955         [BZ #20250]
956         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
957         itself.
958         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
959         zero input to itself.
960         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
961         Likewise.
962         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
963         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
964         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
965         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
966         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
968 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
970         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
971         * nptl/tst-cancel4-common.c: New file.
972         * nptl/tst-cancel4-common.h: Likewise.
973         * nptl/tst-cancel4.c: Move common definitions to
974         tst-cancel4-common.{c,h} file.
975         * nptl/tst-cancel4_1.c: New test.
976         * nptl/tst-cancel4_2.c: New test.
978 2016-06-13  Florian Weimer  <fweimer@redhat.com>
980         [BZ #20248]
981         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
982         (write_message): New function.
983         (stackoverflow_handler): Call it instead of printf, to avoid
984         excessive stack usage by printf.
985         (do_test): Restore SIGSEGV, SIGBUS default handlers.
987 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
989         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
990         (prio_inherit_missing): Remove define.
991         * sysdeps/unix/sysv/linux/arm/kernel-features.h
992         (__ASSUME_FUTEX_LOCK_PI): Likewise.
993         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
994         Likewise.
995         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
996         (__ASSUME_FUTEX_LOCK_PI): Likewise.
997         * sysdeps/unix/sysv/linux/mips/kernel-features.h
998         (__ASSUME_FUTEX_LOCK_PI): Likewise.
999         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
1000         (__ASSUME_FUTEX_LOCK_PI): Likewise.
1002 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
1004         [BZ #19670]
1005         [BZ #19672]
1007         * io/test-lfs.c (do_prepare): Use xmalloc.
1008         * io/tst-fcntl.c (do_prepare): Likewise.
1009         * libio/tst-fopenloc.c (do_bz17916): Likewise.
1010         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
1011         * login/tst-utmp.c (do_prepare): Likewise.
1012         * posix/tst-exec.c (do_prepare): Likewise.
1013         * posix/tst-pathconf.c (prepare): Likewise.
1014         * posix/tst-spawn.c (do_prepare): Likewise.
1015         * posix/tst-truncate.c (do_prepare): Likewise.
1016         * rt/tst-aio.c (do_prepare): Likewise.
1017         * rt/tst-aio64.c (do_prepare): Likewise.
1019 2016-06-11  Florian Weimer  <fweimer@redhat.com>
1021         [BZ #20237]
1022         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
1023         (get*ent): Set entidx to NULL during initialization.  If entidx is
1024         NULL, start iteration from the beginning.
1026 2016-06-11  Florian Weimer  <fweimer@redhat.com>
1028         * malloc/malloc.c (musable): Return correct size for dumped fake
1029         mmapped chunk.
1031 2016-06-11  Florian Weimer  <fweimer@redhat.com>
1033         [BZ #20222]
1034         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
1035         (_IO_cookie_write): Likewise.
1036         (_IO_cookie_seek): Likewise.
1037         (_IO_cookie_close): Likewise.
1038         (_IO_old_cookie_seek): Likewise.
1039         (set_callbacks): New function.
1040         (_IO_cookie_init): Call set_callbacks to copy callbacks.
1042 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
1044         * locale/programs/localedef.c (oldstyle_tables): Remove.
1045         * locale/programs/localedef.h (oldstyle_tables): Likewise.
1047 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
1049         [BZ #20240]
1050         * math/Makefile (CFLAGS-s_modf.c): New variable.
1051         (CFLAGS-s_modff.c): Likewise.
1052         (CFLAGS-s_modfl.c): Likewise.
1053         * math/libm-test.inc (modf_test_data): Add sNaN tests.
1055 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
1057         [BZ #20215]
1058         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
1059         [!__GNUC_PREREQ (3,2)]: Likewise.
1061 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
1063         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
1064         (msghdr.msg_controllen): Likewise.
1065         (cmsghdr.cmsg_len): Likewise.
1066         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
1067         ptw-oldsendmsg.
1068         (CFLAGS-oldrecvmsg.c): Remove rule.
1069         (CFLAGS-oldsendmsg.c): Likewise.
1070         (CFLAGS-recvmsg.c): Add rule.
1071         (CFLAGS-sendmsg.c): Likewise.
1072         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
1073         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
1074         (CFLAGS-recvmsg.c): Remove rule.
1075         (CFLAGS-sendmsg.c): Likewise.
1076         (CFLAGS-oldrecvmsg.c): Likewise.
1077         (CFLAGS-oldsendmsg.c): Likewise.
1078         (CFLAGS-recvmmsg.c): Likewise.
1079         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
1080         to kernel defined interfaces.
1081         (msghdr.msg_controllen): Likewise.
1082         (cmsghdr.cmsg_len): Likewise.
1083         (msghdr.__glibc_reserved1): Remove member.
1084         (msghdr.__glibc_reserved2): Likewise.
1085         (cmsghdr.__glibc_reserved1): Likewise.
1086         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
1087         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
1088         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
1089         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
1090         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
1091         version.
1092         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
1093         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
1094         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
1095         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
1096         Remove recvmsg and sendmsg.
1097         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
1098         Likewise.
1099         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
1100         Likewise.
1101         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
1102         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
1103         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
1104         Likewise.
1105         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
1106         Likewise.
1107         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
1108         [libc] (GLIBC_2.24): Likewise.
1109         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
1110         Likewise.
1111         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
1112         Likewise.
1113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
1114         [libc] (GLIBC_2.24): Likewise.
1115         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
1116         Likewise.
1117         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
1118         Likewise.
1119         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
1120         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
1121         Likewise.
1122         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
1123         Likewise.
1124         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
1125         Likewise.
1126         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
1127         Likewise.
1128         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
1129         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
1130         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
1131         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
1132         version for {recv,send,recm,sendm}msg.
1133         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1134         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
1135         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
1136         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
1137         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1138         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
1139         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
1140         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
1141         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
1142         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
1143         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
1144         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1146         Likewise.
1147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1148         Likewise.
1149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
1150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
1151         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1152         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1153         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
1154         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
1155         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1156         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1157         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
1158         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
1159         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
1160         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1161         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1163 2016-06-10  Florian Weimer  <fweimer@redhat.com>
1165         [BZ #19564]
1166         Remove __malloc_initialize_hook from the API.
1167         * malloc/malloc.h (__malloc_initialize_hook): Remove.
1168         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
1169         #pragma GCC poison.
1170         * malloc/malloc-hooks.h: New file.
1171         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
1172         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
1173         (old__malloc_initialize_hook): Rename from
1174         __malloc_initialize_hook to evade poisoning.  Turn into compat
1175         symbol.
1176         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
1177         __malloc_initialize_hook.
1178         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
1179         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
1180         * manual/memory.texi (Hooks for Malloc): Remove
1181         __malloc_initialize_hook.  Adjust hook example.
1183 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
1185         [BZ #20235]
1186         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
1187         itself.
1188         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
1189         * math/libm-test.inc (log2_test_data): Add sNaN tests.
1191         [BZ #20234]
1192         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
1193         infinity or NaN input to itself.
1195         [BZ #20233]
1196         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
1197         to itself.
1199         [BZ #20232]
1200         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
1201         itself.
1203 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
1205         * sysdeps/x86_64/start.S (_start): Always indirect branch to
1206         __libc_start_main via GOT.
1208 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
1210         * sysdeps/x86_64/memcopy.h: New file.
1211         * sysdeps/x86_64/wordcopy.c: Likewise.
1213 2016-06-09  Florian Weimer  <fweimer@redhat.com>
1215         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
1216         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
1217         <cstdlib>.
1218         (optimization_barrier): New.
1219         (do_test): Use it.  Call quick_exit in the global namespace.
1220         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
1221         instead of <cstdlib>, <thread>.
1222         (optimization_barrier): New.
1223         (non_main_thread): Adjust declaration.  Call optimization_barrier.
1224         Call quick_exit in the global namespace.
1225         (do_test): Call optimization_barrier.  Use pthread_create,
1226         pthread_join instead of std::thread.
1228 2016-06-09  Andreas Schwab  <schwab@suse.de>
1230         [BZ #19755]
1231         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
1232         new entries in auto-propagate mode.
1233         * nscd/grpcache.c (cache_addgr): Likewise.
1235 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
1237         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
1238         New functions.
1239         (add_temp_file): Use them.
1241 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
1243         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
1245 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
1247         [BZ #20229]
1248         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
1249         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
1250         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
1252         [BZ #20228]
1253         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
1254         itself.
1255         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
1256         * math/libm-test.inc (log10_test_data): Add sNaN tests.
1258         [BZ #20227]
1259         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
1260         itself.
1261         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
1262         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
1263         * math/libm-test.inc (log_test_data): Add sNaN tests.
1265         [BZ #20226]
1266         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
1267         itself.
1268         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
1269         * math/libm-test.inc (exp_test_data): Add sNaN tests.
1270         (exp10_test_data): Likewise.
1271         (expm1_test_data): Likewise.
1273         [BZ #20225]
1274         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
1275         itself.
1276         * math/s_ldexpf.c (__ldexpf): Likewise.
1277         * math/s_ldexpl.c (__ldexpl): Likewise.
1278         * math/w_scalbln.c (__w_scalbln): Likewise.
1279         * math/w_scalblnf.c (__w_scalblnf): Likewise.
1280         * math/w_scalblnl.c (__w_scalblnl): Likewise.
1281         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
1282         (scalbln_test_data): Likewise.
1284         [BZ #20224]
1285         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
1286         argument to itself.
1287         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
1289 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
1291         [BZ #19776]
1292         * sysdeps/x86_64/memcpy.S: Make it dummy.
1293         * sysdeps/x86_64/mempcpy.S: Likewise.
1294         * sysdeps/x86_64/memmove.S: New file.
1295         * sysdeps/x86_64/memmove_chk.S: Likewise.
1296         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
1297         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
1298         * sysdeps/x86_64/memmove.c: Removed.
1299         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
1300         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
1301         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
1302         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
1303         Likewise.
1304         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
1305         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
1306         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
1307         memcpy-sse2-unaligned, memmove-avx-unaligned,
1308         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
1309         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1310         (__libc_ifunc_impl_list): Replace
1311         __memmove_chk_avx512_unaligned_2 with
1312         __memmove_chk_avx512_unaligned.  Remove
1313         __memmove_chk_avx_unaligned_2.  Replace
1314         __memmove_chk_sse2_unaligned_2 with
1315         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
1316         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
1317         with __memmove_avx512_unaligned.  Replace
1318         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
1319         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
1320         with __memcpy_chk_avx512_unaligned.  Remove
1321         __memcpy_chk_avx_unaligned_2.  Replace
1322         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
1323         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
1324         Replace __memcpy_avx512_unaligned_2 with
1325         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
1326         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
1327         with __mempcpy_chk_avx512_unaligned.  Remove
1328         __mempcpy_chk_avx_unaligned_2.  Replace
1329         __mempcpy_chk_sse2_unaligned_2 with
1330         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
1331         Replace __mempcpy_avx512_unaligned_2 with
1332         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
1333         Replace __mempcpy_sse2_unaligned_2 with
1334         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
1335         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
1336         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
1337         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
1338         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
1339         (ENTRY): Removed.
1340         (END): Likewise.
1341         (ENTRY_CHK): Likewise.
1342         (libc_hidden_builtin_def): Likewise.
1343         Don't include ../memcpy.S.
1344         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
1345         __memcpy_chk_avx512_unaligned_erms and
1346         __memcpy_chk_avx512_unaligned.  Use
1347         __memcpy_chk_avx_unaligned_erms and
1348         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
1349         Default to __memcpy_chk_sse2_unaligned.
1350         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
1351         Change function suffix from unaligned_2 to unaligned.
1352         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
1353         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
1354         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
1355         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
1356         (ENTRY): Removed.
1357         (END): Likewise.
1358         (ENTRY_CHK): Likewise.
1359         (libc_hidden_builtin_def): Likewise.
1360         Don't include ../mempcpy.S.
1361         (mempcpy): New.  Add a weak alias.
1362         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
1363         __mempcpy_chk_avx512_unaligned_erms and
1364         __mempcpy_chk_avx512_unaligned.  Use
1365         __mempcpy_chk_avx_unaligned_erms and
1366         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
1367         Default to __mempcpy_chk_sse2_unaligned.
1369 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
1371         [BZ #19881]
1372         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
1373         into ...
1374         * sysdeps/x86_64/memset.S: This.
1375         (__bzero): Removed.
1376         (__memset_tail): Likewise.
1377         (__memset_chk): Likewise.
1378         (memset): Likewise.
1379         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
1380         defined.
1381         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
1382         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
1383         (__memset_zero_constant_len_parameter): Check SHARED instead of
1384         PIC.
1385         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
1386         memset-avx2 and memset-sse2-unaligned-erms.
1387         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1388         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
1389         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
1390         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
1391         (__bzero): Enabled.
1392         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
1393         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
1394         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
1395         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
1396         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
1397         (memset): Removed.
1398         (__memset_chk): Likewise.
1399         (MEMSET_SYMBOL): New.
1400         (libc_hidden_builtin_def): Replace __memset_sse2 with
1401         __memset_sse2_unaligned.
1402         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
1403         __memset_chk_sse2 and __memset_chk_avx2 with
1404         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
1405         Use __memset_chk_sse2_unaligned_erms or
1406         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
1407         __memset_chk_avx512_unaligned_erms and
1408         __memset_chk_avx512_unaligned.
1410 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1412         * math/gen-auto-libm-test.c (fp_format_desc): remove
1413         suffix member.
1414         (output_generic_value): Remove usage of suffix member,
1415         and the resulting unuse of the fp_format argument.
1416         (output_for_one_input_case): Remove unused fp_format
1417         parameter.
1419         * math/auto-libm-test-out: Regenerate.
1421         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
1422         usage with TEST_COND_ibm128.
1423         (TEST_COND_flt_32): Remove.
1424         (TEST_COND_dbl_64): Remove.
1425         (TEST_COND_ldbl_96_intel): Remove.
1426         (TEST_COND_ldbl_96_m68k): Remove.
1427         (TEST_COND_ldbl_128): Remove.
1429 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1431         * auto-libm-test-in:
1432         Replace flt-32 usage with binary32.
1433         Replace dbl-64 usage with binary64.
1434         Replace ldbl-intel-96 usage with intel96.
1435         Replace ldbl-m68k-96 usage with m68k96.
1436         Replace ldbl-128ibm usage with ibm128.
1437         Replace ldbl-128 usage with binary128.
1439         * auto-libm-test-out: Regenerate.
1441 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1443         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
1444         (parse_ulps): Dynamically generate type name matching
1445         string from all_floats.
1446         (get_ulps): Generate the ulps as an array instead.
1447         (output_ulps): Dynamically compose the type based
1448         on the number of supported formats, and print
1449         the indices as type specific helper macros.
1451         * math/libm-test.inc: Remove comment about CHOOSE.
1452         (ulp_data): Generate the type in libm-test-ulps.h.
1453         (ULP_IDX): New macro.
1454         (find_ulps): Update usage of max_ulp.
1456         * math/test-double-vlen2.h (CHOOSE): Remove.
1457         * math/test-double-vlen4.h (CHOOSE): Likewise.
1458         * math/test-double-vlen8.h (CHOOSE): Likewise.
1459         * math/test-float.c (CHOOSE): Likewise.
1460         * math/test-float-finite.c (CHOOSE): Likewise.
1461         * math/test-double.c (CHOOSE): Likewise.
1462         * math/test-double-finite.c (CHOOSE): Likewise.
1463         * math/test-idouble.c (CHOOSE): Likewise.
1464         * math/test-ifloat.c (CHOOSE): Likewise.
1465         * math/test-ildoubl.c (CHOOSE): Likewise.
1466         * math/test-ldouble-finite.c (CHOOSE): Likewise.
1467         * math/test-ldouble.c (CHOOSE): Likewise.
1469         * math/test-float.h (TEST_FLOAT): Remove.
1470         * math/test-double.h (TEST_DOUBLE): Likewise.
1471         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
1473 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1475         * math/gen-libm-test.pl: (apply_lit): New subroutine.
1476         (parse_args): Strip C suffix from floating point literals
1477         typed with 'f' and wrap them with LIT().
1479         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
1480         (test_ff_f_data_nexttoward): Rename to
1481         (test_fj_f_data): New struct.
1482         (nexttoward_test_data): Relabel tests as
1483         TEST_fj_f instead of TEST_ff_f.
1485 2016-06-08  Florian Weimer  <fweimer@redhat.com>
1487         Emacs bug 23726.
1488         * malloc/malloc.c (dumped_main_arena_start): Update comment.
1489         (__libc_realloc): Correct size computation for dumped fake mmapped
1490         chunks.
1492 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
1494         [BZ #20219]
1495         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
1496         to itself.
1497         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
1499         [BZ #20218]
1500         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
1501         to itself.
1502         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
1504 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
1506         [BZ #20195]
1507         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
1508         check to ...
1509         (init_cpu_features): Here.
1511 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
1513         [BZ #20214]
1514         * sysdeps/unix/sysv/linux/bits/in.h
1515         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
1516          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
1517         Define to 1.
1518         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
1519          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
1520         Define to 0.
1521         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
1522         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
1524 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
1526         [BZ #20198]
1527         * stdlib/Makefile (tests): Add tst-quick_exit, and
1528         tst-thread-quick_exit.
1529         [ifeq ($(have-cxx-thread_local),yes)]
1530         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
1531         (CFLAGS-tst-thread-quick_exit.o): Likewise.
1532         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
1533         (LDLIBS-tst-thread-quick_exit): Likewise.
1534         [ifneq ($(have-cxx-thread_local),yes)]
1535         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
1536         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
1537         If run_dtors is true call __call_tls_dtors.
1538         (exit): Call __run_exit_handlers with run_dtors set to true.
1539         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
1540         definition.
1541         * stdlib/quick_exit.c (quick_exit): Remove function.
1542         (__new_quick_exit): New function.
1543         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
1544         function.
1545         * stdlib/tst-quick_exit.cc: New file.
1546         * stdlib/tst-thread-quick_exit.cc: New file.
1547         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
1548         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
1549         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
1550         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
1551         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
1552         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
1553         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
1554         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
1555         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
1556         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
1557         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
1558         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
1559         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
1560         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
1561         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
1562         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
1563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
1564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
1565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
1566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
1567         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
1568         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
1569         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
1570         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
1571         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
1572         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
1573         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
1574         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
1575         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
1576         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
1578 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
1580         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
1581         a typo in comments.
1583 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
1585         [BZ #20213]
1586         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
1587         argument to itself.
1588         * math/libm-test.inc (asin_test_data): Add sNaN tests.
1590 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1592         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
1593         required flags.
1594         (CFLAGS-pwritev64.c): Likewise.
1595         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
1596         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
1597         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
1598         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
1599         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
1600         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
1601         syscall from auto-generation.
1602         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
1603         [WORDSIZE == 64] (pwritev64): Remove macro.
1604         [!PWRITEV] (PWRITEV): Likewise.
1605         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
1606         [!PWRITEV] (PWRITE): Likewise.
1607         [!PWRITEV] (OFF_T): Likewise.
1608         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
1609         (LO_HI_LONG): Remove macro.
1610         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
1611         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
1612         (PWRITEV): Remove macro.
1613         (PWRITEV_REPLACEMENTE): Likewise.
1614         (PWRITE): Likewise.
1615         (OFF_T): Likewise.
1616         (pwritev64): New function.
1617         * nptl/tst-cancel4.c (tf_writev): Add test.
1619         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
1620         required flags.
1621         (CFLAGS-preadv64.c): Likewise.
1622         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
1623         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
1624         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
1625         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
1626         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
1627         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
1628         syscall from auto-generation.
1629         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
1630         [WORDSIZE == 64] (preadv64): Remove macro.
1631         [!PREADV] (PREADV): Likewise.
1632         [!PREADV] (PREADV_REPLACEMENT): Likewise.
1633         [!PREADV] (PREAD): Likewise.
1634         [!PREADV] (OFF_T): Likewise.
1635         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
1636         (LO_HI_LONG): Remove macro.
1637         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
1638         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
1639         (PREADV): Remove macro.
1640         (PREADV_REPLACEMENTE): Likewise.
1641         (PREAD): Likewise.
1642         (OFF_T): Likewise.
1643         (preadv64): New function.
1644         * nptl/tst-cancel4.c (tf_preadv): Add test.
1646 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
1648         [BZ #20212]
1649         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
1650         argument to itself.
1651         * math/libm-test.inc (acos_test_data): Add sNaN tests.
1653 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1655         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
1656         New symbol defined as libc_hidden_def.
1657         (strcasestr): Became a weak alias to __strcasestr.
1658         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
1659         according to multi-arch support.  Move __stpncpy hidden
1660         definition from here to...
1661         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
1662         symbol stpncpy.
1663         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
1664         libc_hidden_builtin_def.
1665         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
1666         memset symbol to use when multi-arch support is available.
1668 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
1670         * dlfcn/tst-rec-dlopen.c: Include string.h.
1672 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
1674         * manual/install.texi: Remove mention of --without-tls
1675         * INSTALL: Regenerate.
1677 2016-06-05  Florian Weimer  <fweimer@redhat.com>
1679         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
1680         Remove.
1681         (call_function, interposed_malloc_called): New variables.
1682         (malloc): New function.
1683         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
1684         and clear call_function as needed.
1686 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
1688         * include/wchar.h (__wmemset): Use __typeof.
1690 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
1692         * include/wchar.h (__wmemset): Declare function without typeof.
1694 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
1696         [BZ #20205]
1697         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
1698         exponent when incrementing negative subnormal with low mantissa
1699         word zero.
1700         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
1701         Add another test.
1703 2016-06-03  Florian Weimer  <fweimer@redhat.com>
1705         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
1706         __wmemset instead of wmemset.
1708 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
1710         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
1711         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
1712         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
1713         __USE_KERNEL_IPV6_DEFS to 0.
1714         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
1715         Update comment.
1717 2016-06-01  Florian Weimer  <fweimer@redhat.com>
1719         [BZ #19861]
1720         Do not use IFUNC resolver with potentially unrelocated symbol.
1721         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
1722         (DEFINE_FORK): Remove macro and inline definition.
1723         (fork_alias): Renamed from fork_ifunc.
1724         (__fork_alias): Renamed from __fork_ifunc.
1726 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
1728         [BZ 19653]
1729         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
1730         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
1732 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1734         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
1735         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
1736         i386-linux-gnu).
1737         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
1738         Set to no.
1739         * sysdeps/mach/hurd/configure: Refresh.
1741 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1743         [BZ #20178]
1744         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
1745         on failure instead of exit.
1747 2016-05-30  Roland McGrath  <roland@hack.frob.com>
1749         [BZ #3629]
1750         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
1751         of POSIX.1-2008.
1753 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1755         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
1756           Use PLT entry for calling _hurd_self_sigstate.
1758 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
1760         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
1761         available logical processors with SMT level type sharing L2
1762         cache for Intel processors.
1764 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
1766         [BZ #20160]
1767         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
1768         argument to itself before returning the result.
1769         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
1770         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
1771         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
1772         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
1773         Likewise.
1774         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
1775         Likewise.
1776         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
1777         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
1778         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
1779         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
1780         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
1781         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
1783         [BZ #20160]
1784         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
1785         argument to itself before returning the result.
1786         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
1787         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
1788         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
1789         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
1790         Likewise.
1791         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
1792         Likewise.
1793         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
1794         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
1795         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
1796         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
1797         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
1798         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
1800 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1802         * libm-test.inc: Replace usage of M_El with
1803         (lit_e): New macro.
1805 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1807         * libm-test.inc: Replace usage of M_PI_4l with
1808         (lit_pi_4_d): New macro.
1810 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1812         * libm-test.inc: Replace usage of M_PIl with
1813         (lit_pi): New macro.
1815 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1817         * libm-test.inc: Replace usage of M_PI2l with
1818         (lit_pi_2_d): New macro.
1820         * math/test-double.h (LITM): New macro.
1821         * math/test-float.h (LITM): Likewise.
1822         * math/test-ldouble.h (LITM): Likewise.
1824 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1826         * libm-test.inc (M_PI_34l): Rename to
1827         (lit_pi_3_m_4_d): New Macro.
1828         (M_PI_34_LOG10El): Rename to
1829         (lit_pi_3_m_4_ln10_m_d): New Macro.
1830         (M_PI2_LOG10El): Rename to
1831         (lit_pi_2_ln10_m_d):  New Macro.
1832         (M_PI4_LOG10El): Rename to
1833         (lit_pi_4_ln10_m_d):  New Macro.
1834         (M_PI_LOG10El): Rename to
1835         (lit_pi_ln10_d):  New Macro.
1837 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
1839         [BZ #20157]
1840         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
1841         determine whether to negate low half if [_ARCH_PPCGR], and integer
1842         comparison otherwise.
1843         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
1844         determine whether to negate low half.
1846         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
1847         (NO_TEST_INLINE_DOUBLE): Likewise.
1848         (TEST_COND_x86_64): Likewise.
1849         (TEST_COND_x86): Likewise.
1850         (M_PI_6l): Likewise.
1852 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1854         * math/libm-test.inc:
1855         (TEST_FLOAT): Change usage to TEST_COND_binary32.
1856         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
1857         (TEST_LDOUBLE): Update usage to evaluate as true if
1858         the guarded tests match the property being tested.
1859         (LDBL_MAX_EXP): Change to MAX_EXP.
1860         (LDBL_MIN_EXP): Change to MIN_EXP.
1861         (LDBL_MANT_DIG): Change to MANT_DIG, except for
1862         nexttoward tests.
1864 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1866         * math/libm-test.inc:
1867         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
1868         (TYPE_MIN): Likewise.
1869         (TYPE_TRUE_MIN): Likewise.
1870         (TYPE_MAX): Likewise.
1871         (MIN_EXP): Likewise.
1872         (MAX_EXP): Likewise.
1873         (MANT_DIG): Likewise.
1875         (FSTR_MAX): New macro.
1876         (__CONCATX): Likewise.
1877         (QTYPE_STR): Likewise.
1878         (TEST_COND_binary32): Likewise.
1879         (TEST_COND_binary64): Likewise.
1880         (TEST_COND_binary128): Likewise.
1881         (TEST_COND_ibm128): Likewise.
1882         (TEST_COND_intel96): Likewise.
1883         (TEST_COND_m68k96): Likewise.
1885         (TEST_COND_flt_32): Redefine as equivalent format test macro.
1886         (TEST_COND_dbl_64): Likewise.
1887         (TEST_COND_ldbl_96_intel): Likewise.
1888         (TEST_COND_ldbl_96_m68k): Likewise.
1889         (TEST_COND_ldbl_128): Likewise.
1890         (TEST_COND_ldbl_128ibm): Likewise.
1892         (plus_zero): Redefine using LIT macro.
1893         (minus_zero): Likewise.
1894         (plus_infty): Redefine as (INF).
1895         (minux_infty): Redefine as (-INF).
1896         (max_value): Redefine as TYPE_MAX.
1897         (min_value): Redefine as TYPE_MIN.
1898         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
1900         (print_float): Refactor to use snprintf to convert FLOAT values
1901         to string. This brings it closer to dropin replacement of strtof
1902         for the TS 18661 defined types.
1903         (update_stats): Likewise.
1904         (print_complex_function_ulps): Likewise.
1905         (print_max_error): Likewise.
1906         (print_complex_max_error): Likewise.
1907         (check_float_internal): Likewise.
1909         * math/test-float.h (PREFIX): New macro.
1910         (LIT): Likewise.
1911         (TYPE_STR): Likewise.
1912         (FTOSTR): Likewise.
1914         * math/test-double.h (PREFIX): New macro.
1915         (LIT): Likewise.
1916         (TYPE_STR): Likewise.
1917         (FTOSTR): Likewise.
1919         * math/test-ldouble.h (PREFIX): New macro.
1920         (LIT): Likewise.
1921         (TYPE_STR): Likewise.
1922         (FTOSTR): Likewise.
1924 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
1926         [BZ #20156]
1927         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
1928         to itself when zero or not finite.
1929         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
1930         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
1931         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
1932         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
1934 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
1936         [BZ #20153]
1937         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
1938         x * x + x for infinities and NaNs.
1940         [BZ #20151]
1941         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
1942         argument to itself before returning result.
1943         (__ieee754_y0l): Likewise.
1944         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
1945         (__ieee754_y1l).
1947         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
1948         (atan_test_data): Likewise.
1949         (ceil_test_data): Likewise.
1950         (cos_test_data): Likewise.
1951         (cosh_test_data): Likewise.
1952         (erf_test_data): Likewise.
1953         (exp2_test_data): Likewise.
1954         (fabs_test_data): Likewise.
1955         (floor_test_data): Likewise.
1956         (ilogb_test_data): Likewise.
1957         (j0_test_data): Likewise.
1958         (j1_test_data): Likewise.
1959         (jn_test_data): Likewise.
1960         (lgamma_test_data): Likewise.
1961         (lrint_test_data): Likewise.
1962         (llrint_test_data): Likewise.
1963         (logb_test_data): Likewise.
1964         (lround_test_data): Likewise.
1965         (llround_test_data): Likewise.
1966         (nearbyint_test_data): Likewise.
1967         (rint_test_data): Likewise.
1968         (round_test_data): Likewise.
1969         (sin_test_data): Likewise.
1970         (sincos_test_data): Likewise.
1971         (sinh_test_data): Likewise.
1972         (sqrt_test_data): Likewise.
1973         (tan_test_data): Likewise.
1974         (tanh_test_data): Likewise.
1975         (tgamma_test_data): Likewise.
1976         (trunc_test_data): Likewise.
1977         (y0_test_data): Likewise.
1978         (y1_test_data): Likewise.
1979         (yn_test_data): Likewise.
1981         * math/libm-test.inc: Update comment about NaN testing.
1982         (TEST_SNAN): New macro.
1983         (snan_value): Likewise.
1984         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
1985         (fpclassify_test_data): Add sNaN tests.
1986         (isfinite_test_data): Likewise.
1987         (isinf_test_data): Likewise.
1988         (isnan_test_data): Likewise.
1989         (isnormal_test_data): Likewise.
1990         (issignaling_test_data): Likewise.
1991         (signbit_test_data): Likewise.
1992         * math/gen-libm-test.pl (%beautify): Add snan_value.
1993         (show_exceptions): Add argument $test_snan.
1994         (parse_args): Handle snan_value as non-finite.  Update call to
1995         show_exceptions.
1996         * math/Makefile (libm-test-no-inline-cflags): Add
1997         -fsignaling-nans.
1999 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2001         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
2002         (CFLAGS-oldsendmsg.c): Add rule.
2003         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
2004         Correct recvmsg symbol name.
2005         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
2006         Likewise.
2008 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2010         * sysdeps/unix/sysv/linux/Makefile
2011         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
2012         oldsendmmsg.
2013         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
2014         sendmmsg.
2015         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2016         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2017         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2018         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
2019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
2020         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2021         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2022         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
2023         Likewise.
2024         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2025         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
2026         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
2027         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
2028         iovlen and controllen fields to adjust to POSIX specification.
2029         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
2031         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
2032         and change to correct expected type.
2033         (msghdr.msg_controllen): Likewise.
2034         (cmsghdr.cmsg_len): Likewise.
2035         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
2036         expected POSIX assumption about the size.
2037         (msghdr.msg_controllen): Likewise.
2038         (msghdr.__glibc_reserved1): Likewise.
2039         (msghdr.__glibc_reserved2): Likewise.
2040         (cmsghdr.cmsg_len): Likewise.
2041         (cmsghdr.__glibc_reserved1): Likewise.
2042         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
2043         Add ptw-oldrecvmsg and ptw-oldsendmsg.
2044         (CFLAGS-sendmsg.c): Remove rule.
2045         (CFLAGS-recvmsg.c): Likewise.
2046         (CFLAGS-oldsendmsg.c): Add rule.
2047         (CFLAGS-oldrecvmsg.c): Likewise.
2048         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
2049         recvmsg and sendmsg.
2050         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
2051         Likewise.
2052         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
2053         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
2054         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
2055         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
2056         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
2057         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
2058         Likewise.
2059         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
2060         Likewise.
2061         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
2062         Likewise.
2063         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
2064         Likewise.
2065         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
2066         Likewise.
2067         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
2068         Likewise.
2069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
2070         (GLIBC_2.24): Likewise.
2071         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
2072         Likewise.
2073         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
2074         Likewise.
2075         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
2076         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
2077         Likewise.
2078         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
2079         Likewise.
2080         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
2081         Likewise.
2082         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
2083         (GLIBC_2.24): Likewise.
2084         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
2085         Likewise.
2086         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
2087         Likewise.
2088         * sysdeps/unix/sysv/linux/Makefile
2089         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
2090         (CFLAGS-sendmsg.c): Add rule.
2091         (CFLAGS-recvmsg.c): Likewise.
2092         (CFLAGS-oldsendmsg.c): Likewise.
2093         (CFLAGS-oldrecvmsg.c): Likewise.
2094         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
2095         initialization.
2096         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
2097         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
2098         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
2099         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
2100         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
2101         iovlen and controllen fields to adjust to POSIX specification.
2102         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
2103         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
2104         added recvmsg and sendmsg.
2105         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2106         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2107         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2108         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2109         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2110         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2111         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2112         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2113         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
2114         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2115         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2116         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
2117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2118         Likewise.
2119         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
2120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
2121         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
2122         Likewise.
2123         Likewise.
2124         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2125         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2126         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2127         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2128         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2129         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2130         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
2131         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2132         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
2133         Likewise.
2134         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2135         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2137         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
2138         from auto-generation.
2139         (sendmsg): Likewise.
2140         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
2141         (sendmsg): Likewise.
2142         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
2143         (sendmsg): Likewise.
2144         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
2145         (sendmsg): Likewise.
2146         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
2147         (sendmsg): Likewise.
2148         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
2149         (sendmsg): Likewise.
2150         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
2151         Likewise.
2152         (sendmsg): Likewise.
2153         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
2154         (sendmsg): Likewise.
2155         * sysdeps/unix/sysv/linux/i386/kernel-features.h
2156         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2157         Remove.
2158         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2159         Likewise.
2160         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2161         Undefine.
2162         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2163         Likewise.
2164         * sysdeps/unix/sysv/linux/kernel-features.h
2165         (__ASSUME_SENDMSG_SYSCALL): Define.
2166         (__ASSUME_RECVMSG_SYSCALL): Likewise.
2167         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2168         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2169         Remove.
2170         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2171         Likewise.
2172         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2173         Undefine.
2174         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2175         Likewise.
2176         * sysdeps/unix/sysv/linux/s390/kernel-features.h
2177         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2178         Remove.
2179         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2180         Likewise.
2181         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2182         Undefine.
2183         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2184         Likewise.
2185         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2186         (__ASSUME_SENDMSG_SYSCALL): Undefine.
2187         (__ASSUME_RECVMSG_SYSCALL): Likewise.
2188         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2189         (__ASSUME_SENDMSG_SYSCALL): Likewise.
2190         (__ASSUME_RECVMSG_SYSCALL): Likewise.
2191         * sysdeps/unix/sysv/linux/sh/kernel-features.h
2192         (__ASSUME_SENDMSG_SYSCALL): Likewise.
2193         (__ASSUME_RECVMSG_SYSCALL): Likewise.
2195 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2197         * stdlib/gen-tst-strtod-round.c: Add backslash to
2198         compile command in comment.
2199         (printfp): Remove the literal suffix, and define an infinite
2200         value as INF to avoid expansion clash with INFINITY.
2201         (round_str): Remove the literal suffix.
2202         (round_for_all): Likewise, remove the now duplicate ldbl-64
2203         entry, and remove some magic constants.
2205         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
2206         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
2207         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
2208         (_CONCAT): New macro.
2209         (CONCAT): Likewise.
2210         (CHOOSE_ld): Likewise.
2211         (CHOOSE_f): Likewise.
2212         (CHOOSE_d): Likewise.
2213         (FTYPE_MEMBER): Likewise.
2214         (BOOL_MEMBER): Likewise.
2215         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
2216         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
2217         (_XNTRY): Likewise.
2218         (XNTRY): Likewise.
2219         (_ENTRY): Likewise.
2220         (ENTRY): Likewise.
2221         (test_exactness): Generate members via macro.
2222         (test_results): Likewise.
2223         (test): Update members.
2224         (TEST): Redefine using new macros.
2225         (INF): New macro.
2226         (fetestmodes): New structure.
2227         (do_test): Refactor to be type generic.
2228         (test_in_one_mode): Refactor duplicate code into
2229         (GEN_ONE_TEST): New macro.
2231         * stdlib/tst-strtod-round-data.h: Regenerate.
2233         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
2234         Extend to pass additional arbitrary parameters to
2235         generators.
2237 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
2239         [BZ #15479]
2240         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
2241         floating-point state after first floating-point operation on
2242         input.  Restore full floating-point state instead of just rounding
2243         mode.
2244         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
2245         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
2246         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
2247         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
2248         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
2250         [BZ #15479]
2251         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
2252         floating-point state after first floating-point operation on
2253         input.  Restore full floating-point state instead of just rounding
2254         mode.
2255         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
2256         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
2257         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
2258         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
2259         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
2261 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2263         [BZ #19727]
2264         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
2265         valid high surrogate.
2266         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
2267         of an utf16 surrogate.
2268         * iconv/gconv_simple.c (BODY): Likewise.
2269         * iconvdata/bug-iconv12.c: New file.
2270         * iconvdata/Makefile (tests): Add bug-iconv12.
2272 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2274         [BZ #19726]
2275         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
2276         outptrp in case of an illegal input.
2277         * iconv/tst-iconv6.c: New file.
2278         * iconv/Makefile (tests): Add tst-iconv6.
2280 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2282         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
2283         an error in case of a value in range of an utf16 low surrogate.
2285 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2287         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
2288         an error in case of a value in range of an utf16 low surrogate.
2290 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2292         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
2293         Move to ...
2294         * sysdeps/s390/Makefile: ... here.
2295         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
2296         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
2297         (BRANCH_ON_COUNT): New define.
2298         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
2299         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
2300         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
2301         run on s390-32, too.
2302         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
2303         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
2304         run on s390-32, too.
2305         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
2306         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
2307         run on s390-32, too.
2309 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2311         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
2312         etf3eh or new vector loop-variant.
2314 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2316         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
2317         etf3eh or new vector loop-variant.
2319 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2321         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
2322         or new vector loop-variant.
2324 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2326         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
2327         Rename to TR_LOOP and usage of tr instead of troo instruction.
2329 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2331         * sysdeps/s390/multiarch/gconv_simple.c: New File.
2332         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
2334 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2336         * sysdeps/s390/multiarch/8bit-generic.c: New File.
2337         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
2338         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
2339         New override define.
2340         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
2342 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2344         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
2345         * sysdeps/s390/configure.ac: Add test for S390 vector register
2346         support in gcc.
2347         * sysdeps/s390/configure: Regenerated.
2349 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2351         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
2352         Install file from $(objpfx)gconv-modules.
2353         ($(objpfx)gconv-modules): Concatenate architecture specific file
2354         in variable sysdeps-gconv-modules and gconv-modules in src dir.
2355         * sysdeps/s390/gconv-modules: New file.
2356         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
2357         Deleted.
2358         ($(objpfx)gconv-modules-s390): Deleted.
2359         (sysdeps-gconv-modules): New variable.
2361 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
2363         [BZ #15479]
2364         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
2365         of immediate operand to rounding instruction.
2366         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
2367         Likewise.
2368         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
2369         Likewise.
2370         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
2371         Likewise.
2373 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2375         * math/libm-test.inc (MIN_EXP): Directly define as
2376         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
2378 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2380         * math/libm-test.inc (MANT_DIG): Directly define as
2381         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
2383 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2385         * stdlib/gen-tst-strtod-round.c (main):
2386           Change usage to more closely match the generated
2387           output.  Add usage and compilation instructions.
2388           (string_to_fp): Add and use FILE* parameter as
2389           output target.
2390           (print_fp): Likewise.
2391           (round_str): Likewise.
2392           (round_for_all): Likewise.
2393         * stdlib/tst-strtod-round.c (tests): Move into
2394         * stdlib/tst-strtod-round-data.h: New file.
2396 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
2398         [BZ #15479]
2399         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
2400         (__round): Do not force "inexact" exception.
2401         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
2402         variable.
2403         (__round): Do not force "inexact" exception.
2404         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
2405         (__roundf): Do not force "inexact" exception.
2406         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
2407         (__roundl): Do not force "inexact" exception.
2408         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
2409         (__roundl): Do not force "inexact" exception.
2410         * math/libm-test.inc (round_test_data): Do not allow spurious
2411         "inexact" exceptions.
2413         [BZ #15479]
2414         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
2415         exception in comment.
2416         (huge): Remove variable.
2417         (__floor): Do not force "inexact" exception.
2418         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
2419         "inexact" exception in comment.
2420         (huge): Remove variable.
2421         (__floor): Do not force "inexact" exception.
2422         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
2423         exception in comment.
2424         (huge): Remove variable.
2425         (__floorf): Do not force "inexact" exception.
2426         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
2427         exception in comment.
2428         (huge): Remove variable.
2429         (__floorl): Do not force "inexact" exception.
2431         [BZ #15479]
2432         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
2433         exception in comment.
2434         (huge): Remove variable.
2435         (__ceil): Do not force "inexact" exception.
2436         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
2437         "inexact" exception in comment.
2438         (huge): Remove variable.
2439         (__ceil): Do not force "inexact" exception.
2440         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
2441         (__ceilf): Do not force "inexact" exception.
2442         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
2443         exception in comment.
2444         (huge): Remove variable.
2445         (__ceill): Do not force "inexact" exception.
2447 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
2449         * config.h.in (BIND_NOW): New.
2450         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
2451         * configure: Regenerated.
2452         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
2453         indirect branch via the GOT slot.
2455 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
2457         [BZ #19765]
2458         * sysdeps/s390/mempcpy.S: New File.
2459         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
2460         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
2461         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2462         Add mempcpy variants.
2463         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
2464         (memcpy): Adjust to be usable from mempcpy entry point.
2465         (__memcpy_mvcle): Likewise.
2466         * sysdeps/s390/s390-64/memcpy.S: Likewise.
2467         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
2468         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
2469         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
2470         (__memcpy_z10): Likewise.
2471         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
2473 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
2475         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
2476         Remove __GI_ symbol.
2477         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
2478         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
2479         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
2480         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
2481         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
2482         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
2484 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
2486         * sysdeps/s390/s390-64/memcpy.S (memcpy):
2487         Use cghi instead of chi to compare 64bit value.
2489 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
2491         * sysdeps/s390/s390-32/memcpy.S (memcpy):
2492         Jump to 1MB check before executing mvc-loop.
2494 2016-05-24  Florian Weimer  <fweimer@redhat.com>
2496         [BZ #6527]
2497         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
2498         unconditionally.
2499         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
2501 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2503         * stdlib/tst-strtod6.c (do_test): Use new type generic
2504         invocation of the test function.
2505         (test): Refactor into ...
2506         (TEST_STRTOD): New macro base function.
2508 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2510         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
2511         (TEST_STRTOD): New macro.
2512         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
2514 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2516         * stdlib/tst-strtod6.c (do_test): Use new type generic
2517         invocation of the test function.
2518         (test): Refactor into ...
2519         (TEST_STRTOD): New macro base function.
2521 2016-05-23  Florian Weimer  <fweimer@redhat.com>
2523         CVE-2016-4429
2524         [BZ #20112]
2525         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
2526         payload.
2528 2016-05-23  Florian Weimer  <fweimer@redhat.com>
2530         [BZ #20111]
2531         * bits/sockaddr.h (_SS_SIZE): Define.
2532         * bits/socket.h (_SS_SIZE): Remove.
2533         (_SS_PADSIZE): Adjust to account for all padding.
2534         (struct sockaddr_storage): Update comment.  Avoid implicit
2535         padding.
2536         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
2537         (_SS_PADSIZE): Adjust to account for all padding.
2538         (struct sockaddr_storage): Update comment.  Avoid implicit
2539         padding.
2540         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
2541         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
2542         (_SS_PADSIZE): Adjust to account for all padding.
2543         (struct sockaddr_storage): Update comment.  Avoid implicit
2544         padding.
2545         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
2546         __SS_SIZE is 126 in this version.
2547         * inet/tst-sockaddr.c: New file.
2548         * inet/Makefile (tests): Add tst-sockaddr.c
2549         (tst-sockaddr.c): Compile with non-strict aliasing.
2551 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
2553         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
2554         [XPG3 || XPG4].
2555         (NL_ARGMAX): Also expect for [XPG3].
2556         (NL_LANGMAX): Likewise.
2557         (NL_MSGMAX): Likewise.
2558         (NL_NMAX): Likewise.
2559         (NL_SETMAX): Likewise.
2560         (NL_TEXTMAX): Likewise.
2561         (NZERO): Likewise.
2562         (TMP_MAX): Likewise.
2563         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
2564         variable.
2566         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
2567         (PF_MAX): Update value.
2568         (AF_KCM): New macro.
2569         (SOL_NETBEUI): Likewise.
2570         (SOL_LLC): Likewise.
2571         (SOL_DCCP): Likewise.
2572         (SOL_NETLINK): Likewise.
2573         (SOL_TIPC): Likewise.
2574         (SOL_RXRPC): Likewise.
2575         (SOL_PPPOL2TP): Likewise.
2576         (SOL_BLUETOOTH): Likewise.
2577         (SOL_PNPIPE): Likewise.
2578         (SOL_RDS): Likewise.
2579         (SOL_IUCV): Likewise.
2580         (SOL_CAIF): Likewise.
2581         (SOL_ALG): Likewise.
2582         (SOL_NFC): Likewise.
2583         (SOL_KCM): Likewise.
2584         (MSG_BATCH): New enum value and macro.
2586 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
2588         [BZ #18185]
2589         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
2590         sharing L2 cache to 2 for Knights Landing.
2592 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
2594         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
2595         (FTW_DP): Do not expect for [XPG3 || XPG4].
2596         (FTW_SL): Do not expect for [XPG3].
2597         (FTW_SLN): Likewise.
2598         (FTW_PHYS): Likewise.
2599         (FTW_MOUNT): Likewise.
2600         (FTW_DEPTH): Likewise.
2601         (FTW_CHDIR): Likewise.
2602         (nftw): Likewise.
2603         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
2604         variable.
2606 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
2608         * manual/errno.texi: Fix various typos & grammar errors.
2610 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
2612         * manual/intro.texi: Fix duplicated typo.
2614 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
2616         [BZ #13304]
2617         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
2618         <float.h>, <math_private.h> and <stdlib.h>.
2619         (add_split): New function.
2620         (mul_split): Likewise.
2621         (ext_val): New typedef.
2622         (store_ext_val): New function.
2623         (mul_ext_val): New function.
2624         (compare): New function.
2625         (add_split_ext): New function.
2626         (__fmal): After checking for Inf, NaN and zero, compute result as
2627         an exact sum of scaled double values in round-to-nearest before
2628         adding those up and adjusting for other rounding modes.
2629         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
2630         tests of fma.
2631         * math/auto-libm-test-out: Regenerated.
2633 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
2635         [BZ #20119]
2636         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
2637         processor level type mask for CPUID with EAX == 11.
2639 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
2641         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
2642         logical threads if the HTT bit is 0.
2643         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
2644         (index_cpu_HTT): Likewise.
2645         (reg_HTT): Likewise.
2647 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
2649         [BZ #20115]
2650         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
2651         Remove alignments on jump targets.
2653 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
2655         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
2656         (getpwent): Likewise.
2657         (setpwent): Likewise.
2658         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
2659         variable.
2661         * conform/data/search.h-data (insque): Do not expect for [XPG3].
2662         (remque): Likewise.
2663         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
2664         variable.
2666 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
2668         * math/libm-test.inc: Update comment not to refer to signs of NaNs
2669         not being tested.
2671 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
2673         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
2674         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
2675         call.
2676         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
2677         (__condvar_cleanup1): Likewise.
2679 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
2681         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
2682         New
2683         (__pthread_unwind): Renamed to ...
2684         (PTHREAD_UNWIND): This.
2685         (__pthread_enable_asynccancel): Replace
2686         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
2688 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
2690         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
2691         (CLONE_NEWCGROUP): New macro.
2693         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
2694         (Q_GETNEXTQUOTA): New macro.
2696 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
2698         [BZ #19907]
2699         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
2700         buffer updated by the previous run.
2701         * string/test-memcpy.c (do_one_test): Likewise.
2702         * benchtests/bench-memmove.c (do_one_test): Add a comment.
2703         * string/test-memmove.c (do_one_test): Likewise.
2705 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
2707         [BZ #20094]
2708         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
2709         not [__USE_XOPEN].
2710         (unlockpt): Likewise.
2711         (ptsname): Likewise.
2712         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
2713         variable.
2715         [BZ #20076]
2716         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
2717         instead of [__USE_UNIX98].
2718         (S_ISSOCK): Likewise.
2719         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
2720         variable.
2722         [BZ #20074]
2723         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
2724         [__USE_POSIX].
2725         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
2726         variable.
2728         [BZ #20051]
2729         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
2730         (ttyslot): Do not declare.
2731         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
2732         (ttyslot): New prototype.
2733         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
2734         variable.
2735         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
2737 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
2739         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
2741 2016-05-13  Florian Weimer  <fweimer@redhat.com>
2743         Fix race condition in tst-mallocfork2, use fewer resources.
2744         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
2745         to current process group.
2746         (signal_sender): Yield in the non-sleeping case.
2748 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
2750         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
2751         (ecvt): Likewise.
2752         (fcvt): Likewise.
2753         (gcvt): Likewise.
2754         (getsubopt): Likewise.
2755         (grantpt): Likewise.
2756         (initstate): Likewise.
2757         (l64a): Likewise.
2758         (mktemp): Likewise.
2759         (mkstemp): Likewise.
2760         (ptsname): Likewise.
2761         (random): Likewise.
2762         (realpath): Likewise.
2763         (setstate): Likewise.
2764         (srandom): Likewise.
2765         (ttyslot): Likewise.
2766         (unlockpt): Likewise.
2767         (valloc): Likewise.
2769         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
2770         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
2771         variable.
2773 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
2775         [BZ #20072]
2776         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
2777         init_cpu_features only if SHARED is defined.
2778         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
2780 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
2782         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
2783         non-inclusive caches on Intel processors.
2785 2016-05-13  Florian Weimer  <fweimer@redhat.com>
2787         * malloc/malloc.c (dumped_main_arena_start)
2788         (dumped_main_arena_end): New variables.
2789         (DUMPED_MAIN_ARENA_CHUNK): New macro.
2790         (do_check_chunk): Skip dumped fake mmapped chunks.
2791         (munmap_chunk): Likewise.
2792         (__libc_free): Do not adjust statistics for fake mmapped chunks.
2793         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
2794         mmapped chunks.
2795         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
2796         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
2797         and dumped_main_arena_end to cover the dumped heap.
2799 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
2801         * conform/data/time.h-data (getdate_err): Do not expect for
2802         [XPG3].
2803         (getdate): Likewise.
2804         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
2805         variable.
2807         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
2808         (F_ULOCK): Likewise.
2809         (F_TEST): Likewise.
2810         (F_TLOCK): Likewise.
2811         (useconds_t): Likewise.
2812         (intptr_t): Do not expect for [XPG3] or [XPG4].
2813         (brk): Do not expect for [XPG3]
2814         (fchown): Likewise.
2815         (fchdir): Likewise.
2816         (ftruncate): Likewise.
2817         (getdtablesize): Likewise.
2818         (gethostid): Likewise.
2819         (getpagesize): Likewise.
2820         (getpgid): Likewise.
2821         (getsid): Likewise.
2822         (getwd): Likewise.
2823         (lchown): Likewise.
2824         (lockf): Likewise.
2825         (readlink): Likewise.
2826         (sbrk): Likewise.
2827         (setpgrp): Likewise.
2828         (setregid): Likewise.
2829         (setreuid): Likewise.
2830         (symlink): Likewise.
2831         (sync): Likewise.
2832         (truncate): Likewise.
2833         (ualarm): Likewise.
2834         (usleep): Likewise.
2835         (vfork): Likewise.
2836         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
2837         variable.
2839         [BZ #20054]
2840         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
2841         not [__USE_UNIX98].
2842         * conform/data/unistd.h-data (gethostname): Do not expect for
2843         [XPG3].
2845         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
2846         [!POSIX] (S_IFBLK): Likewise.
2847         [!POSIX] (S_IFCHR): Likewise.
2848         [!POSIX] (S_IFIFO): Likewise.
2849         [!POSIX] (S_IFREG): Likewise.
2850         [!POSIX] (S_IFDIR): Likewise.
2851         [!POSIX] (S_IFLNK): Likewise.
2852         [!POSIX] (S_IFSOCK): Likewise.
2853         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
2854         variable.
2855         (test-xfail-XPG4/fcntl.h/conform): Likewise.
2857 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
2859         * sysdeps/aarch64/memset.S (__memset):
2860         Rewrite of optimized memset.
2862 2016-05-12  Florian Weimer  <fweimer@redhat.com>
2864         [BZ #19703]
2865         Partially async-signal-safe fork for single-threaded processes.
2866         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
2867         variable.  Do not acquire and reset/release malloc and libio locks
2868         in single-threaded processes.
2869         * malloc/tst-mallocfork2.c: New file.
2870         * malloc/Makefile (tests): Add it.
2872 2016-05-12  Florian Weimer  <fweimer@redhat.com>
2874         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
2875         argument.  Use scratch buffer instead of extend_alloca.
2876         (gethosts): Use scratch buffer instead of extend_alloca.
2877         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
2878         extend_alloca.
2879         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
2881 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
2883         [BZ #20055]
2884         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
2885         instead of [__USE_UNIX98].
2886         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
2887         [__USE_UNIX98].
2888         * conform/data/termios.h-data (tcgetsid): Do not expect for
2889         [XPG3].
2890         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
2891         variable.
2892         (test-xfail-XPG4/termios.h/conform): Likewise.
2894 2016-05-11  Florian Weimer  <fweimer@redhat.com>
2896         Do not use mcheck in localedef.
2897         * locale/programs/localedef.c (turn_on_mcheck)
2898         (__malloc_initialize_hook): Remove.
2900 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
2902         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
2903         * sysdeps/s390/s390-64/Makefile: Likewise.
2905 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
2907         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
2908         Remove ifunc-defines.sym.
2909         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
2910         Likewise.
2911         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
2912         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
2913         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
2914         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
2915         rtld-global-offsets.sym.
2916         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
2917         * sysdeps/x86/cpu-features-offsets.sym: This.
2918         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
2919         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
2921 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
2923         [BZ #20073]
2924         * io/sys/stat.h (fchmod): Declare for
2925         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
2926         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
2927         variable.
2929         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
2930         [XPG3] (S_IFSOCK): Likewise.
2931         [XPG3] (S_ISVTX): Likewise.
2932         [XPG3] (S_ISLNK): Likewise.
2933         [XPG3] (S_ISSOCK): Likewise.
2934         [XPG3] (fchmod): Likewise.
2935         [XPG3] (lstat): Likewise.
2936         [XPG3] (mknod): Likewise.
2938         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
2939         [XPG3].  Expect type long and XFAIL for [XPG4].
2940         (st_blocks): Likewise.
2942         [BZ #20044]
2943         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
2944         (pthread_atfork): New prototype.
2945         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
2946         variable.
2948         [BZ #20043]
2949         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
2950         prototype.
2952 2016-05-10  Florian Weimer  <fweimer@redhat.com>
2954         [BZ #20017]
2955         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
2956         gmtime.
2958 2016-05-10  Florian Weimer  <fweimer@redhat.com>
2960         [BZ #19994]
2961         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
2962         flag in _res.options.
2964 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
2966         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
2967         [XPG3 || XPG4].
2968         (blksize_t): Likewise.
2969         (clockid_t): Likewise.
2970         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
2971         variable.
2972         (test-xfail-XPG4/sys/types.h/conform): Likewise.
2974 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
2976         * sysdeps/unix/sysv/linux/s390/init-first.c:
2977         Add VDSO_SYMBOL(getcpu).
2978         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
2979         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
2980         Add VDSO_SYMBOL(getcpu).
2981         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
2982         New define HAVE_GETCPU_VSYSCALL.
2983         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2985 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
2987         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
2988         instead of <sysdeps/x86_64/cacheinfo.c>.
2989         * sysdeps/x86_64/cacheinfo.c: Moved to ...
2990         * sysdeps/x86/cacheinfo.c: Here.
2992 2016-05-04  Florian Weimer  <fweimer@redhat.com>
2994         * malloc/malloc-internal.h: Adjust header file guard.
2996 2016-05-04  Florian Weimer  <fweimer@redhat.com>
2998         [BZ #19787]
2999         * inet/getnameinfo.c (check_sprintf_result): New function.
3000         (CHECKED_SNPRINTF): New macro.
3001         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
3002         to the host buffer.
3003         (gni_host_local): Use checked_copy to copy the host name.
3004         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
3005         (gni_serv_local): Use checked_copy to copy the service name.
3006         (getnameinfo): Remove unnecessary truncation of result buffers.
3008 2016-05-04  Florian Weimer  <fweimer@redhat.com>
3010         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
3011         in case of inet_ntop failure.
3013 2016-05-04  Florian Weimer  <fweimer@redhat.com>
3015         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
3016         avoid long lines.
3017         (gni_host_inet_numeric): Likewise.  Reduce scope of local
3018         variables.
3019         (gni_host_inet, gni_host_local): Add comment.
3020         (gni_host): Add comment.  Use temporary to avoid long lines.
3022 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3024         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
3025         registers specifiers where general purpose registers specifiers should
3026         have been used.
3028 2016-05-04  Florian Weimer  <fweimer@redhat.com>
3030         [BZ #19779]
3031         CVE-2016-1234
3032         Avoid copying names of directory entries.
3033         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
3034         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
3035         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
3036         (struct readdir_result): New type.
3037         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
3038         (GL_READDIR): New macros.
3039         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
3040         (convert_dirent, convert_dirent64): New functions.
3041         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
3042         convert_dirent64.  Adjust references to the readdir result.
3043         * sysdeps/unix/sysv/linux/i386/glob64.c:
3044         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
3045         * posix/bug-glob2.c (LONG_NAME): Define.
3046         (filesystem): Add LONG_NAME.
3047         (my_DIR): Increase the size of room_for_dirent.
3049 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
3051         [BZ #20041]
3052         * misc/sys/select.h (__need_timespec): Only define if
3053         [__USE_XOPEN2K].
3054         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
3055         variable.
3056         (test-xfail-XPG4/utmpx.h/conform): Likewise.
3057         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
3058         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
3060 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3061             Segher Boessenkool  <segher@gcc.gnu.org>
3063         [BZ #20004]
3064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
3065         (__novec_swapcontext): Add missing load.
3067 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
3069         [BZ #20023]
3070         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
3071         <time.h>.
3072         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
3073         variable.
3074         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
3076 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
3079         flags CLONE_VM compare.
3081 2016-05-02  Florian Weimer  <fweimer@redhat.com>
3083         [BZ #20031]
3084         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
3085         completely empty.
3087 2016-05-02  Florian Weimer  <fweimer@redhat.com>
3089         [BZ #19573]
3090         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
3091         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
3092         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
3093         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
3094         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
3095         (hesiod_free_list): Mark as hidden.
3096         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
3097         res_set, res_get.
3098         * hesiod/hesiod.c: Remove unnecessary forward declarations.
3099         (init, __hesiod_res_get, __hesiod_res_set): Remove.
3100         (hesiod_init): Remove obsolete res_ninit call.
3101         (hesiod_end): Do not free resolver state.  Do not invoke callback.
3102         (hesiod_bind): Do not call init.
3103         (get_txt_records): Use res_mkquery, res_send instead of
3104         res_nmkquery, res_nsend.
3105         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
3106         instead of _nss_hesiod_init.
3107         (_nss_hesiod_initgroups_dyn): Likewise.
3108         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
3109         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
3110         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
3112 2016-05-02  Florian Weimer  <fweimer@redhat.com>
3114         * hesiod/hesiod_p.h (DEF_RHS): Remove.
3115         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
3117 2016-05-02  Florian Weimer  <fweimer@redhat.com>
3119         * hesiod/hesiod.h: Remove RCS keyword.
3120         * hesiod/hesiod_p.h: Likewise.
3122         * hesiod/hesiod.c: Likewise.
3124 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
3126         [BZ #12450]
3127         * locale/iso-639.def: Add Samogitian/sgs.
3129 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
3131         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
3133         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
3135 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
3136             Carlos O'Donell  <carlos@redhat.com>
3138         [BZ #19072]
3139         * grp/Makefile (headers): Add grp-merge.h
3140         (routines): Add grp-merge.
3141         * grp/getgrgid_r.c: Include grp-merge.h.
3142         (DEEPCOPY_FN): Define.
3143         (MERGE_FN): Define.
3144         * grp/getgrname_r.c: Include grp-merge.h.
3145         (DEEPCOPY_FN): Define.
3146         (MERGE_FN): Define.
3147         * grp/grp-merge.c: New file.
3148         * grp/grp-merge.h: New file.
3149         * include/grp-merge.h: New file.
3150         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
3151         __copy_grp@GLIBC_PRIVATE.
3152         * manual/nss.texi (Actions in the NSS configuration): Describe
3153         return, continue, and merge.
3154         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
3155         (DEEPCOPY_FN): Define.
3156         (MERGE_FN): Define.
3157         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
3158         (DEEPCOPY_FN): Define.
3159         (MERGE_FN): Define.
3160         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
3161         [!MERGE_FN]: Define __merge_einval.
3162         (CHECK_MERGE): Define.
3163         (REENTRANT_NAME): Process merge if do_merge is true.
3164         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
3165         (__nss_getent_r): Likewise.
3166         * nss/nsswitch.c (nss_parse_service_list): Likewise.
3167         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
3169 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3171         [BZ #20012]
3172         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
3173         length to calculate the buffer to read.
3174         (fmemopen_write): Set the buffer position based on bytes written.
3175         (fmemopen_seek): Return EINVAL for invalid whence modes.
3177         [BZ #19957]
3178         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
3179         tst-getpid2.
3180         (test): Add tst-clone2.
3181         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
3182         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
3183         pid/tid fields for CLONE_VM.
3184         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
3185         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
3186         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
3187         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
3188         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
3189         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
3190         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
3191         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
3192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
3193         Likewise.
3194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
3195         Likewise.
3196         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
3197         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
3198         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
3199         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
3200         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
3201         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
3202         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
3203         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
3205 2016-04-29  Florian Weimer  <fweimer@redhat.com>
3207         [BZ #19642]
3208         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
3209         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
3210         (gni_serv_local, gni_serv): New functions extracted from
3211         getnameinfo.
3212         (getnameinfo): Call gni_host and gni_serv to perform the
3213         processing.  Always free scratch buffer.
3215 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3217         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
3218         remaining bytes in the dest string, with zeros.
3220 2016-04-29  Florian Weimer  <fweimer@redhat.com>
3222         [BZ #20010]
3223         CVE-2016-3706
3224         * sysdeps/posix/getaddrinfo.c
3225         (convert_hostent_to_gaih_addrtuple): New function.
3226         (gethosts): Call convert_hostent_to_gaih_addrtuple.
3227         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
3228         AF_INET data.
3230 2016-04-29  Florian Weimer  <fweimer@redhat.com>
3232         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
3233         callback function gl_readdir.
3234         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
3235         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
3236         (glob_in_dir): Remove len.  Use strdup instead of malloc and
3237         memcpy to copy the name.
3238         * manual/pattern.texi (Calling Glob): Document requirements for
3239         implementations of the gl_readdir callback function.
3240         * manual/examples/mkdirent.c: New example.
3241         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
3242         per the manual guidance.
3243         * posix/tst-gnuglob.c (my_readdir): Likewise.
3245 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
3247         [BZ #20014]
3248         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
3249         not [__USE_POSIX].
3250         (getchar_unlocked): Likewise.
3251         (putc_unlocked): Likewise.
3252         (putchar_unlocked): Likewise.
3253         (flockfile): Likewise.
3254         (ftrylockfile): Likewise.
3255         (funlockfile): Likewise.
3256         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
3257         variable.
3258         (test-xfail-XPG4/stdio.h/conform): Likewise.
3260         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
3261         Expect constant.
3262         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
3263         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
3264         variable.
3265         (test-xfail-XPG4/langinfo.h/conform): Likewise.
3266         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
3268         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
3269         [__USE_LARGEFILE64] (off64_t): Likewise.
3270         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
3271         variable.
3273 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3275         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
3277 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3279         * resolv/inet_addr.c: Reindent preprocessor conditionals.
3280         * resolv/res_init.c: Likewise.
3281         * resolv/res_mkquery.c: Likewise.
3283 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3285         * resolv/res_init.c (isascii): Do not define.  Use definition in
3286         <ctype.h>.
3287         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
3288         (LOG_AUTH): Remove.
3289         (SPRINTF): Remove, adjust caller.
3290         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
3292 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3294         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
3295         SUNSECURITY conditional.
3296         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
3298 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3300         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
3301         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
3302         Remove BSD-related preprocessor conditionals.
3303         * conf/portability.h: Remove.
3305 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3307         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
3308         * resolv/res_data.c: Likewise.
3310 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3312         * resolv/res_comp.c: Remove code conditional on __ultrix__.
3313         * resolv/res_data.c: Remove code conditional on ultrix.
3315 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3317         * resolv/res_init.c (RFC1535): Do not define.  Remove
3318         RFC1535 preprocessor conditionals.
3319         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
3320         because there configuration options which make the resolver
3321         behavior different.
3323 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3325         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
3326         RESOLVSORT preprocessor conditionals.
3327         * resolv/nss_dns/dns-host.c: Likewise.
3328         * resolv/res_init.c: Likewise.
3330 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3332         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
3333         is never defined.
3335 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3337         * inet/inet_lnaof.c: Remove SCSS keyword.
3338         * inet/inet_mkadr.c: Likewise.
3339         * inet/inet_net.c: Likewise.
3340         * inet/inet_netof.c: Likewise.
3341         * inet/rcmd.c: Likewise.
3342         * inet/rexec.c: Likewise.
3343         * inet/ruserpass.c: Likewise.
3345 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3347         * resolv/inet_addr.c: Remove _LIBC conditionals.
3348         * resolv/res_data.c: Likewise.
3349         * resolv/res_init.c: Likewise.
3350         * resolv/res_mkquery.c: Likewise.
3351         * resolv/res_libc.c: Update comment.
3352         * resolv/README: Update.
3354 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3356         * resolv/gethnamaddr.c: Remove SCSS keyword.
3357         * resolv/herror.c: Likewise.
3358         * resolv/inet_addr.c: Likewise.
3359         * resolv/inet_net_ntop.c: Likewise.
3360         * resolv/inet_net_pton.c: Likewise.
3361         * resolv/inet_neta.c: Likewise.
3362         * resolv/inet_ntop.c: Likewise.
3363         * resolv/inet_pton.c: Likewise.
3364         * resolv/ns_date.c: Remove RCS keyword.
3365         * resolv/ns_name.c: Likewise.
3366         * resolv/ns_netint.c: Likewise.
3367         * resolv/ns_parse.c: Likewise.
3368         * resolv/ns_print.c: Likewise.
3369         * resolv/ns_samedomain.c: Likewise.
3370         * resolv/ns_ttl.c: Likewise.
3371         * resolv/nsap_addr.c: Likewise.
3372         * resolv/res_comp.c: Remove SCSS and RCS keyword.
3373         * resolv/res_data.c: Remove RCS keyword.
3374         * resolv/res_debug.c: Remove SCSS and RCS keyword.
3375         * resolv/res_init.c: Likewise.
3376         * resolv/res_mkquery.c: Likewise.
3377         * resolv/res_query.c: Likewise.
3378         * resolv/res_send.c: Likewise.
3380 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
3382         * conform/data/stdio.h-data (fdopen): Expect also for
3383         [XPG3 || XPG4].
3385         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
3386         (fseeko): Likewise.
3387         (ftello): Likewise.
3388         (ftrylockfile): Likewise.
3389         (funlockfile): Likewise.
3390         (getc_unlocked): Likewise.
3391         (getchar_unlocked): Likewise.
3392         (putc_unlocked): Likewise.
3393         (putchar_unlocked): Likewise.
3395 2016-04-27  Florian Weimer  <fweimer@redhat.com>
3397         [BZ #19868]
3398         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
3399         DNS packet syntax checks (which were not needed before).  Skip
3400         over non-PTR records.
3402 2016-04-27  Florian Weimer  <fweimer@redhat.com>
3404         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
3405         definition.  Include <stddef.h> instead.
3407 2016-04-27  Florian Weimer  <fweimer@redhat.com>
3409         [BZ #19831]
3410         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
3411         function.
3412         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
3413         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
3415 2016-04-27  Florian Weimer  <fweimer@redhat.com>
3417         [BZ #19862]
3418         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
3419         (getanswer_r): Do not call syslog.
3420         (gaih_getanswer_slice): Likewise.
3421         * resolv/gethnamaddr.c (AskedForGot): Remove.
3422         (getanswer): Do not call syslog.
3423         (gethostbyaddr): Likewise.
3425 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
3427         * conform/data/signal.h-data (union sigval): Expect also if
3428         [XOPEN2K].
3429         (struct sigevent): Likewise.
3430         (SIGEV_NONE): Likewise.
3431         (SIGEV_SIGNAL): Likewise.
3432         (SIGEV_THREAD): Likewise.
3433         (SIGRTMIN): Likewise.
3434         (SIGRTMAX): Likewise.
3435         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
3436         variable.
3437         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
3439 2016-04-27  Florian Weimer  <fweimer@redhat.com>
3441         [BZ #19830]
3442         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
3443         (gaih_getanswer_slice): Likewise.
3444         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
3445         Also check for availability of RR metadata.
3447 2016-04-27  Florian Weimer  <fweimer@redhat.com>
3449         [BZ #19825]
3450         * resolv/res_send.c (send_vc): Remove early *resplen2
3451         initialization.  Set *resplen2 on socket error.  Call
3452         close_and_return_error for other errors.
3454 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
3456         * sysdeps/unix/sysv/linux/netiucv/iucv.h
3457         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
3458         (SCM_IUCV_TRGCLS): New define.
3460 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3462         [BZ #20005]
3463         * libio/fmemopen.c (fmemopen_write): Update internal position after
3464         write.
3465         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
3466         * stdio-common/tst-fmemopen4.c: New file..
3468 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
3470         [BZ #19996]
3471         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
3472         not [__USE_XOPEN2K].
3473         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
3474         variable.
3476         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
3477         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
3478         variable.
3480         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
3481         [__USE_XOPEN2K8].
3482         [__USE_LARGEFILE64] (off64_t): Likewise.
3483         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
3484         variable.
3486 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
3488         [BZ #19989]
3489         * libio/stdio.h (cuserid): Do not declare if
3490         [__USE_XOPEN2K && !__USE_GNU].
3491         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
3492         variable.
3494 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3496         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
3497         (sysdep_routines): Add P8 and PPC64 strcspn targets.
3498         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3499         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
3500         ifunc'ed strcspn.
3501         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
3502         [EALIGN]: Removed.
3503         [END]: Likewise
3504         [STRSPN]: Define instead of the above to control symbol name.
3505         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
3506         New file.
3507         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
3508         Likewise.
3509         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
3510         Likewise.
3511         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
3512         Likewise.
3513         * sysdeps/powerpc/powerpc64/power8/strspn.S:
3514         [INITIAL_MASK]: New macro.
3515         [STRCSPN]: Likewise.
3516         [UPDATE_MASK]: Likewise.
3517         [USE_AS_STRCSPN]: Lisewise.
3519 2016-04-25  Florian Weimer  <fweimer@redhat.com>
3521         [BZ #19931]
3522         * stdio-common/tst-vfprintf-width-prec.c: New file.
3523         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
3524         (tests-special): Add tst-vfprintf-width-prec-mem.out.
3525         (generated): Add mtrace-related files.
3526         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
3527         (tst-%-mem.out): New pattern rule, replaces
3528         tst-printf-bz18872-mem.out.
3529         * stdio-common/vfprintf.c (vfprintf): When handling a precision
3530         specifier, deallocate any previously allocated work buffer.
3532 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
3534         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
3535         Add nop before __startcontext, add explaining comments.
3537 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
3539         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
3540         any more. Notably since IPV6_PKTINFO has been reintroduced with a
3541         completely different API.
3543         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
3544         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
3545         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
3546         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
3547         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
3548         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
3549         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
3550         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
3551         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
3552         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
3554 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
3556         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
3558 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
3560         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
3561         when it is the default of 0.
3563 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3565         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
3566         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
3567         (sysdep_routines): Add new strcasestr targets.
3568         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3569         (__libc_ifunc_impl_list): Likewise.
3570         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
3571         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
3572         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
3573         * sysdeps/powerpc/powerpc64/power8/Makefile:
3574         New file to add strcasestr-ppc64 to sysdep_routines.
3575         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
3576         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
3578 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
3580         * benchtests/Makefile (wcsmbs-benchset): Include only for
3581         native builds and runs.
3582         (LOCALES): Likewise.
3583         (bench-build): Build timing-type here instead of the bench
3584         target.  Generate locale only for native builds.
3585         * benchtests/README: Add note for cross-building.
3587         * benchtests/Makefile (bench-clean): Clean up extra-objs.
3589         * benchtests/README: Update README to include instructions on
3590         using bench-build.
3592         * Makefile.in (bench-build): New target.
3593         * Rules (PHONY): Add bench-build target.
3594         * benchtests/Makefile (bench): Depend on bench-build.
3595         (bench-build): New target.
3597 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3599         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
3600         profil_reply_port.
3601         (profile_waiter): Do not initialize profil_reply_port.
3602         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
3603         frequency instead of tick length in us.
3605 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
3607         [BZ #18712]
3608         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
3609         (__old_mempcpy_small): Likewise.
3610         (__old_strcpy_small): Likewise.
3611         (__old_stpcpy_small): Likewise.
3612         (__old_strpbrk_c2): Fix compat symbol name.
3613         (__old_strpbrk_c3): Likewise.
3614         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
3615         (__mempcpy_small): Remove.
3616         (__strcpy_small): Remove.
3617         (__stpcpy_small): Remove.
3619 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
3621         [BZ #19400]
3622         * locale/iso-639.def: Add the Talossan/tzl language.
3624 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
3626         [BZ #16983]
3627         * locale/programs/ld-address.c (address_finish): Update postal_fmt
3628         comment.  Add "ln" to strchr check on postal_fmt.
3630 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
3632         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
3633         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
3634         tel_dom_fmt.
3636 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
3638         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
3639         (sysdep_routines): Added __strlen_power8.
3640         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
3641         __strlen_power8 entry.
3642         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
3643         Implementation for POWER8.
3644         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
3645         for __strlen_power8.
3646         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
3647         Implementation for POWER8.
3649 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
3651         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
3653 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
3655         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
3656         Goldmont and Airmont processors.
3658 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
3660         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
3661         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
3662         (__STRING2_SMALL_GET32): Remove.
3663         (memset): Remove.
3664         (__memset_1): Remove.
3665         (__memset_gc): Remove.
3666         (__mempcpy): Remove.
3667         (mempcpy): Remove.
3668         (__mempcpy_args): Remove.
3669         (strchr): Remove.
3670         (strcpy): Remove.
3671         (strcpy_args): Remove.
3672         (__stpcpy_args): Remove.
3673         (__strcmp_cc): Remove.
3674         (__strcmp_gc): Remove.
3675         (strstr): Remove.
3677 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
3679         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
3680         * nis/nis_call.c (nis_server_cache_add): Likewise.
3682 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3684         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
3686 2016-04-14  Florian Weimer  <fweimer@redhat.com>
3688         * malloc/arena.c (__malloc_fork_lock_parent)
3689         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
3690         internal_function attribute.
3692 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
3694         * stdio-common/printf_fp.c (__printf_fp_l):
3695         Rename ___printf_fp_l to __printf_fp_l and
3696         remove strong alias. Use libc_hidden_def instead
3697         of ldbl_hidden_def macro.
3699 2016-04-14  Florian Weimer  <fweimer@redhat.com>
3701         Remove malloc hooks from fork handler.  They are no longer needed
3702         because malloc runs right before fork, and no malloc calls from
3703         other fork handlers are not possible anymore.
3704         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
3705         declarations.
3706         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
3707         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
3708         (atfork_recursive_cntr): Remove.
3709         (__malloc_fork_lock_parent): Do not override malloc hooks and
3710         thread_arena.
3711         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
3712         thread_arena.
3713         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
3714         thread_arena instead of save_arena.
3716 2016-04-14  Florian Weimer  <fweimer@redhat.com>
3718         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
3719         (thread_atfork, thread_atfork_static): Remove.
3720         * sysdeps/mach/hurd/malloc-machine.h:
3721         (thread_atfork, thread_atfork_static): Remove.
3723 2016-04-14  Florian Weimer  <fweimer@redhat.com>
3725         [BZ #19431]
3726         Run the malloc fork handler as late as possible to avoid deadlocks.
3727         * malloc/malloc-internal.h: New file.
3728         * malloc/malloc.c: Include it.
3729         * malloc/arena.c (ATFORK_MEM): Remove.
3730         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
3731         Update comment.
3732         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
3733         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
3734         Remove outdated comment.
3735         (ptmalloc_init): Do not call thread_atfork.  Remove
3736         thread_atfork_static.
3737         * malloc/tst-malloc-fork-deadlock.c: New file.
3738         * Makefile (tests): Add tst-malloc-fork-deadlock.
3739         (tst-malloc-fork-deadlock): Link against libpthread.
3740         * manual/memory.texi (Aligned Memory Blocks): Update safety
3741         annotation comments.
3742         * sysdeps/nptl/fork.c (__libc_fork): Call
3743         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
3744         __malloc_fork_unlock_child.
3745         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
3747 2016-04-14  Florian Weimer  <fweimer@redhat.com>
3749         [BZ #19613]
3750         Remove union wait.
3751         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
3752         (w_stopsig, w_stopval): Remove.
3753         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
3754         stat_loc argument.
3755         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
3756         (__WAIT_STATUS_DEFN): Remove.
3757         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
3758         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
3759         (wait, wait3, wait4): Use int * for the stat_loc argument.
3760         * posix/wait.c (__wait): Likewise.
3761         * posix/wait3.c (__wait3): Likewise.
3762         * posix/wait4.c (__wait4): Likewise.
3763         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
3764         (__WAIT_STATUS_DEFN): Remove.
3765         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
3766         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
3767         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
3768         argument.
3769         * sysdeps/posix/wait.c (__libc_wait): Likewise.
3770         * sysdeps/posix/wait3.c (__wait3): Likewise.
3771         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
3772         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
3773         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
3774         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
3775         stat_loc argument.
3776         * manual/process.texi (BSD Wait Functions): Remove union wait.
3778 2016-04-13  Andreas Schwab  <schwab@suse.de>
3780         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
3781         (test-extras): Add tst-tlsalign-vars.
3782         * math/Makefile: Wrap long lines.
3783         (libm-vec-test-wrappers): Define.
3784         (test-extras): Add $(libm-vec-test-wrappers).
3785         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
3786         * nss/Makefile (extra-test-objs): Add nss_test1.os.
3787         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
3788         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
3789         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
3790         (extra-test-objs): Add corresponding objects.
3792 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
3794         [BZ #19928]
3795         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
3796         New.
3797         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
3798         times of shared cache size.
3799         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
3800         (VMOVNT): New.
3801         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
3802         (VMOVNT): Likewise.
3803         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
3804         (VMOVNT): Likewise.
3805         (VMOVU): Changed to movups for smaller code sizes.
3806         (VMOVA): Changed to movaps for smaller code sizes.
3807         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
3808         comments.
3809         (PREFETCH): New.
3810         (PREFETCH_SIZE): Likewise.
3811         (PREFETCHED_LOAD_SIZE): Likewise.
3812         (PREFETCH_ONE_SET): Likewise.
3813         Rewrite to use forward and backward loops, which move 4 vector
3814         registers at a time, to support overlapping addresses and use
3815         non temporal store if size is above the threshold and there is
3816         no overlap between destination and source.
3818 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
3820         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
3821         Include dl-vdso.
3822         * sysdeps/unix/sysv/linux/mips/Versions: Add
3823         __vdso_clock_gettime.
3824         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
3825         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
3826         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
3827         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
3828         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
3829         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
3830         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
3831         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
3832         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
3834 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3836         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
3837         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
3838         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
3839         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
3840         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
3841         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
3842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
3843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
3844         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
3845         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
3846         syscalls generation.
3847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3848         [__NR_pwrite64] (__NR_write): Remove define.
3849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3850         [__NR_pwrite64] (__NR_write): Remove define.
3851         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
3852         Remove define.
3853         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
3854         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
3855         Remove define.
3856         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
3857         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
3858         Linux implementation as base.
3859         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
3861         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
3862         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
3863         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
3864         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
3865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
3866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
3867         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
3868         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
3869         syscall generation.
3870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3871         [__NR_pread64] (__NR_pread): Remove define.
3872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
3873         [__NR_pread64] (__NR_pread): Likewise.
3874         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
3875         define.
3876         (__libc_pread): Use SYSCALL_LL macro on offset argument.
3877         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
3878         Remove define.
3879         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
3880         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
3881         Linux implementation as base.
3882         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
3883         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
3884         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
3886         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
3887         definition.
3888         (__ALIGNMENT_COUNT): Likewise.
3889         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
3890         (__ALIGNMENT_COUNT): Likewise.
3891         (SYSCALL_LL): New define.
3892         (SYSCALL_LL64): Likewise.
3893         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
3894         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
3895         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
3896         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
3898         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3899         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
3900         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3901         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
3902         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
3903         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
3905 2016-04-11  Florian Weimer  <fweimer@redhat.com>
3907         [BZ #19865]
3908         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
3909         original buffer before retry.
3911 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3913         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
3914         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
3915         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
3916         GLRO(dl_auxv) list.
3917         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
3918         including <ldsodefs.h>.
3919         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
3921 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
3923         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
3924         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
3925         $(CPPFLAGS).
3927 2016-04-09  Khem Raj  <raj.khem@gmail.com>
3929         [BZ #17950]
3930         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
3931         Add -mfpmath=387.
3933 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
3935         * sysdeps/i386/configure.ac: Change == to = when calling test.
3936         * sysdeps/x86_64/configure.ac: Likewise.
3937         * sysdeps/i386/configure: Regenerated.
3938         * sysdeps/x86_64/configure: Likewise.
3940 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
3942         [BZ #16137]
3943         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
3944         * benchtests/bench-strcoll.c (input_files): Likewise.
3945         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
3946         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
3947         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
3949 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
3951         [BZ #19929]
3952         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
3953         [__USE_XOPEN2K8 && !__USE_GNU].
3954         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
3955         variable.
3957         [BZ #19925]
3958         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
3959         define if [!__USE_MISC && __USE_XOPEN2K].
3960         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
3961         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
3962         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
3963         Likewise.
3964         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
3965         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
3966         variable.
3967         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
3969 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3971         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
3972         (sysdep_routines): Add new strspn targets.
3973         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3974         (__libc_ifunc_impl_list): Add strspn.
3975         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
3976         New file.
3977         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
3978         Likewise.
3979         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
3980         Likewise.
3981         * sysdeps/powerpc/powerpc64/power8/strspn.S:
3982         Likewise.
3984 2016-04-07  Florian Weimer  <fweimer@redhat.com>
3986         * misc/hsearch_r.c: Include <limits.h>.
3988 2016-04-07  Florian Weimer  <fweimer@redhat.com>
3990         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
3992 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
3994         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
3995         (MEMCPY_SYMBOL): New.
3996         (MEMPCPY_SYMBOL): Likewise.
3997         (MEMMOVE_CHK_SYMBOL): Likewise.
3998         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
3999         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
4000         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
4001         Provide alias for memcpy in libc.a and ld.so.
4003 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
4005         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
4006         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
4007         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
4008         Disabled fro now.
4009         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
4010         symbols.  Properly check USE_MULTIARCH on __memset symbols.
4012 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
4014         * benchtests/Makefile (string-benchset): Add memcpy-large,
4015         memmove-large and memset-large.
4016         * benchtests/bench-memcpy-large.c: New file.
4017         * benchtests/bench-memmove-large.c: Likewise.
4018         * benchtests/bench-memmove-large.c: Likewise.
4019         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
4021 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
4023         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
4024         32-bit displacement to avoid long nop between instructions.
4026 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
4028         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
4029         a comment on VMOVU and VMOVA.
4031 2016-04-04  Florian Weimer  <fweimer@redhat.com>
4033         [BZ #19633]
4034         Use specified locale for number formatting in strfmon_l.
4035         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
4036         (__nl_lookup_word): New inline functions.
4037         * include/printf.h (__print_fp_l): Declare.
4038         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
4039         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
4040         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
4041         (___printf_fp): New function.
4042         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
4043         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
4044         * stdlib/tst-strfmon_l.c (do_test): New test.
4045         * stdlib/Makefile (tests): Add kt.
4046         (LOCALES): Build additional locales.
4047         (tst-strfmon_l.out): Require locales.
4049 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
4051         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
4052         if not in libc.
4053         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
4054         Likewise.
4055         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
4056         Likewise.
4057         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
4058         Likewise.
4060 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
4062         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
4063         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
4064         with unaligned_erms.
4065         (__memmove_erms): Skip if source == destination.
4066         (__memmove_unaligned_erms): Don't check source == destination
4067         first.
4069 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
4071         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
4072         bit_arch_Fast_Copy_Backward for Intel Core proessors.
4074 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4076         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
4077         * string/strspn.c (strspn): Likewise.
4079 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
4081         * benchtests/bench-memset.c (do_test): Support 64-byte
4082         alignment.
4083         (test_main): Test 64-byte alignment.
4085 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
4087         * benchtests/bench-memmove.c (test_main): Test 64-byte
4088         alignment.
4090 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
4092         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
4094 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4096         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
4097         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
4098         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
4100         * string/strpbrk.c (strpbrk): Rewrite function.
4101         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
4102         (__strpbrk_c2): Likewise.
4103         (__strpbrk_c3): Likewise.
4104         * string/string-inlines.c
4105         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
4106         Likewise.
4107         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
4108         Likewise.
4110         * string/strspn.c (strcspn): Rewrite function.
4111         * string/bits/string2.h (strspn): Use __builtin_strcspn.
4112         (__strspn_c1): Remove inline function.
4113         (__strspn_c2): Likewise.
4114         (__strspn_c3): Likewise.
4115         * string/string-inlines.c
4116         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
4117         compatibility symbol.
4118         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
4119         Likewise.
4120         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
4121         Likewise.
4122         * string/string-inlines.c: Include generic version.
4124 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
4125             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4127         * string/Version (libc): Add GLIBC_2.24.
4128         * string/strcspn.c (strcspn): Rewrite function.
4129         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
4130         (__strcspn_c1): Remove inline function.
4131         (__strcspn_c2): Likewise.
4132         (__strcspn_c3): Likewise.
4133         * string/string-inline.c
4134         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
4135         compatibility symbol.
4136         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
4137         Likewise.
4138         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
4139         Likewise.
4140         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
4142 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
4144         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
4145         Use ahi instead of aghi to adjust stack pointer.
4147 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4149         [BZ #19853]
4150         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
4151         TEST to take significant digits as second parameter.
4152         [TEST]: Redefine in terms of TEST_N taking 30
4153         significant digits.
4154         (do_test): Add test case to demonstrate precision
4155         failure in the ldbl-128ibm printf.
4156         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
4157         (__mpn_extract_long_double): Carry 7 extra intermediate
4158         bits of precision to aide computing difference when
4159         signs differ.
4161 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
4163         [BZ #19881]
4164         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4165         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
4166         memset-avx512-unaligned-erms.
4167         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4168         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
4169         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
4170         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
4171         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
4172         __memset_sse2_unaligned_erms, __memset_erms,
4173         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
4174         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
4175         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
4176         file.
4177         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
4178         Likewise.
4179         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
4180         Likewise.
4181         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
4182         Likewise.
4184 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
4186         [BZ #19776]
4187         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4188         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
4189         memmove-avx512-unaligned-erms.
4190         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4191         (__libc_ifunc_impl_list): Test
4192         __memmove_chk_avx512_unaligned_2,
4193         __memmove_chk_avx512_unaligned_erms,
4194         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
4195         __memmove_chk_sse2_unaligned_2,
4196         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
4197         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
4198         __memmove_avx512_unaligned_erms, __memmove_erms,
4199         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
4200         __memcpy_chk_avx512_unaligned_2,
4201         __memcpy_chk_avx512_unaligned_erms,
4202         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
4203         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
4204         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
4205         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
4206         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
4207         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
4208         __mempcpy_chk_avx512_unaligned_erms,
4209         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
4210         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
4211         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
4212         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
4213         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
4214         __mempcpy_erms.
4215         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
4216         file.
4217         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
4218         Likwise.
4219         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
4220         Likwise.
4221         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
4222         Likwise.
4224 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
4226         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
4227         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
4228         (La_s390_64_regs): Likewise.
4229         (La_s390_32_retval): Append vector register lrv_v24.
4230         (La_s390_64_retval): Likeweise.
4231         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
4232         Handle extended structs La_s390_32_regs and La_s390_32_retval.
4233         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
4234         Handle extended structs La_s390_64_regs and La_s390_64_retval.
4236 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
4238         [BZ #19916]
4239         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
4240         to create a non-vector/vector version for _dl_runtime_resolve and
4241         _dl_runtime_profile. Move implementation to ...
4242         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
4243         (_dl_runtime_resolve) Save and restore fpr/vrs.
4244         (_dl_runtime_profile) Save and restore vrs and fix some issues
4245         if _dl_call_pltexit is called.
4246         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
4247         Choose the correct resolver function if running on a machine with vx.
4248         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
4249         to create a non-vector/vector version for _dl_runtime_resolve and
4250         _dl_runtime_profile. Move implementation to ...
4251         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
4252         (_dl_runtime_resolve) Save and restore fpr/vrs.
4253         (_dl_runtime_profile) Save and restore vrs and fix some issues
4254         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
4255         Choose the correct resolver function if running on a machine with vx.
4257 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4259         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
4261 2016-03-31  Florian Weimer  <fweimer@redhat.com>
4263         [BZ #19509]
4264         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
4265         skip_map != NULL.
4266         * elf/tst-dlsym-error.c: New file.
4267         * elf/Makefile (tests): Add tst-dlsym-error.
4268         (tst-dlsym-error): Link against libdl.
4270 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
4272         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4273         (__ASSUME_FUTIMESAT): Remove macro.
4274         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
4276 2016-03-29  Florian Weimer  <fweimer@redhat.com>
4278         [BZ #19879]
4279         CVE-2016-3075
4280         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
4281         copy name.
4283 2016-03-29  Florian Weimer  <fweimer@redhat.com>
4285         [BZ #19837]
4286         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
4287         error if parse_line fails.
4289 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
4291         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
4292         (index_cpu_ERMS): Likewise.
4293         (reg_ERMS): Likewise.
4295 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
4297         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
4298         PER_LINUX_FDPIC): Add.
4300 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
4302         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4303         memcpy-avx512-no-vzeroupper.
4304         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
4305         to ...
4306         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
4307         (MEMCPY): Don't define.
4308         (MEMCPY_CHK): Likewise.
4309         (MEMPCPY): Likewise.
4310         (MEMPCPY_CHK): Likewise.
4311         (MEMPCPY_CHK): Renamed to ...
4312         (__mempcpy_chk_avx512_no_vzeroupper): This.
4313         (MEMPCPY_CHK): Renamed to ...
4314         (__mempcpy_chk_avx512_no_vzeroupper): This.
4315         (MEMCPY_CHK): Renamed to ...
4316         (__memmove_chk_avx512_no_vzeroupper): This.
4317         (MEMCPY): Renamed to ...
4318         (__memmove_avx512_no_vzeroupper): This.
4319         (__memcpy_avx512_no_vzeroupper): New alias.
4320         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
4322 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
4324         [BZ #18858]
4325         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4326         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
4327         and mempcpy-avx512-no-vzeroupper.
4328         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
4329         New.
4330         (MEMPCPY): Likewise.
4331         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
4332         (MEMPCPY_CHK): New.
4333         (MEMPCPY): Likewise.
4334         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
4335         (MEMPCPY): Likewise.
4336         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
4337         (MEMPCPY): Likewise.
4338         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
4339         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
4340         Likewise.
4341         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
4342         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
4344 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
4345              Amit Pawar  <Amit.Pawar@amd.com>
4347         [BZ #19583]
4348         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
4349         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
4350         processors.  Set Fast_Copy_Backward for AMD Excavator
4351         processors.
4352         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
4353         New.
4354         (index_arch_Fast_Unaligned_Copy): Likewise.
4355         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
4356         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
4358 2016-03-25  Florian Weimer  <fweimer@redhat.com>
4360         [BZ #19791]
4361         * resolv/res_send.c (close_and_return_error): New function.
4362         (send_dg): Initialize *resplen2 after reopen failure.  Call
4363         close_and_return_error for error returns.  On error paths without
4364         __res_iclose, initialze *resplen2 explicitly.  Update comment for
4365         successful return.
4367 2016-03-25  Florian Weimer  <fweimer@redhat.com>
4369         [BZ# 19860]
4370         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
4371         zero if the compiler does not provide the AVX512F bit.
4373 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
4375         [BZ #19848]
4376         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
4377         from 8 to 4.
4378         (__ieee754_powl): Compare integer exponent against 4 not 8.
4379         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
4380         from 8 to 4.
4381         (__ieee754_powl): Compare integer exponent against 4 not 8.
4382         * math/auto-libm-test-in: Add more tests of pow.
4383         * math/auto-libm-test-out: Regenerated.
4384         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
4385         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4387 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
4389         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
4390         Make code unconditional.
4391         [!__NR_utimensat]: Remove conditional code.
4392         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
4393         Make code unconditional.
4394         [!__NR_utimensat]: Remove conditional code.
4395         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
4396         Make code unconditional.
4397         [!__NR_utimensat]: Remove conditional code.
4399 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
4401         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
4402         Make code unconditional.
4404 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
4406         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
4407         call-clobbered %eax on retry path.
4408         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
4410 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
4412         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
4413         Don't set %rcx twice before "rep movsb".
4415 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
4417         [BZ #19583]
4418         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
4419         inline.  Check family before setting family, model and
4420         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
4421         bits here.
4422         (init_cpu_features): Replace HAS_CPU_FEATURE and
4423         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
4424         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
4425         for Intel processors with usable AVX2.  Call get_common_indeces
4426         for other processors with family == NULL.
4427         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
4428         (CPU_FEATURES_ARCH_P): Likewise.
4429         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
4430         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
4432 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4434         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
4435         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
4436         $(shared-thread-library) instead of hardcoding the path to libpthread.
4438 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
4440         * sysdeps/unix/sysv/linux/kernel-features.h
4441         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
4442         * sysdeps/unix/sysv/linux/getdents.c
4443         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
4444         [!have_no_getdents64_defined]: Likewise.
4445         (__GETDENTS): Remove __have_no_getdents64 conditional.
4447 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
4449         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
4450         Remove macro.
4451         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
4452         <kernel-features.h>.
4453         (signalfd) [__NR_signalfd4]: Make code unconditional.
4454         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
4456 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4458         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
4459         style.
4461 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
4463         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
4464         (__pthread_enable_asynccancel): Use JUMPTARGET to call
4465         __pthread_unwind.
4466         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
4467         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
4468         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
4469         (__condvar_cleanup1): Likewise.
4471 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
4473         [BZ #19822]
4474         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
4475         move it to the final $@ location.
4477 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4479         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
4480         access where posix_spawn success and pid argument is null.
4481         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
4482         success case.
4484 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
4486         * sysdeps/mach/hurd/i386/c++-types.data: New file.
4488         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
4490         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
4491         and __fcntl.
4492         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
4493         __fcntl only.
4494         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
4495         adding attribute_hidden to __open and __fcntl.
4497         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
4498         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
4499         depend on libc-modules.h,
4500         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
4502 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
4504         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
4505         Remove macro.
4506         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
4507         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
4508         entry.
4510         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
4511         Remove macro.
4512         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
4513         include <kernel-features.h>.
4514         [!__ASSUME_FALLOCATE]: Remove conditional code.
4515         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
4517 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
4519         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
4520         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
4521         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
4522         (_ZGVdN4v_cos_avx2): Likewise.
4523         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
4524         (_ZGVdN4v_cos): Likewise.
4525         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
4526         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
4527         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
4528         (_ZGVdN4v_exp_avx2): Likewise.
4529         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
4530         (_ZGVdN4v_exp): Likewise.
4531         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
4532         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
4533         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
4534         (_ZGVdN4v_log_avx2): Likewise.
4535         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
4536         (_ZGVdN4v_log): Likewise.
4537         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
4538         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
4539         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
4540         (_ZGVdN4vv_pow_avx2): Likewise.
4541         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
4542         (_ZGVdN4vv_pow): Likewise.
4543         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
4544         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
4545         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
4546         (_ZGVdN4v_sin_avx2): Likewise.
4547         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
4548         (_ZGVdN4v_sin): Likewise.
4549         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
4550         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
4551         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
4552         (_ZGVdN4vvv_sincos_avx2): Likewise.
4553         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
4554         (_ZGVdN4vvv_sincos): Likewise.
4555         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
4556         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
4557         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
4558         (_ZGVbN4v_cosf_sse4): Likewise.
4559         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
4560         (_ZGVdN8v_cosf_avx2): Likewise.
4561         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
4562         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
4563         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
4564         (_ZGVbN4v_expf_sse4): Likewise.
4565         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
4566         (_ZGVdN8v_expf_avx2): Likewise.
4567         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
4568         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
4569         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
4570         (_ZGVbN4v_logf_sse4): Likewise.
4571         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
4572         (_ZGVdN8v_logf_avx2): Likewise.
4573         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
4574         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
4575         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
4576         (_ZGVbN4vv_powf_sse4): Likewise.
4577         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
4578         (_ZGVdN8vv_powf_avx2): Likewise.
4579         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
4580         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
4581         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
4582         (_ZGVbN4vvv_sincosf_sse4): Likewise.
4583         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
4584         (_ZGVdN8vvv_sincosf_avx2): Likewise.
4585         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
4586         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
4587         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
4588         (_ZGVbN4v_sinf_sse4): Likewise.
4589         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
4590         (_ZGVdN8v_sinf_avx2): Likewise.
4591         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
4592         Use JUMPTARGET to call callee.
4593         (WRAPPER_IMPL_SSE2_ff): Likewise.
4594         (WRAPPER_IMPL_SSE2_fFF): Likewise.
4595         (WRAPPER_IMPL_AVX): Likewise.
4596         (WRAPPER_IMPL_AVX_ff): Likewise.
4597         (WRAPPER_IMPL_AVX_fFF): Likewise.
4598         (WRAPPER_IMPL_AVX512): Likewise.
4599         (WRAPPER_IMPL_AVX512_ff): Likewise.
4600         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
4601         Likewise.
4602         (WRAPPER_IMPL_SSE2_ff): Likewise.
4603         (WRAPPER_IMPL_SSE2_fFF): Likewise.
4604         (WRAPPER_IMPL_AVX): Likewise.
4605         (WRAPPER_IMPL_AVX_ff): Likewise.
4606         (WRAPPER_IMPL_AVX_fFF): Likewise.
4607         (WRAPPER_IMPL_AVX512): Likewise.
4608         (WRAPPER_IMPL_AVX512_ff): Likewise.
4609         (WRAPPER_IMPL_AVX512_fFF): Likewise.
4611 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4613         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
4614         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
4615         qualifier.
4616         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
4617         internal_function qualifiers.
4619 2016-03-15  Carlos O'Donell <carlos@redhat.com>
4621         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
4622         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
4623         * math/atest-exp.c (exp_mpn): Mark chk unused.
4624         * math/atest-exp2.c (exp_mpn): Likwise.
4625         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
4626         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
4628 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
4630         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
4631         Remove macro.
4632         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
4633         <kernel-features.h>.
4634         [__NR_ppoll]: Make code unconditional.
4635         [!__ASSUME_PPOLL]: Remove conditional code.
4637         * sysdeps/unix/sysv/linux/kernel-features.h
4638         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
4639         (__ASSUME_ACCEPT4): Likewise.
4640         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4641         Define.
4642         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
4643         Likewise.
4644         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4645         Likewise.
4646         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
4647         Likewise.
4648         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
4649         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
4650         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4651         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
4652         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4653         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4654         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4655         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4656         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4657         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4658         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4659         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4660         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4661         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4662         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4663         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4664         Likewise.
4665         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4666         Likewise.
4667         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
4668         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
4669         0x040300].
4670         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4671         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
4672         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4673         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
4674         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
4675         0x030300].
4676         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
4677         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4678         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
4679         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
4680         0x040300].
4681         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4682         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4683         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4684         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4685         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4686         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
4687         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
4688         0x030300].
4689         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4690         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4691         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4692         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4693         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4694         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4695         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4696         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4697         * sysdeps/unix/sysv/linux/s390/kernel-features.h
4698         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
4699         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
4700         0x040300].
4701         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4702         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4703         * sysdeps/unix/sysv/linux/sh/kernel-features.h
4704         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4705         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4706         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4707         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4708         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4709         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4710         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4711         * sysdeps/unix/sysv/linux/tile/kernel-features.h
4712         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4713         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4714         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4715         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
4716         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4717         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4718         Likewise.
4719         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4720         Likewise.
4722 2016-03-15  Andreas Schwab  <schwab@suse.de>
4724         [BZ #19257]
4725         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
4726         statp->_u._ext.nscount as loop count.
4728 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
4730         * math/test-signgam-finite-c99.c: Also #undef
4731         __LIBC_INTERNAL_MATH_INLINES.
4732         * math/test-signgam-main.c: Likewise.
4734 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
4736         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
4737         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
4738         (MADV_FREE): Likewise.
4739         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
4740         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
4741         EPOLLEXCLUSIVE.
4743 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
4745         * timezone/README: Remove mention of checktab.awk. Mention wiki
4746         SharedSourceFiles.
4748 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
4750         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
4751         WUNTRACED.
4753 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4755         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
4756         order to match the type of p when calling atomic_exchange_acq().
4758 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4760         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
4761         cfi_offset calls.
4762         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
4763         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
4764         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
4765         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
4766         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
4768 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
4770         * timezone/checktab.awk: Removed.
4772 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
4774         * manual/math.texi (Errors in Math Functions): Document relaxed
4775         accuracy goals for IBM long double.
4776         * math/libm-test.inc (test_exceptions): Always allow spurious
4777         "underflow" and "inexact" exceptions for IBM long double.
4779 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
4781         [BZ #19762]
4782         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
4783         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
4784         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
4785         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
4786         (bit_arch_*): This for feature array.
4787         (bit_*): Renamed to ...
4788         (bit_cpu_*): This for cpu array.
4789         (index_*): Renamed to ...
4790         (index_arch_*): This for feature array.
4791         (index_*): Renamed to ...
4792         (index_cpu_*): This for cpu array.
4793         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
4794         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
4795         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
4796         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
4797         bit_##name with index_cpu_##name and bit_cpu_##name.
4798         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
4799         bit_##name with index_arch_##name and bit_arch_##name.
4801 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
4803         [BZ #19792]
4804         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
4805         Terminate FDE before return label.
4807 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
4809         [BZ #19790]
4810         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
4811         (rintl): Define as macro.
4812         [USE_AS_NEARBYINTL] (__rintl): Likewise.
4813         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
4814         of fesetround.  Ensure results are evaluated before end of scope.
4815         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
4816         USE_AS_NEARBYINTL and include s_rintl.c.
4817         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
4818         Disable exception traps in new environment.
4819         (libc_feholdsetround_ppc_ctx): Likewise.
4821 2016-03-08  Roland McGrath  <roland@hack.frob.com>
4823         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
4824         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
4825         (tst_audit10_aux) [__AVX512F__]: ... here.
4827 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
4829         * include/sys/auxv.h: New file.
4831 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
4833         [BZ #19759]
4834         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
4836 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4838         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
4839         operand modifier.
4840         (feclearexcept): Likewise.
4842 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4844         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
4845         to reflect the entire 32-bit HWCAP.
4846         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
4847         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
4849 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
4851         [BZ #19783]
4852         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
4853         $(test-via-rtld-prefix).
4854         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
4856 2016-03-08  Florian Weimer  <fweimer@redhat.com>
4858         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
4859         union wait.  Report any non-zero exit status as error.
4861 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4863         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
4864         configured with --enable-hardcoded-path-in-tests.
4866 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
4868         [BZ #19677]
4869         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
4870         (__ieee754_remainderl): Put zero low parts in canonical form.
4871         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
4872         file.  Based on
4873         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
4874         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
4875         with wrapper round test-fmodrem-ldbl-128ibm.c.
4876         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
4877         file.
4878         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
4879         Likewise.
4880         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
4881         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
4883 2016-03-07  Florian Weimer  <fweimer@redhat.com>
4885         [BZ #19610]
4886         * elf/ldconfig.c (opt_link): Update comment.
4887         (options): Update help string for option -X.
4888         (search_dir): Unlink stale symbolic link only if updating symbolic
4889         links.
4890         * elf/tst-ldconfig-X.sh: New file.
4891         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
4892         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
4894 2016-03-07  Andreas Schwab  <schwab@suse.de>
4896         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
4897         needed arguments.
4899 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
4901         [BZ #15333]
4902         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
4903         to lstat64.
4905 2016-03-07  Florian Weimer  <fweimer@redhat.com>
4907         * libio/filedoalloc.c (isatty): Remove.
4908         (local_isatty): Add comment.  Call __isatty directly.
4909         (_IO_file_doallocate): Update comment.  Assume _LIBC.
4910         * libio/wfiledoalloc.c (isatty): Remove.
4911         (_IO_wfile_doallocate): Update comment.
4913 2016-03-07  Florian Weimer  <fweimer@redhat.com>
4915         [BZ #19269]
4916         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
4917         tst-audit4-aux.o.
4918         (tst-audit10): Depend on tst-audit10-aux.o.
4919         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
4920         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
4921         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
4922         instead of inline AVX code.
4923         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
4924         instead of inline AVX512 code.
4925         * sysdeps/x86_64/tst-audit4-aux.c: New file
4926         * sysdeps/x86_64/tst-audit10-aux.c: New file
4928         [BZ #19648]
4929         * test-skeleton.c (main): Do not set RLIMIT_DATA.
4931 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4933         [BZ #14750]
4934         [BZ #10354]
4935         [BZ #18433]
4936         * include/sched.h (__clone): Add hidden prototype.
4937         (__clone2): Likewise.
4938         * include/unistd.h (__dup): Likewise.
4939         * posix/Makefile (tests): Add tst-spawn2.
4940         * posix/tst-spawn2.c: New file.
4941         * sysdeps/posix/dup.c (__dup): Add hidden definition.
4942         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
4943         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
4944         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
4945         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
4946         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
4947         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
4948         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
4949         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
4950         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
4951         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
4952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
4953         Likewise.
4954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
4955         Likewise.
4956         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
4957         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
4958         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
4959         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
4960         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
4961         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
4962         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
4963         * sysdeps/unix/sysv/linux/nptl-signals.h
4964         (____nptl_is_internal_signal): New function.
4965         * sysdeps/unix/sysv/linux/spawni.c: New file.
4967         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
4968         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
4969         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
4970         * posix/tst-execvp2.c (do_test): Likewise.
4971         * posix/tst-execvp3.c (do_test): Likewise.
4972         * posix/tst-execvp4.c (do_test): Likewise.
4973         * posix/tst-execvpe1.c: New file.
4974         * posix/tst-execvpe2.c: Likewise.
4975         * posix/tst-execvpe3.c: Likewise.
4976         * posix/tst-execvpe4.c: Likewise.
4977         * posix/tst-execvpe5.c: Likewise.
4978         * posix/tst-execvpe6.c: Likewise.
4980         [BZ #19534]
4981         * posix/execl.c (execl): Remove dynamic memory allocation.
4982         * posix/execle.c (execle): Likewise.
4983         * posix/execlp.c (execlp): Likewise.
4985 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
4987         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
4988         Replace .text with .text.avx512.
4989         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
4990         Likewise.
4992 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
4994         * sysdeps/generic/libnsl.abilist: New file.
4995         * sysdeps/generic/libutil.abilist: New file.
4997 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
4999         [BZ #19762]
5000         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
5001         HAS_ARCH_FEATURE with Fast_Rep_String.
5002         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
5003         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
5004         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
5005         Likewise.
5006         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
5007         Likewise.
5008         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
5009         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
5010         Likewise.
5011         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
5012         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
5013         Likewise.
5015 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
5017         [BZ #19745]
5018         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
5019         with *%rax in call.
5021 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
5023         [BZ #19745]
5024         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
5025         with *__libc_start_main@GOTPCREL(%rip) in call.
5027 2016-03-04  Roland McGrath  <roland@hack.frob.com>
5029         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
5030         inside conditional for nonempty $(CXX).
5032         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
5033         nonempty.
5035         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
5036         to test for empty $(CXX) rather than $(CXX) of "no".
5038 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
5040         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
5042 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
5043             H.J. Lu  <hongjiu.lu@intel.com>
5045         [BZ #18880]
5046         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
5047         instead of Slow_BSF, and also check for Fast_Copy_Backward to
5048         enable __memcpy_ssse3_back.
5050 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
5052         [BZ #19758]
5053         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
5054         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
5056 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
5058         [BZ #19490]
5059         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
5060         (__fentry__): Likewise.
5062 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
5064         * gmon/Makefile (noprof): Add $(sysdep_noprof).
5065         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
5067 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
5069         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
5070         __mcount_internal directly.
5071         (C_LABEL(__fentry__)): Likewise.
5072         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
5073         directly.
5075 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
5077         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
5078         (__start_context): Call __setcontext directly.
5080 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
5082         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5083         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5084         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
5085         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
5086         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5087         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5088         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
5089         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5090         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5091         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
5092         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
5093         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
5094         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5095         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5096         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5097         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5098         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
5099         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5100         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5101         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
5102         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
5103         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5104         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5105         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
5106         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
5107         Remove conditional code.
5108         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5109         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
5110         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5111         * sysdeps/unix/sysv/linux/sh/kernel-features.h
5112         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
5113         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5114         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
5115         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5116         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5117         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5118         * sysdeps/unix/sysv/linux/tile/kernel-features.h
5119         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5121 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
5123         * NEWS (2.23): Fix typo in bug 19048 text.
5125 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
5127         [BZ #14259]
5128         * Makeconfig: Rename msgcatdir to localedir.
5129         Rename inst_msgcatdir to inst_localedir.
5130         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
5131         * config.make.in: Add localedir.
5132         * elf/Makefile ($(objpfx)sotruss): Use localedir.
5133         (ldd-rewrite): Likewise.
5134         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
5135         (install-others): Use inst_localedir.
5136         (CPPFLAGS): Use localedir.
5137         * locale/Makefile (locale-CPPFLAGS): Likewise.
5138         * po/Makefile (mo-installed): Use inst_localedir.
5140         [BZ #19575]
5141         * localedata/charmaps/GB18030: Update comments regarding PAU to
5142         non-PUA mappings.
5144 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
5146         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
5147         test for header.
5148         * sysdeps/unix/sysv/linux/configure: Regenerated.
5149         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
5150         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
5151         Remove conditional code.
5152         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
5154         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
5155         Define to 3.2.0.
5156         (arch_minimum_kernel): Likewise.
5157         * sysdeps/unix/sysv/linux/configure: Regenerated.
5158         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
5159         Define to 2.6.32.
5160         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
5161         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
5162         (arch_minimum_kernel): Define to 2.6.32.
5163         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
5164         * README: Document Linux 3.2 requirement.
5165         * manual/install.texi (Linux): Document Linux 3.2 headers
5166         requirement.
5167         * INSTALL: Regenerated.
5169 2016-02-24  Andreas Schwab  <schwab@suse.de>
5171         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
5172         if !NO_LONG_DOUBLE.
5174 2016-02-22  Roland McGrath  <roland@hack.frob.com>
5176         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
5177         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
5179 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
5181         [BZ #19512]
5182         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
5184 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
5186         * posix/tst-dir.c: Include libc-internal.h.
5188 2016-02-20  Florian Weimer  <fweimer@redhat.com>
5190         [BZ #19056]
5191         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
5192         * manual/filesys.texi (Reading/Closing Directory): Mention
5193         deprecaion.
5194         * posix/tst-dir.c (main): Disable deprecation warning in test.
5196 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
5198         [BZ #19679]
5199         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
5200         Renamed to ...
5201         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
5202         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
5203         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
5204         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
5205         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
5206         * sysdeps/x86_64/dl-trampoline.h
5207         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
5208         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
5210 2016-02-19  Mark Wielaard  <mjw@redhat.com>
5212         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
5214 2016-02-19  Mark Wielaard  <mjw@redhat.com>
5216         * elf/elf.h (R_386_GOT32X): New.
5217         (R_386_NUM): Update.
5218         (R_X86_64_GOTPCRELX: New.
5219         (R_X86_64_REX_GOTPCRELX): New.
5220         (R_X86_64_NUM): Update.
5222 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
5224         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
5226 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
5228         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
5229         assign attr->stackaddr to it, and adjust it down when
5230         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
5231         [_STACK_GROWS_UP]: Delete assert.
5232         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
5233         Implement stack grows up logic.
5234         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
5235         stack grows up logic.
5237 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5239         * NEWS: Update with 2.24 template.
5241 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
5243         [BZ #19678]
5244         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
5245         Ensure +0.0 is returned when taking the next value below the least
5246         positive value.
5248 2016-02-19  Florian Weimer  <fweimer@redhat.com>
5250         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
5251         available.  Do not define NO_THREADS.
5252         * malloc/malloc.c: Do not check NO_THREADS.
5253         * malloc/arena.c: Likewise.
5255 2016-02-19  Florian Weimer  <fweimer@redhat.com>
5257         * malloc/malloc.c (__libc_mallinfo): Update comment.
5258         (struct malloc_par): Remove max_total_mem member, it was always 0.
5259         (int_mallinfo): Store 0 into usmblks (no functional change).
5260         * malloc/hooks.c (struct malloc_state): Document that
5261         max_total_mem is always 0.
5262         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
5263         always 0.
5264         * manual/memory.texi (Statistics of Malloc): Likewise.
5266 2016-02-19  Florian Weimer  <fweimer@redhat.com>
5268         * malloc/malloc.c (sysmalloc): Do not update arena_max.
5269         * malloc/arena.c (arena_max): Remove.
5270         (heap_trim, _int_new_arena): Do not update arena_max.
5272 2016-02-19  Florian Weimer  <fweimer@redhat.com>
5274         * resolv/res_init.c (res_ninit): Update comment.
5276 2016-02-19  Florian Weimer  <fweimer@redhat.com>
5278         [BZ #19505]
5279         * posix/spawn_int.h: Add headers and include guard.
5280         (__spawn_valid_fd): New function.
5281         * posix/spawn_faction_addopen.c
5282         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
5283         * posix/spawn_faction_addclose.c
5284         (posix_spawn_file_actions_addclose): Likewise.
5285         * posix/spawn_faction_adddup2.c
5286         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
5287         second file descriptor.
5288         * posix/spawn_valid_fd.c: New file.
5289         * posix/tst-posix_spawn-fd.c: New file.
5290         * posix/Makefile (routines): Add spawn_valid_fd.
5291         (tests): Add tst-posix_spawn-fd.
5293 2016-02-19  Florian Weimer  <fweimer@redhat.com>
5295         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
5296         (do_test): Limit the number of arenas, so that we can use fewer
5297         outer threads.  Limit timeout to 3 seconds, in preparation for a
5298         larger TIMEOUT value.
5300 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
5302         [BZ #19674]
5303         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
5304         sign in overflowing and underflowing results when overflow or
5305         underflow is detected early.  Include sign in result before rather
5306         than after scaling.
5308         [BZ #19603]
5309         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
5310         (__ieee754_remainderl): Adjust sign of integer version of low part
5311         when taking absolute value of high part.
5312         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5313         * math/libm-test.inc (remainder_test_data): Add another test.
5314         (remquo_test_data): Likewise.
5316 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
5318         [BZ #19602]
5319         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
5320         equal high parts and both low parts zero specially.
5321         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
5322         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
5323         Add test-fmodl-ldbl-128ibm.
5325         [BZ #19595]
5326         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
5327         common logic for all cases of shifting subnormal results.  Do not
5328         insert sign bit in shifted mantissa.  Always pass -1023 as biased
5329         exponent to ldbl_insert_mantissa in subnormal case.
5331         [BZ #19594]
5332         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
5333         on high and low parts then adjust result and use
5334         ldbl_canonicalize_int if needed.
5336         [BZ #19593]
5337         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
5338         on high part and __floor or __ceil on low part then use
5339         ldbl_canonicalize_int if needed.
5341         [BZ #19592]
5342         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
5343         high and low parts then use ldbl_canonicalize_int if needed.
5345         [BZ #17899]
5346         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
5347         New function.
5348         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
5349         on high and low parts then use ldbl_canonicalize_int if needed.
5351 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5353         * configure: Regenerated.
5355         * po/libc.pot: Regenerated.
5357         * po/be.po: Updated translation.
5358         * po/bg.po: Likewise.
5359         * po/ca.po: Likewise.
5360         * po/cs.po: Likewise.
5361         * po/da.po: Likewise.
5362         * po/el.po: Likewise.
5363         * po/eo.po: Likewise.
5364         * po/es.po: Likewise.
5365         * po/fi.po: Likewise.
5366         * po/fr.po: Likewise.
5367         * po/gl.po: Likewise.
5368         * po/hr.po: Likewise.
5369         * po/hu.po: Likewise.
5370         * po/ia.po: Likewise.
5371         * po/id.po: Likewise.
5372         * po/it.po: Likewise.
5373         * po/ja.po: Likewise.
5374         * po/lt.po: Likewise.
5375         * po/nb.po: Likewise.
5376         * po/nl.po: Likewise.
5377         * po/pt_BR.po: Likewise.
5378         * po/rw.po: Likewise.
5379         * po/sk.po: Likewise.
5380         * po/sl.po: Likewise.
5381         * po/sv.po: Likewise.
5382         * po/tr.po: Likewise.
5383         * po/zh_CN.po: Likewise.
5384         * po/zh_TW.po: Likewise.
5386         * version.h (RELEAES): Set to "development".
5387         (VERSION): Set to 2.23.90.
5389         * version.h (RELEASE): Set to "stable".
5390         (VERSION): Set to 2.23.
5391         * include/feature.h (__GLIBC_MINOR__): Set to 23.
5393         * NEWS: Updated fixed bugs.
5395 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
5396             Wilco Dijkstra  <wdijkstr@arm.com>
5398         [BZ #19462]
5399         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
5400         (_STRING_INLINE_unaligned): This.
5401         * include/string.h: Include <string_private.h>.
5402         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
5403         _STRING_INLINE_unaligned.
5404         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
5405         (_STRING_INLINE_unaligned): New.
5406         * sysdeps/aarch64/string_private.h: New file.
5407         * sysdeps/generic/string_private.h: Likewise.
5408         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
5409         * sysdeps/s390/string_private.h: Likewise.
5410         * sysdeps/x86/string_private.h: Likewise.
5411         * sysdeps/m68k/m680x0/m68020/bits/string.h
5412         (_STRING_ARCH_unaligned): Renamed to ...
5413         (_STRING_INLINE_unaligned): This.
5414         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
5415         to ...
5416         (_STRING_INLINE_unaligned): This.
5417         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
5418         to ...
5419         (_STRING_INLINE_unaligned): This.
5420         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
5421         to ...
5422         (_STRING_INLINE_unaligned): This.
5424 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
5425             H.J. Lu  <hongjiu.lu@intel.com>
5427         [BZ #19590]
5428         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
5429         relocation.
5431 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
5433         [BZ #18665]
5434         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
5435         *herrno_p.
5436         (gaih_getanswer): Document functional behviour. Return tryagain
5437         if any result is tryagain.
5438         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
5439         when freed.
5440         * resolv/res_send.c: Add copyright text.
5441         (__libc_res_nsend): Document that MAXPACKET is expected.
5442         (send_vc): Document. Remove buffer reuse.
5443         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
5444         size of the buffer. Add Dprint for truncated UDP buffer.
5446 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
5448         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
5449         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
5450         * INSTALL: Regenerate.
5452 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
5453             Jonathan Wakely  <jwakely@redhat.com>
5454             Carlos O'Donell  <carlos@redhat.com>
5456         [BZ 19439]
5457         * math/Makefile (tests): Add test-math-isinff.
5458         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
5459         * math/bits/mathcalls.h [__USE_MISC]: Use
5460         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
5461         functions not in C++11 and which don't conflict e.g. isinff,
5462         isinfl etc.
5463         * math/test-math-isinff.cc: New file.
5465 2016-02-12  Florian Weimer  <fweimer@redhat.com>
5467         * misc/bug18240.c (do_test): Set RLIMIT_AS.
5469 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5471         [BZ #19529]
5472         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
5474 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5476         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
5478 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
5480         [BZ #19550]
5481         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
5482         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
5483         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
5484         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
5485         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
5486         New syscall entry.
5487         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
5488         New syscall entry.
5489         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
5490         syscall entry.
5492 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
5494         [BZ #18240]
5495         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
5496         unsigned int wraparound.
5498 2016-01-27  Florian Weimer  <fweimer@redhat.com>
5500         [BZ #18240]
5501         * misc/bug18240.c: New test.
5502         * misc/Makefile (tests): Add it.
5504 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
5505             Joseph Myers  <joseph@codesourcery.com>
5507         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
5508         load in branch delay slot when less than a word of input left.
5510 2016-01-27  Andreas Schwab  <schwab@suse.de>
5512         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
5513         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
5514         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
5515         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
5517 2016-01-26  David S. Miller  <davem@davemloft.net>
5519         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
5521 2016-01-25  David S. Miller  <davem@davemloft.net>
5523         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
5524         __sqrtl_finite.
5525         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
5526         instead using versioned_symbol.
5527         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
5528         of entries.
5530         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
5531         __sqrtl_finite to GLIBC_2.23
5533 2016-01-25  Ricchard Henderson  <rth@redhat.com>
5535         * sysdeps/alpha/fpu/libm-test-ulps: Update.
5537 2016-01-25  Andreas Schwab  <schwab@suse.de>
5539         [BZ #17514]
5540         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
5541         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
5542         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
5543         * nptl/tst-mutex-errorcheck.c: New file.
5545 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5547         [BZ #18560]
5548         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
5549         (IPCOP_semop): Likewise.
5550         (IPCOP_semget): Likewise.
5551         (IPCOP_semctl): Likewise.
5552         (IPCOP_msgsnd): Likewise.
5553         (IPCOP_msgrcv): Likewise.
5554         (IPCOP_msgget): Likewise.
5555         (IPCOP_msgctl): Likewise.
5556         (IPCOP_shmat): Likewise.
5557         (IPCOP_shmdt): Likewise.
5558         (IPCOP_shmget): Likewise.
5559         (IPCOP_shmctl): Likewise.
5561 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
5563         * string/tst-endian.c: Include <libc-internal.h>.
5564         (do_test): Ignore tautological-compare warnings around
5565         "htobeXX (beXXtoh (i)) != i" and
5566         "htoleXX (leXXtoh (i)) != i" if-statements.
5568 2016-01-24  David S. Miller  <davem@davemloft.net>
5570         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
5571         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
5572         alias.
5573         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
5574         __sqrtl_finite.
5576         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5578 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
5580         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
5581         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
5582         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
5584 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5586         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
5587         (thread_func): Use new function to simplify barrier check.
5588         (do_test): Use new function to simplify checking barrier exit
5589         code, and actually join the child thread.
5591 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5593         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
5594         semicolon.
5595         (__libc_tend): Likewise.
5596         (__libc_tabort): Likewise.
5598 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
5600         * sysdeps/nios2/libm-test-ulps: Update.
5601         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
5602         (__gtsf2): Likewise.
5603         (__unorddf2): Likewise.
5604         (__unordsf2): Likewise.
5605         (__ledf2): Likewise.
5607 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
5609         * nis/nis_table.c (__follow_path): Disable diagnostic for
5610         uninitialized variable that is a false positive for gcc 4.7.
5611         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
5613 2016-01-20  Roland McGrath  <roland@hack.frob.com>
5615         * sysdeps/nacl/lowlevellock-futex.h
5616         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
5617         Always evaluate PRIVATE argument.
5619 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
5621         [BZ #19490]
5622         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
5623         (pthread_cond_broadcast): Use ENTRY/END
5624         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
5625         (pthread_cond_signal): Likewise.
5626         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
5627         Likewise.
5628         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
5629         Likewise.
5630         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
5631         Likewise.
5633 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
5635         * sysdeps/ieee754/dbl-64/s_finite.c
5636         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
5637         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
5638         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
5639         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
5640         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
5642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
5643         (__gtsf2): Add as optional for libc.so.
5644         (__unordsf2): Likewise.
5645         (__signbit): Remove for libc.so.
5646         (__signbitl): Likewise.
5648 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
5650         * iconvdata/bug-iconv11.c (test_ibm93x):
5651         Use %zu printf format specifier for size_t argument.
5653 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
5655         * math/gen-libm-test.pl (parse_ulps): Do not reduce
5656         already-recorded ulps.
5657         * sysdeps/arm/libm-test-ulps: Regenerated.
5658         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
5659         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5660         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
5662 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
5663             Paul Pluzhnikov  <ppluzhnikov@google.com>
5665         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
5666         assembler not supporting AVX-512.
5668 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
5670         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5672 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
5674         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
5675         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5677         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5679         * sysdeps/arm/libm-test-ulps: Regenerated.
5681 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
5683         [BZ #19451]
5684         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
5686 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
5688         [BZ #19486]
5689         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
5690         * sysdeps/generic/fix-fp-int-convert-overflow.h
5691         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
5692         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
5693         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
5694         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
5695         Likewise.
5696         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
5697         Avoid conversions to long int where inexact exceptions
5698         could be raised.
5699         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
5700         Likewise.
5701         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
5702         Avoid conversions to long long int where inexact exceptions
5703         could be raised.
5704         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
5705         Likewise.
5707 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
5709         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
5710         * configure: Regenerated.
5712 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
5714         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
5716 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
5718         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
5719         outside of comment.
5721 2016-01-15  Torvald Riegel  <triegel@redhat.com>
5723         * nptl/tst-barrier1.c: Add description on first line.
5724         * nptl/tst-barrier2.c: Likewise.
5725         * nptl/tst-barrier3.c: Likewise.
5726         * nptl/tst-barrier4.c: Likewise.
5727         * nptl/tst-barrier5.c: Likewise.
5729 2016-01-15  Torvald Riegel  <triegel@redhat.com>
5731         [BZ #18868]
5732         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
5734 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
5736         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
5737         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
5738         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
5739         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
5740         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
5741         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
5742         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
5743         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
5744         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
5745         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
5746         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
5748 2016-01-15  Torvald Riegel  <triegel@redhat.com>
5750         [BZ #13065]
5751         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
5752         new implementation.
5753         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
5754         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
5755         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
5756         (BARRIER_IN_THRESHOLD): New macro.
5757         * nptl/pthread_barrierattr_setpshared.c
5758         (pthread_barrierattr_setpshared): Clean up.
5759         * nptl/tst-barrier4.c: Correct comment.
5760         * nptl/tst-barrier5.c: New file.
5761         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
5762         (gen-as-const-headers): Remove lowlevelbarrier.sym.
5763         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
5764         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
5765         * nptl/lowlevelbarrier.sym: Remove.
5766         * nptl/DESIGN-barrier.txt: Remove.
5767         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
5768         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
5769         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
5770         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
5771         error.
5772         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
5773         implementation.
5775 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5777         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
5778         (do_child): Mask SIGRTMIN while thr is running.
5780 2016-01-15  Martin Sebor  <msebor@redhat.com>
5782         [BZ #19432]
5783         * iconvdata/Makefile: Add bug-iconv11.
5784         * iconvdata/bug-iconv11.c: New test.
5785         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
5786         * iconvdata/ibm933.c: Same.
5787         * iconvdata/ibm935.c: Same.
5788         * iconvdata/ibm937.c: Same.
5789         * iconvdata/ibm939.c: Same.
5791 2016-01-15  Martin Sebor  <msebor@redhat.com>
5793         [BZ #19443]
5794         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
5795         [DEBUG] (_ufc_set_bits): Declare used.
5796         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
5797         [DEBUG] (print_all): Declare used.
5798         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
5799         operands of the ternary ?: expression to target type.
5800         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
5801         calling the undeclared abort.
5802         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
5804 2016-01-15  Martin Sebor  <msebor@redhat.com>
5806         [BZ #18755]
5807         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
5808         warnings.
5809         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
5810         (__gai_create_helper_thread): Same.
5811         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
5812         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
5813         to suppress -Wmaybe-uninitialized warnings.
5815 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
5817         [BZ #19465]
5818         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
5819         inside if.
5820         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5821         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5822         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5824 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
5826         [BZ #19466]
5827         * time/tst-mktime2.c (time_t_max): Removed.
5828         (time_t_min): Likewise.
5829         (TYPE_SIGNED): New.
5830         (TYPE_MINIMUM): Likewise.
5831         (TYPE_MAXIMUM): Likewise.
5832         (TIME_T_MIN): Likewise.
5833         (TIME_T_MAX): Likewise.
5834         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
5835         and TIME_T_MIN.
5836         (do_test): Likewise.
5838 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
5840         [BZ #19467]
5841         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
5842         index_Fast_Unaligned_Load flag for Excavator family CPUs.
5844 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
5846         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
5848 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
5850         * benchtests/Makefile (PYTHON): Define.
5851         (bench-func): Use $(PYTHON) to run python scripts.
5852         ($(objpfx)bench-%.c): Likewise.
5854 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
5856         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
5857         leading slash when `file_name' is "/".
5859 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
5861         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
5862         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
5863         Likewise.
5864         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
5865         Likewise.
5866         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
5867         Likewise.
5868         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
5869         enum constant and macro.
5870         (PTRACE_SETSIGMASK): Likewise.
5871         (PTRACE_SECCOMP_GET_FILTER): Likewise.
5872         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
5873         (PTRACE_GETSIGMASK): Likewise.
5874         (PTRACE_SETSIGMASK): Likewise.
5875         (PTRACE_SECCOMP_GET_FILTER): Likewise.
5876         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
5877         Likewise.
5878         (PTRACE_SETSIGMASK): Likewise.
5879         (PTRACE_SECCOMP_GET_FILTER): Likewise.
5880         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
5881         (PTRACE_GETSIGMASK): Likewise.
5882         (PTRACE_SETSIGMASK): Likewise.
5883         (PTRACE_SECCOMP_GET_FILTER): Likewise.
5884         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
5885         Likewise.
5886         (PTRACE_SETSIGMASK): Likewise.
5887         (PTRACE_SECCOMP_GET_FILTER): Likewise.
5888         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
5889         Likewise.
5890         (PTRACE_SETSIGMASK): Likewise.
5891         (PTRACE_SECCOMP_GET_FILTER): Likewise.
5892         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
5893         Likewise.
5894         (PTRACE_SETSIGMASK): Likewise.
5895         (PTRACE_SECCOMP_GET_FILTER): Likewise.
5897 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
5898             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5900         [BZ #19439]
5901         * math/bits/mathcalls.h
5902         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
5903         prototype.
5904         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
5906 2016-01-11  Andreas Schwab  <schwab@suse.de>
5908         [BZ #19253]
5909         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
5910         cache when TZDEFRULES was used.
5911         * time/tst-tzname.c: New file.
5912         * time/Makefile (test): Add tst-tzname.
5913         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
5914         * timezone/Makefile (test-zones): Add $(posixrules-file).
5915         ($(testdata)/$(posixrules-file)): New rule.
5917 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
5919         Fix doc quoting problems with Texinfo 5
5920         Without this change, in the info file output, Texinfo 5 quotes code
5921         in text with undirected single quotes 'like this' and generates
5922         code examples that with many PDF readers cannot be cut out of PDFs
5923         and pasted into code.
5924         * manual/libc.texinfo: Configure the libc manual like the GNU
5925         Emacs manual, by using @documentencoding and setting
5926         txicodequoteundirected and txicodequotebacktick.  This way,
5927         Texinfo 5 quotes code in text with directed single quotes ‘like
5928         this’ and produces examples that can be cut out of PDFs.  This
5929         change causes Texinfo 5 to generate info files that contain UTF-8
5930         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
5931         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
5933 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5935         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
5936         __libc_tabort, __libc_tend): New wrappers that enforce compiler
5937         barriers to their respective compiler built-ins.
5938         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
5939         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
5940         * sysdeps/powerpc/sysdep.h: Likewise.
5941         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
5942         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
5943         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
5945 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
5947         * scripts/config.guess: Revert previous shebang change.
5948         * scripts/config.sub: Likewise.
5949         * scripts/mkinstalldirs: Likewise.
5951 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5953         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
5954         PPC_FEATURE2_HAS_IEEE128.
5955         * sysdeps/powerpc/dl-procinfo.c:
5956         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
5958 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
5960         [BZ #19415]
5961         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
5962         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
5963         (_dl_lookup_address): Rewrite using function resolver trampoline.
5964         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
5965         two bits in address.
5967 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
5969         * longlong.h: Change !__SHMEDIA__ to
5970         (!defined (__SHMEDIA__) || !__SHMEDIA__).
5971         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
5973 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
5974             Joseph Myers  <joseph@codesourcery.com>
5975             Mark Shinwell  <shinwell@codesourcery.com>
5976             Andrew Stubbs  <ams@codesourcery.com>
5977             Rich Felker <dalias@libc.org>
5979         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
5981 2016-01-07  Richard Henderson  <rth@redhat.com>
5983         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
5985 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
5987         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
5988         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
5989         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
5990         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
5991         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
5993 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
5994             Joseph Myers  <joseph@codesourcery.com>
5996         * timezone/private.h: Update from tzcode 2015g.
5997         * timezone/tzfile.h: Likewise.
5998         * timezone/tzselect.ksh: Likewise.
5999         * timezone/zdump.c: Likewise.
6000         * timezone/zic.c: Likewise.
6001         * timezone/ialloc.c: Remove file.
6002         * timezone/scheck.c: Likewise.
6003         * timezone/Makefile (extra-objs): Remove variable.
6004         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
6005         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
6006         -Wno-maybe-uninitialized.
6007         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
6008         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
6009         (CFLAGS-ialloc.c): Remove variable.
6010         (CFLAGS-scheck.c): Likewise.
6011         * timezone/README: Update list of files from tzcode.
6013 2016-01-07  Khem Raj  <raj.khem@gmail.com>
6015         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
6016         instead of __fxprintf when _LIBC is undefined.
6018 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
6020         * catgets/test-gencat.sh: Remove space after shebang.
6021         * conform/GlibcConform.pm: Likewise.
6022         * conform/check-header-lists.sh: Likewise.
6023         * conform/conformtest.pl: Likewise.
6024         * conform/linknamespace.pl: Likewise.
6025         * conform/list-header-symbols.pl: Likewise.
6026         * debug/catchsegv.sh: Likewise.
6027         * elf/genrtldtbl.awk: Likewise.
6028         * elf/tst-pathopt.sh: Likewise.
6029         * elf/tst-rtld-load-self.sh: Likewise.
6030         * grp/tst_fgetgrent.sh: Likewise.
6031         * iconvdata/gen-8bit-gap-1.sh: Likewise.
6032         * iconvdata/gen-8bit-gap.sh: Likewise.
6033         * iconvdata/gen-8bit.sh: Likewise.
6034         * iconvdata/run-iconv-test.sh: Likewise.
6035         * intl/tst-gettext.sh: Likewise.
6036         * intl/tst-gettext2.sh: Likewise.
6037         * intl/tst-gettext4.sh: Likewise.
6038         * intl/tst-gettext6.sh: Likewise.
6039         * intl/tst-translit.sh: Likewise.
6040         * io/ftwtest-sh: Likewise.
6041         * libio/test-freopen.sh: Likewise.
6042         * locale/gen-translit.pl: Likewise.
6043         * malloc/tst-mtrace.sh: Likewise.
6044         * manual/check-safety.sh: Likewise.
6045         * manual/libc-texinfo.sh: Likewise.
6046         * manual/tsort.awk: Likewise.
6047         * manual/xtract-typefun.awk: Likewise.
6048         * nptl/tst-cancel-wrappers.sh: Likewise.
6049         * nptl/tst-tls6.sh: Likewise.
6050         * posix/globtest.sh: Likewise.
6051         * posix/tst-getconf.sh: Likewise.
6052         * posix/wordexp-tst.sh: Likewise.
6053         * scripts/check-c++-types.sh: Likewise.
6054         * scripts/check-local-headers.sh: Likewise.
6055         * scripts/config.guess: Likewise.
6056         * scripts/config.sub: Likewise.
6057         * scripts/cpp: Likewise.
6058         * scripts/cross-test-ssh.sh: Likewise.
6059         * scripts/documented.sh: Likewise.
6060         * scripts/evaluate-test.sh: Likewise.
6061         * scripts/gen-libc-abis: Likewise.
6062         * scripts/gen-sorted.awk: Likewise.
6063         * scripts/list-fixed-bugs.py: Likewise.
6064         * scripts/merge-test-results.sh: Likewise.
6065         * scripts/mkinstalldirs: Likewise.
6066         * scripts/rellns-sh: Likewise.
6067         * scripts/test-installation.pl: Likewise.
6068         * scripts/update-copyrights: Likewise.
6069         * stdio-common/tst-printf.sh: Likewise.
6070         * stdio-common/tst-unbputc.sh: Likewise.
6071         * stdlib/tst-fmtmsg.sh: Likewise.
6072         * stdlib/tst-setcontext3.sh: Likewise.
6073         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
6074         * sysdeps/unix/make-syscalls.sh: Likewise.
6076 2016-01-06  John David Anglin  <dave.anglin@bell.net>
6078         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
6079         asm stw with atomic_exchange_rel.  Add explanatory comment.
6080         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
6081         Likewise.
6083 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
6085         [BZ #19122]
6086         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
6087         * sysdeps/generic/dl-unistd.h: New file.
6088         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
6090 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
6092          [BZ #19122]
6093          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
6094          * sysdeps/generic/dl-mman.h: New file.
6095          * sysdeps/mach/hurd/dl-mman.h: Likewise.
6097 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
6099         * manual/texinfo.tex: Update to version 2016-01-04.21 with
6100         trailing whitespace removed.
6101         * scripts/config.guess: Update to version 2016-01-01.
6102         * scripts/config.sub: Update to version 2016-01-01.
6103         * scripts/move-if-change: Update from gnulib.
6105 2016-01-04  Anton Blanchard  <anton@samba.org>
6107         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
6108         for array indices.
6109         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
6111 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
6113         * NEWS: Update copyright dates.
6114         * catgets/gencat.c (print_version): Likewise.
6115         * csu/version.c (banner): Likewise.
6116         * debug/catchsegv.sh: Likewise.
6117         * debug/pcprofiledump.c (print_version): Likewise.
6118         * debug/xtrace.sh (do_version): Likewise.
6119         * elf/ldconfig.c (print_version): Likewise.
6120         * elf/ldd.bash.in: Likewise.
6121         * elf/pldd.c (print_version): Likewise.
6122         * elf/sotruss.sh: Likewise.
6123         * elf/sprof.c (print_version): Likewise.
6124         * iconv/iconv_prog.c (print_version): Likewise.
6125         * iconv/iconvconfig.c (print_version): Likewise.
6126         * locale/programs/locale.c (print_version): Likewise.
6127         * locale/programs/localedef.c (print_version): Likewise.
6128         * login/programs/pt_chown.c (print_version): Likewise.
6129         * malloc/memusage.sh (do_version): Likewise.
6130         * malloc/memusagestat.c (print_version): Likewise.
6131         * malloc/mtrace.pl: Likewise.
6132         * manual/libc.texinfo: Likewise.
6133         * nptl/version.c (banner): Likewise.
6134         * nscd/nscd.c (print_version): Likewise.
6135         * nss/getent.c (print_version): Likewise.
6136         * nss/makedb.c (print_version): Likewise.
6137         * posix/getconf.c (main): Likewise.
6138         * scripts/test-installation.pl: Likewise.
6139         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
6141         * All files with FSF copyright notices: Update copyright dates
6142         using scripts/update-copyrights.
6143         * intl/plural.c: Regenerated.
6144         * locale/programs/charmap-kw.h: Likewise.
6145         * locale/programs/locfile-kw.h: Likewise.
6147 2016-01-02  Helge Deller  <deller@gmx.de>
6149         [BZ #19285]
6150         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
6151         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
6152         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
6153         (MADV_xxK_PAGES): Remove.
6155 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
6157         [BZ #15421]
6158         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
6159         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
6160         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
6161         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
6163 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
6165         [BZ #19408]
6166         * sysdeps/unix/sysv/linux/personality.c: New file.
6167         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
6168         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
6169         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
6170         (sysdep_routines): Add personality.
6171         (tests): Add tst-personality.
6172         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
6173         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
6174         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
6175         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
6176         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
6177         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
6178         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
6179         Likewise.
6180         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
6181         Likewise.
6182         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
6183         Likewise.
6184         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
6185         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
6186         Likewise.
6188 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
6190         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
6191         (PATH_ARM_SYSTYPE): Remove.
6192         (PATH_CPUINFO): Likewise.
6193         (IO_BASE_FOOTBRIDGE): Likewise.
6194         (IO_SHIFT_FOOTBRIDGE): Likewise.
6195         (struct platform): Likewise.
6196         (init_iosys): Remove compatibility code for 2.4 kernels.
6197         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
6199 2015-12-29  Florian Weimer  <fweimer@redhat.com>
6201         * malloc/tst-malloc-thread-fail.c: New file.
6202         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
6203         (tst-malloc-thread-fail): Link against libpthread.
6205 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
6207         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
6208         (get_parser): New function.
6209         (main): New function.
6211 2015-12-29  Rob Wu  <rob@robwu.nl>
6213         [BZ #19369]
6214         * resolv/res_init.c (__res_vinit): Reset defdname before use.
6216 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
6218         [BZ #19270]
6219         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
6221 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
6223         [BZ #15421]
6224         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
6226 2015-12-23  Torvald Riegel  <triegel@redhat.com>
6228         [BZ #13690]
6229         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
6230         after releasing it.
6231         (__lll_robust_unlock): Likewise.
6232         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
6233         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
6234         (lll_robust_unlock): Likewise.
6235         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
6236         Prevent warnings in callers.
6238 2015-12-23  Florian Weimer  <fweimer@redhat.com>
6240         * malloc/arena.c (list_lock): Update comment.
6242 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6244         * sysdeps/powerpc/hwcapinfo.c: Export symbol
6245         __parse_hwcap_and_convert_at_platform to libc.a.
6247 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6249         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
6250         platform and feature support for POWER9.
6251         * sysdeps/powerpc/dl-procinfo.h: Likewise.
6252         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
6253         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
6254         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
6255         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
6256         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
6257         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
6258         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
6260 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6262         Harmonize generic stdio-lock support with nptl
6264         This fixes build when _IO_funlockfile is a macro, fixes build where
6265         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
6266         stack unwind.
6268         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
6269         _IO_release_lock ): Use cleanup attribute on new
6270         _IO_acquire_lock_file variable instead of assuming that
6271         _IO_release_lock will be called.
6272         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
6273         _IO_acquire_lock_needs_exceptions_enabled.
6274         (_IO_acquire_lock_clear_flags2): New macro.
6276 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6278         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
6280 2015-12-21  Florian Weimer  <fweimer@redhat.com>
6282         [BZ #19182]
6283         * malloc/arena.c (list_lock): Document lock ordering requirements.
6284         (free_list_lock): New lock.
6285         (ptmalloc_lock_all): Comment on free_list_lock.
6286         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
6287         (detach_arena): Update comment.  free_list_lock is now needed.
6288         (_int_new_arena): Use free_list_lock around detach_arena call.
6289         Acquire arena lock after list_lock.  Add comment, including FIXME
6290         about incorrect synchronization.
6291         (get_free_list): Switch to free_list_lock.
6292         (reused_arena): Acquire free_list_lock around detach_arena call
6293         and attached threads counter update.  Add two FIXMEs about
6294         incorrect synchronization.
6295         (arena_thread_freeres): Switch to free_list_lock.
6296         * malloc/malloc.c (struct malloc_state): Update comments to
6297         mention free_list_lock.
6299 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
6301         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
6302         Remove functions.
6303         (sloww, sloww1): Accept argument to offset quadrant.
6304         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
6305         quadrant.
6306         (__sin, __cos): Consolidate common code into new functions.
6307         (reduce_sincos_1, do_sincos_1): New functions.
6308         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
6310         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
6311         code to new functions.
6312         (reduce_sincos_2, do_sincos_2): New functions.
6313         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
6315         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
6316         common code for sincos.
6317         (__cos) [!IN_SINCOS]: Likewise.
6318         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
6319         New function.
6320         (__sincos): Use it.
6322 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
6324         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
6325         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
6326         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
6328 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
6330         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
6331         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
6332         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
6333         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
6334         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6335         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
6336         index_Prefer_No_VZEROUPPER): New feature.
6337         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
6338         Prefer_No_VZEROUPPER for Knights Landing.
6340 015-12-18  Torvald Riegel  <triegel@redhat.com>
6342         * math/atest-exp2.c (mp_exp_m1): Remove.
6344 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6346         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
6347         syscalls.
6348         (__SYSCALL0): New macro.
6349         (__SYSCALL1): Likewise.
6350         (__SYSCALL2): Likewise.
6351         (__SYSCALL3): Likewise.
6352         (__SYSCALL4): Likewise.
6353         (__SYSCALL5): Likewise.
6354         (__SYSCALL6): Likewise.
6355         (__SYSCALL_CONCAT_X): Likewise.
6356         (__SYSCALL_CONCAT): Likewise.
6357         (__SYSCALL_DIST): Likewise.
6358         (__SYSCALL_CALL): Likewise.
6360 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
6362         [BZ #19363]
6363         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
6365 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6367         [BZ #19375]
6368         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
6369         negative subnormals.
6371 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
6373         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
6374         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
6375         (INTERNAL_SYSCALL_NCS): Use it.
6376         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
6378 2015-12-16  Florian Weimer  <fweimer@redhat.com>
6380         [BZ #19243]
6381         * malloc/arena.c (get_free_list): Remove assert and adjust
6382         reference count handling.  Add comment about reused_arena
6383         interaction.
6384         (reused_arena): Add comments abount get_free_list interaction.
6385         * malloc/tst-malloc-thread-exit.c: New file.
6386         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
6387         (tst-malloc-thread-exit): Link against libpthread.
6389 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
6391         [BZ #19367]
6392         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
6393         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
6394         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
6395         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
6396         (index_Prefer_MAP_32BIT_EXEC): Likewise.
6398 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
6400         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
6401         Silvermont optimizations for Knights Landing.
6403 2015-12-15  Andreas Schwab  <schwab@suse.de>
6405         [BZ #17197]
6406         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
6407         immediately after emitting SI.
6408         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
6409         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
6410         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
6411         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
6412         * iconvdata/bug-iconv10.c: New file.
6413         * iconvdata/Makefile (tests): Add bug-iconv10.
6414         ($(objpfx)bug-iconv10.out): New rule.
6416 2015-12-15  Florian Weimer  <fweimer@redhat.com>
6418         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
6419         aliasing violation.
6421 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
6423         [BZ #18472]
6424         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
6425         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
6426         conditionals for them.
6427         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
6428         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
6429         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
6430         sys/kdaemon.h.
6431         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
6432         compat-only syscall, obsoleted in glibc 2.23.
6433         (create_module): Likewise.
6434         (get_kernel_syms): Likewise.
6435         (query_module): Likewise.
6436         (uselib): Likewise.
6437         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
6439 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
6441         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
6442         <linux/version.h>.
6443         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
6444         conditional code.
6445         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
6446         and ioshift_name initialization.
6448 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
6450         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
6451         Fix indentation.
6453 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
6455         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
6457 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
6459         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
6461 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
6462             Jakub Wilk  <jwilk@debian.org>
6464         [BZ #19347]
6465         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
6466         to change the group of the device to the tty group.
6468 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
6470         Split large string section; add truncation advice
6471         * manual/examples/strncat.c: Remove.
6472         This example was misleading, as the code would have undefined
6473         behavior if "hello" was longer than SIZE.  Anyway, the manual
6474         shouldn't encourage strncpy+strncat for this sort of thing.
6475         * manual/string.texi (Copying Strings and Arrays): Split into
6476         three sections Copying Strings and Arrays, Concatenating Strings,
6477         and Truncating Strings, as this section was way too long.  All
6478         cross-referenced changed.  Add advice about string-truncation
6479         functions.  Remove misleading strncat example.
6481 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
6483         * manual/nss.texi (NSS Modules Interface): Document
6484         NSS_STATUS_NOTFOUND and SUCCESS.
6486 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
6488         [BZ 18568]
6489         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
6490         201505L, for Unicode 8.
6492 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
6494         * locale/C-translit.h: Regenerate.
6496 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
6498         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
6499         and U+0153.
6501 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
6503         [BZ #19351]
6504         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
6505         expanding log(1+z), compare z rather than its square with epsilon
6506         to determine when to avoid evaluating the expansion.
6508         [BZ #19350]
6509         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
6510         Increase overflow threshold.
6512         [BZ #19349]
6513         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
6514         when small.
6516         * sysdeps/unix/sysv/linux/i386/kernel-features.h
6517         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
6518         New macro.
6519         [__LINUX_KERNEL_VERSION >= 0x040300]
6520         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
6521         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
6522         Likewise.
6523         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
6524         Likewise.
6525         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
6526         Likewise.
6527         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
6528         Likewise.
6529         [__LINUX_KERNEL_VERSION >= 0x040300]
6530         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
6531         [__LINUX_KERNEL_VERSION >= 0x040300]
6532         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
6533         [__LINUX_KERNEL_VERSION >= 0x040300]
6534         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
6535         [__LINUX_KERNEL_VERSION >= 0x040300]
6536         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
6537         [__LINUX_KERNEL_VERSION >= 0x040300]
6538         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
6539         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
6540         Likewise.
6541         [__LINUX_KERNEL_VERSION >= 0x040300]
6542         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
6543         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
6544         Likewise.
6545         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
6546         Likewise.
6547         [__LINUX_KERNEL_VERSION >= 0x040300]
6548         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
6549         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
6550         Likewise.
6551         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
6552         Likewise.
6553         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6554         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
6555         Likewise.
6556         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
6557         Likewise.
6558         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
6559         Likewise.
6560         [__LINUX_KERNEL_VERSION >= 0x040300]
6561         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
6562         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
6563         Likewise.
6564         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
6565         Likewise.
6566         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
6567         Likewise.
6568         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
6569         Likewise.
6570         [__LINUX_KERNEL_VERSION >= 0x040300]
6571         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
6572         [__LINUX_KERNEL_VERSION >= 0x040300]
6573         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
6574         [__LINUX_KERNEL_VERSION >= 0x040300]
6575         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
6576         [__LINUX_KERNEL_VERSION >= 0x040300]
6577         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
6578         [__LINUX_KERNEL_VERSION >= 0x040300]
6579         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
6580         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
6581         Likewise.
6582         [__LINUX_KERNEL_VERSION >= 0x040300]
6583         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
6584         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
6585         Likewise.
6586         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
6587         Likewise.
6588         [__LINUX_KERNEL_VERSION >= 0x040300]
6589         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
6590         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
6591         Likewise.
6592         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
6593         Likewise.
6594         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6595         (__ASSUME_SOCKET_SYSCALL): Likewise.
6596         (__ASSUME_BIND_SYSCALL): Likewise.
6597         (__ASSUME_CONNECT_SYSCALL): Likewise.
6598         (__ASSUME_LISTEN_SYSCALL): Likewise.
6599         (__ASSUME_ACCEPT_SYSCALL): Likewise.
6600         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
6601         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
6602         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
6603         (__ASSUME_SEND_SYSCALL): Likewise.
6604         (__ASSUME_SENDTO_SYSCALL): Likewise.
6605         (__ASSUME_RECV_SYSCALL): Likewise.
6606         (__ASSUME_RECVFROM_SYSCALL): Likewise.
6607         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
6608         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
6609         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
6610         (__ASSUME_SENDMSG_SYSCALL): Likewise.
6611         (__ASSUME_RECVMSG_SYSCALL): Likewise.
6612         * sysdeps/unix/sysv/linux/sh/kernel-features.h
6613         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
6614         Likewise.
6615         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
6616         Likewise.
6617         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
6618         Likewise.
6619         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
6620         Likewise.
6621         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
6622         Likewise.
6623         [__LINUX_KERNEL_VERSION >= 0x020625]
6624         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
6625         [__LINUX_KERNEL_VERSION >= 0x020625]
6626         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
6627         [__LINUX_KERNEL_VERSION >= 0x020625]
6628         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
6629         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
6630         Likewise.
6631         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
6632         Likewise.
6633         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
6634         Likewise.
6635         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
6636         Likewise.
6637         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
6638         Likewise.
6639         [__LINUX_KERNEL_VERSION >= 0x020625]
6640         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
6641         [__LINUX_KERNEL_VERSION >= 0x020625]
6642         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
6643         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
6644         Likewise.
6645         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
6646         Likewise.
6648 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
6650         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
6651         record the current if the current ABI and CPU support the FP64
6652         extension.
6653         (has-modd-spreg): Define to record the current if the current ABI and
6654         CPU support 32-bit floating point values in odd FPU registers.
6655         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
6656         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
6657         $(has-modd-spreg) equals yes.
6658         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
6659         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
6660         $(has-modd-spreg) equal yes.
6662 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
6664         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
6665         basename.
6667 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
6669         * benchtests/Makefile (bench-math): Move ffs and ffsll...
6670         (bench-string): ... here.
6671         (bench): Add bench-string.
6672         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
6673         to *-benchset to reflect what they are.
6674         (benchset): Adjust.
6676         * benchtests/sincos-inputs: Add inputs from sin-inputs and
6677         cos-inputs.
6679 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
6681         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
6682         __attribute__ ((__simd__)) for vector math function declarations.
6684 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
6686         Fix typo in strncat, wcsncat manual entries
6687         * manual/string.texi (Copying and Concatenation): Fix typos in
6688         sample implementations of strncat and wcsncat, by having them use
6689         the old value of the destination length, not the new one.
6691 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
6693         [BZ #16961]
6694         [BZ #16962]
6695         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
6696         string on the stack for strtod.
6697         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
6698         a string on the stack for strtof.
6699         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
6700         constructing a string on the stack for strtold.
6701         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
6702         __strtold_nan to GLIBC_PRIVATE.
6703         * math/test-nan-overflow.c: New file.
6704         * math/test-nan-payload.c: Likewise.
6705         * math/Makefile (tests): Add test-nan-overflow and
6706         test-nan-payload.
6708 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
6710         Consistency about byte vs character in string.texi
6711         * manual/string.texi (String and Array Utilities):
6712         Distinguish more carefully among bytes, multibyte characters,
6713         and wide characters.  Use "byte" when talking about C 'char',
6714         to distinguish it more clearly from multibyte characters.
6715         Say "wide character" or "multibyte character" instead of
6716         "character", when a wide or multibyte character is intended.
6717         Similarly for "multibyte string" versus "string".
6718         Define these terms more carefully.
6720 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
6722         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
6723         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
6724         Likewise.
6725         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
6726         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
6727         * sysdeps/sh/math_private.h: New file.
6728         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
6729         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
6730         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
6731         long double function name.
6732         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
6733         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6734         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
6735         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
6736         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6737         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
6738         Remove __finitel, __isinfl, and __isnanl.
6739         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
6740         Likewise.
6741         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
6742         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6743         Remove __finitel.
6744         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6745         Likewise.
6746         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6748 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
6750         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
6751         installed libmvec_nonshared.a.
6753 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6755         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
6756         (sysdep_routines): Likewise.
6757         (sysdep-rtld-routines): Likewise.
6758         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
6759         [$(subdir) = nptl](tests-static): test-get_hwcap-static
6760         * sysdeps/powerpc/Versions: Added new
6761         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
6762         * sysdeps/powerpc/hwcapinfo.c: New file.
6763         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
6764         and parse hwcap, hwcap2 and platform number information.
6765         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
6766         to store HWCAP+HWCAP2 and platform number.
6767         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
6768         for HWCAP+HWCAP2 and platform number in the TCB.
6769         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
6770         the HWCAP, HWCAP2 and platform number in the TCB.
6771         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
6772         (TLS_INIT_TP): Included calls to add the hwcap and
6773         at_platform values in the TCB in TP initialization.
6774         (TLS_DEFINE_INIT_TP): Likewise.
6775         (THREAD_GET_HWCAP): New macro.
6776         (THREAD_SET_HWCAP): Likewise.
6777         (THREAD_GET_AT_PLATFORM): Likewise.
6778         (THREAD_SET_AT_PLATFORM): Likewise.
6779         * sysdeps/powerpc/powerpc32/dl-machine.h:
6780         (dl_platform_init): New function that calls
6781         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
6782         powerpc32.
6783         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
6784         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
6785         this functionality, static linking case.
6786         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
6787         linking case.
6788         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
6789         __parse_hwcap_and_convert_at_platform for the static linking case.
6790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
6791         Included the new __parse_hwcap_and_convert_at_platform symbol in the
6792         ABI list for GLIBC 2.23.
6793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
6794         Likewise.
6795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
6796         Likewise.
6798 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
6800         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
6801         * configure: Regenerate.
6802         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
6803         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
6805 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
6807         * iconvdata/ibm930.c: Add comment explaining encoding uses.
6808         * iconvdata/ibm933.c: Likewise.
6809         * iconvdata/ibm935.c: Likewise.
6810         * iconvdata/ibm937.c: Likewise.
6811         * iconvdata/ibm939.c: Likewise.
6813 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6815         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
6816         pthread_join.
6817         * nptl/tst-cancel21.c (tf): Likewise.
6819 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
6821         [BZ #19313]
6822         * bits/typesizes.h (__CPU_MASK_TYPE): New.
6823         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
6824         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
6825         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
6826         Likewise.
6827         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
6828         Likewise.
6829         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
6830         Likewise.
6831         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
6832         Likewise.
6833         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
6834         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
6835         unsigned long int with __CPU_MASK_TYPE.
6837 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6839         * sysdeps/aarch64/libm-test-ulps: Regenerated.
6841 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
6843         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
6844         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
6845         t512.x.
6846         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
6848 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
6850         [BZ #19214]
6851         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
6852         argument to return extended model.  Update family and model
6853         with extended family and model when family == 0x0f.
6854         (init_cpu_features): Updated.
6856 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6858         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
6859         signed off_t, so 32bit bigger than 2GiB values are fine actually.
6861         * sysdeps/mach/hurd/mmap64.c: New file.
6863 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
6865         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
6866         rights for its main user thread in NEWTASK.
6868 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
6870         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
6871         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
6873 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
6875         [BZ #14259]
6876         * Makeconfig: Rename localedir to complocaledir.
6877         Rename inst_localedir to inst_complocaledir.
6878         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
6879         * config.make.in: Use complocaledir and libc_cv_complocaledir.
6880         * configure.ac: Use libc_cv_complocaledir.
6881         * configure: Regenerate.
6882         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
6883         -DCOMPLOCALEDIR.
6884         * locale/findlocale.c: Use COMPLOCALEDIR.
6885         * locale/loadarchive.c: Likewise.
6886         * locale/programs/locale.c: Likewise.
6887         * locale/programs/localedef.c: Likewise.
6888         * locale/programs/locarchive.c: Likewise.
6889         * localedata/Makefile: Use inst_complocaledir.
6890         * sysdeps/gnu/configure: Regenerate.
6891         * sysdeps/hppa/configure: Regenerate.
6892         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
6893         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
6894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
6895         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
6896         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
6897         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
6898         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
6900 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
6902         [BZ #19058]
6903         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
6904         AS_NEEDED.
6905         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
6906         workaround.
6907         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
6908         libmvec-static-only-routines): Added new file.
6909         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
6911 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6913         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
6914         of interrupted RPC instead of restoring it.
6916         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
6917         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
6918         libc_hidden_def.
6919         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
6920         into initialized data instead of common. Define rtld_hidden_data_def.
6921         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
6922         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
6923         libc_hidden_def.
6924         (if_freenameindex): Add libc_hidden_weak.
6925         (if_nameindex): Add libc_hidden_weak.
6926         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
6927         __open64.
6928         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
6929         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
6930         * sysdeps/mach/nanosleep.c: Include <time.h>
6931         (__nanosleep): Rename to __libc_nanosleep.
6932         (__nanosleep): Add weak_alias.
6933         (nanosleep): Update alias.
6935 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
6937         * stdlib/strtod_nan.c: New file.
6938         * stdlib/strtod_nan_double.h: Likewise.
6939         * stdlib/strtod_nan_float.h: Likewise.
6940         * stdlib/strtod_nan_main.c: Likewise.
6941         * stdlib/strtod_nan_narrow.h: Likewise.
6942         * stdlib/strtod_nan_wide.h: Likewise.
6943         * stdlib/strtof_nan.c: Likewise.
6944         * stdlib/strtold_nan.c: Likewise.
6945         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
6946         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
6947         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
6948         * wcsmbs/wcstod_nan.c: Likewise.
6949         * wcsmbs/wcstof_nan.c: Likewise.
6950         * wcsmbs/wcstold_nan.c: Likewise.
6951         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
6952         strtold_nan.
6953         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
6954         wcstof_nan.
6955         * include/stdlib.h (__strtof_nan): Declare and use
6956         libc_hidden_proto.
6957         (__strtod_nan): Likewise.
6958         (__strtold_nan): Likewise.
6959         (__wcstof_nan): Likewise.
6960         (__wcstod_nan): Likewise.
6961         (__wcstold_nan): Likewise.
6962         * include/wchar.h (____wcstoull_l_internal): Declare.
6963         * stdlib/strtod_l.c: Do not include <ieee754.h>.
6964         (____strtoull_l_internal): Remove declaration.
6965         (STRTOF_NAN): Define macro.
6966         (SET_MANTISSA): Remove macro.
6967         (STRTOULL): Likewise.
6968         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
6969         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
6970         (STRTOF_NAN): Define macro.
6971         (SET_MANTISSA): Remove macro.
6972         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
6973         (SET_MANTISSA): Remove macro.
6974         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
6975         macro.
6976         (SET_MANTISSA): Remove macro.
6977         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
6978         macro.
6979         (SET_MANTISSA): Remove macro.
6980         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
6981         (SET_MANTISSA): Remove macro.
6982         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
6983         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
6984         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
6986         [BZ #19266]
6987         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
6988         upper case and lower case letters inside NAN(), not using TOLOWER.
6989         * stdlib/tst-strtod-nan-locale-main.c: New file.
6990         * stdlib/tst-strtod-nan-locale.c: Likewise.
6991         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
6992         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
6993         Depend on $(gen-locales).
6994         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
6995         * wcsmbs/tst-wcstod-nan-locale.c: New file.
6996         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
6997         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
6998         Depend on $(gen-locales).
6999         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
7001 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
7003         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
7005         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
7006         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
7007         __finitel, __isinfl, and __isnanl.
7008         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
7009         Likewise.
7010         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
7011         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
7012         __finitel.
7013         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7014         Likewise.
7015         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7017 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
7019         * malloc/memusage.c (me): Remove redundant getenv call.
7021 2015-10-24  Florian Weimer  <fweimer@redhat.com>
7023         [BZ #19143]
7024         [BZ #19164]
7025         * nptl/check-cpuset.h: Remove.
7026         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
7027         Remove CPU set size check.
7028         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
7029         Likewise.
7030         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
7031         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
7032         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
7033         (__pthread_setaffinity_new): Remove CPU set size check.
7034         * sysdeps/unix/sysv/linux/sched_setaffinity.c
7035         (__kernel_cpumask_size): Remove.
7036         (__sched_setaffinity_new): Remove CPU set size check.
7037         * manual/threads.texi (Default Thread Attributes): Remove stale
7038         reference to check_cpuset_attr, determine_cpumask_size in comment.
7039         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
7040         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
7041         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
7042         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
7043         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
7044         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
7045         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
7046         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
7047         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
7048         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
7049         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
7050         skeleton test file.
7051         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
7052         tst-affinity-pid.
7054 2015-11-24  Florian Weimer  <fweimer@redhat.com>
7056         * scripts/update-abilist.sh: New file.
7057         * Makefile (+subdir_targets): Add subdir_update-all-abi.
7058         * Makerules (update-all-abi-%, update-all-abi)
7059         (subdir_update-all-abi): New targets.
7060         * elf/Makefile (update-all-abi): New target.
7062 2015-11-24  Florian Weimer  <fweimer@redhat.com>
7064         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
7065         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
7066         (__libc_lock_define_initialized): Use it.
7067         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
7068         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
7069         * malloc/malloc.c (main_arena): Likewise.
7070         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
7071         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
7073 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
7075         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
7076         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
7077         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
7078         (PTRACE_O_MASK): Update value.
7079         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
7080         New value in enum __ptrace_setoptions.
7081         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
7082         (PTRACE_O_MASK): Update value.
7083         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
7084         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
7085         (PTRACE_O_MASK): Update value.
7086         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
7087         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
7088         (PTRACE_O_MASK): Update value.
7089         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
7090         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
7091         (PTRACE_O_MASK): Update value.
7092         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
7093         New value in enum __ptrace_setoptions.
7094         (PTRACE_O_MASK): Update value.
7095         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
7096         New value in enum __ptrace_setoptions.
7097         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
7098         (PTRACE_O_MASK): Update value.
7100         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
7101         New macro.
7102         (PACKET_AUXDATA): Likewise.
7103         (PACKET_ORIGDEV): Likewise.
7104         (PACKET_VERSION): Likewise.
7105         (PACKET_HDRLEN): Likewise.
7106         (PACKET_RESERVE): Likewise.
7107         (PACKET_TX_RING): Likewise.
7108         (PACKET_LOSS): Likewise.
7109         (PACKET_VNET_HDR): Likewise.
7110         (PACKET_TX_TIMESTAMP): Likewise.
7111         (PACKET_TIMESTAMP): Likewise.
7112         (PACKET_FANOUT): Likewise.
7113         (PACKET_TX_HAS_OFF): Likewise.
7114         (PACKET_QDISC_BYPASS): Likewise.
7115         (PACKET_ROLLOVER_STATS): Likewise.
7116         (PACKET_FANOUT_DATA): Likewise.
7117         (PACKET_MR_UNICAST): Likewise.
7119         [BZ #19242]
7120         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
7121         (TOUPPER): Likewise.
7122         * stdlib/tst-strtol-locale-main.c: New file.
7123         * stdlib/tst-strtol-locale.c: Likewise.
7124         * stdlib/Makefile (tests): Add tst-strtol-locale.
7125         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
7126         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
7127         Depend on $(gen-locales).
7128         * wcsmbs/tst-wcstol-locale.c: New file.
7129         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
7130         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
7131         tr_TR.ISO-8859-9.
7132         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
7133         Depend on $(gen-locales).
7135 2015-11-20  Roland McGrath  <roland@hack.frob.com>
7137         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
7138         __glibc_likely instead of __builtin_expect.  After falling back to
7139         dyncode_create in a non-ET_DYN case, use the allocate_code_data
7140         system interface to register the code pages as occupied.
7142 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
7144         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
7145         [!ARM_MATH_PRIVATE_H].
7146         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
7147         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
7148         [!HPPA_MATH_PRIVATE_H].
7149         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
7150         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
7151         to [!I386_MATH_PRIVATE_H].
7152         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
7153         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
7154         Change guard to [!M68K_MATH_PRIVATE_H].
7155         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
7156         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
7157         guard to [!MICROBLAZE_MATH_PRIVATE_H].
7158         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
7159         macro.
7160         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
7161         [!MIPS_MATH_PRIVATE_H].
7162         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
7163         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
7164         [!NIO2_MATH_PRIVATE_H].
7165         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
7166         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
7167         [!TILE_MATH_PRIVATE_H].
7168         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
7170         [BZ #15421]
7171         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
7172         initialize with 0 and define as weak alias of __signgam.
7173         * include/math.h [!_ISOMAC] (__signgam): Declare.
7174         * math/Makefile (libm-calls): Add w_lgamma_compat.
7175         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
7176         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
7177         test-signgam-ullong-init.
7178         (tests-static): Add test-signgam-uchar-static,
7179         test-signgam-uchar-init-static, test-signgam-uint-static,
7180         test-signgam-uint-init-static, test-signgam-ullong-static and
7181         test-signgam-ullong-init-static.
7182         (CFLAGS-test-signgam-uchar.c): New variable.
7183         (CFLAGS-test-signgam-uchar-init.c): Likewise.
7184         (CFLAGS-test-signgam-uchar-static.c): Likewise.
7185         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
7186         (CFLAGS-test-signgam-uint.c): Likewise.
7187         (CFLAGS-test-signgam-uint-init.c): Likewise.
7188         (CFLAGS-test-signgam-uint-static.c): Likewise.
7189         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
7190         (CFLAGS-test-signgam-ullong.c): Likewise.
7191         (CFLAGS-test-signgam-ullong-init.c): Likewise.
7192         (CFLAGS-test-signgam-ullong-static.c): Likewise.
7193         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
7194         * math/Versions (libm): Add GLIBC_2.23.
7195         * math/lgamma-compat.h: New file.
7196         * math/test-signgam-main.c: Likewise.
7197         * math/test-signgam-uchar-init-static.c: Likewise.
7198         * math/test-signgam-uchar-init.c: Likewise.
7199         * math/test-signgam-uchar-static.c: Likewise.
7200         * math/test-signgam-uchar.c: Likewise.
7201         * math/test-signgam-uint-init-static.c: Likewise.
7202         * math/test-signgam-uint-init.c: Likewise.
7203         * math/test-signgam-uint-static.c: Likewise.
7204         * math/test-signgam-uint.c: Likewise.
7205         * math/test-signgam-ullong-init-static.c: Likewise.
7206         * math/test-signgam-ullong-init.c: Likewise.
7207         * math/test-signgam-ullong-static.c: Likewise.
7208         * math/test-signgam-ullong.c: Likewise.
7209         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
7210         wrapper of w_lgamma_main.c.
7211         * math/w_lgamma_compat.c: New file.
7212         * math/w_lgamma_compatf.c: Likewise.
7213         * math/w_lgamma_compatl.c: Likewise.
7214         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
7215         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
7216         defining compatibility symbols.
7217         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
7218         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
7219         wrapper of w_lgammaf_main.c.
7220         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
7221         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
7222         defining compatibility symbols.
7223         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
7224         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
7225         wrapper of w_lgammal_main.c.
7226         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
7227         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
7228         defining compatibility symbols.
7229         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
7230         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
7231         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
7232         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
7233         <lgamma-compat.h>.
7234         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
7235         (__ieee754_gamma): Define as alias.
7236         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
7237         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
7238         <lgamma-compat.h>.
7239         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
7240         (__ieee754_gammaf): Define as alias.
7241         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
7242         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
7243         <lgamma-compat.h>.
7244         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
7245         (__ieee754_gammal): Define as alias.
7246         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
7247         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
7248         <math/w_lgamma_compat.c>.
7249         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
7250         Define as alias of __lgamma_compat and use in defining lgammal.
7251         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
7252         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
7253         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
7254         (USE_AS_COMPAT): New macro.
7255         (LGAMMA_OLD_VER): Undefine and redefine.
7256         (lgammal): Do not define here.
7257         (gammal): Only define here if [GAMMA_ALIAS].
7258         * conform/linknamespace.pl (@whitelist): Remove signgam.
7259         * sysdeps/nacl/libm.abilist: Update.
7260         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7261         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7262         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7263         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7264         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7265         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7266         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7267         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7268         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7269         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7270         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7271         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7272         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7273         Likewise.
7274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7275         Likewise.
7276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7277         Likewise.
7278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7279         Likewise.
7280         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7281         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7282         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7283         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7284         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7285         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7286         Likewise.
7287         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7288         Likewise.
7289         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7290         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7291         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7293 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7295         [BZ #16364]
7296         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
7297         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
7299 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
7301         * sysdeps/s390/fpu/bits/mathinline.h:
7302         Use __asm__ [__volatile__] instead of asm [volatile].
7303         * sysdeps/s390/abort-instr.h: Likewise.
7304         * sysdeps/s390/atomic-machine.h: Likewise.
7305         * sysdeps/s390/bits/string.h: Likewise.
7306         * sysdeps/s390/dl-tls.h: Likewise.
7307         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
7308         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
7309         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
7310         * sysdeps/s390/fpu/fesetround.c: Likewise.
7311         * sysdeps/s390/fpu/fpu_control.h: Likewise.
7312         * sysdeps/s390/fpu/s_fma.c: Likewise.
7313         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
7314         * sysdeps/s390/memusage.h: Likewise.
7315         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
7316         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
7317         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
7318         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
7319         * sysdeps/s390/nptl/tls.h: Likewise.
7320         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
7321         * sysdeps/s390/s390-32/backtrace.c: Likewise.
7322         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
7323         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
7324         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
7325         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
7326         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
7327         * sysdeps/s390/s390-64/backtrace.c: Likewise.
7328         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7329         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
7330         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
7331         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
7332         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
7333         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
7334         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
7335         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
7336         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
7337         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
7338         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
7339         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7340         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
7341         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7342         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
7344 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7345             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7347         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
7348         Add lwarx hint, and use macro for acquire instruction.
7349         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
7350         Likewise.
7351         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
7352         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
7353         update to use new atomic macros.
7355 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7357         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
7358         (__lll_trylock_elision): Fix setting of adapt_count.
7359         * sysdeps/unix/sysv/linux/powerpc/htm.h
7360         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
7361         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
7362         (_ABORT_SYSCALL): Renumber, and clarify definition.
7363         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
7365 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7367         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
7368         after system headers to prevent MIN/MAX redefinition.  Define
7369         HAVE_ALLOCA to preserve builtin alloca usage.
7371 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
7373         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
7374         static and don't set or restore rounding.
7375         (__cos)[IN_SINCOS]: Likewise.
7376         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
7377         (__sincos): Set and restore rounding mode.  Remove check for infinite
7378         or NaN input.
7380         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
7382         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
7383         as used.
7385 2015-11-16  Florian Weimer  <fweimer@redhat.com>
7387         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
7389 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
7391         * config.make.in (have-glob-dat-reloc): New.
7392         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
7393         target supports GLOB_DAT relocaton. AC_SUBST.
7394         * configure: Regenerated.
7395         * elf/Makefile (tests): Add tst-prelink.
7396         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
7397         (tst-prelink-ENV): New.
7398         ($(objpfx)tst-prelink-conflict.out): Likewise.
7399         ($(objpfx)tst-prelink-cmp.out): Likewise.
7400         * sysdeps/x86/tst-prelink.c: Moved to ...
7401         * elf/tst-prelink.c: Here.
7402         * sysdeps/x86/tst-prelink.exp: Moved to ...
7403         * elf/tst-prelink.exp: Here.
7404         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
7405         (tst-prelink-ENV): Removed.
7406         ($(objpfx)tst-prelink-conflict.out): Likewise.
7407         ($(objpfx)tst-prelink-cmp.out): Likewise.
7408         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
7410 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
7412         [BZ #14551]
7413         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
7414         (__mpn_construct_long_double): If high part overflows to infinity,
7415         set errno and recompute overflowed result of the correct sign.
7416         * sysdeps/ieee754/ldbl-128ibm/Makefile
7417         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
7418         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
7419         $(libm).
7420         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
7422 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
7424         [BZ #15479]
7425         [BZ #19238]
7426         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
7427         floating-point state after first operation on input.  Restore full
7428         state rather than just rounding mode.
7429         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
7430         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
7431         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
7433         [BZ #19235]
7434         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
7435         add 0.5 to integer arguments.
7436         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
7437         Likewise.
7438         (.LC2): New object.
7440 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
7442         * scripts/pylintrc (reports): Set to no.
7444 2015-11-10  Roland McGrath  <roland@hack.frob.com>
7446         * elf/dl-load.c (open_verify): Take new argument FD.
7447         Skip __open call if passed FD is not -1.
7448         (_dl_map_object, open_path): Update callers.
7449         * elf/dl-sysdep-open.h: New file.
7450         * elf/dl-load.c: Include it.
7451         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
7452         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
7453         * sysdeps/nacl/dl-sysdep-open.h: New file.
7454         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
7455         from libc to rtld.
7457 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
7459         [BZ #19228]
7460         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
7461         and restore full floating-point state.
7462         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
7463         Likewise.
7464         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
7465         Likewise.
7466         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
7467         Likewise.
7468         * math/test-nearbyint-except-2.c: New file.
7469         * math/Makefile (tests): Add test-nearbyint-except-2.
7471 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
7473         [BZ #19178]
7474         * sysdeps/x86/Makefile (tests): Add tst-prelink.
7475         (tst-prelink-ENV): New.
7476         ($(objpfx)tst-prelink-conflict.out): Likewise.
7477         ($(objpfx)tst-prelink-cmp.out): Likewise.
7478         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
7479         * sysdeps/x86/tst-prelink.c: New file.
7480         * sysdeps/x86/tst-prelink.exp: Likewise.
7482 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
7484         * math/auto-libm-test-in: Add another test of pow.
7485         * math/auto-libm-test-out: Regenerated.
7486         * math/libm-test.inc (pow_test_data): Add another test.
7488 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7490         [BZ #19219]
7491         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
7492         weak_alias to nearbyintl.
7494 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
7496         * sysdeps/aarch64/bits/string.h: New file.
7497         (_STRING_ARCH_unaligned): Define.
7499 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
7501         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
7502         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
7503         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
7504         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
7505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
7507 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
7509         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
7510         for original name of the DSO.  Add it to the name list of the DSO
7511         if it is actually given.
7512         (_dl_map_object): Keep track of whether an audit module rewrote
7513         the file name.  If yes, pass the original name to
7514         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
7515         debugging is enabled, log the change of the file name.
7516         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
7517         _dl_map_object_from_fd.
7518         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
7519         * elf/tst-audit11.c: New file
7520         * elf/tst-auditmod11.c: New file.
7521         * elf/tst-audit11mod1.c: New file.
7522         * elf/tst-audit11mod2.c: New file.
7523         * elf/tst-audit11mod2.map: New file.
7524         * elf/tst-audit12.c: New file
7525         * elf/tst-auditmod12.c: New file.
7526         * elf/tst-audit12mod1.c: New file.
7527         * elf/tst-audit12mod2.c: New file.
7528         * elf/tst-audit12mod2.map: New file.
7529         * elf/tst-audit12mod3.c: New file.
7531 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
7533         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
7534         Don't create weak aliases,
7535         because versioned symbols are created later.
7536         * sysdeps/s390/s390-32/setjmp.S
7537         (setjmp, _setjmp): Remove weak and rename to an unique name
7538         in SHARED case due to existing versioned symbols.
7539         * sysdeps/s390/s390-64/setjmp.S: Likewise.
7540         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
7541         (getcontext): Create weak alias only in non SHARED case.
7542         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
7544 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
7546         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
7547         (__ASSUME_*_SYSCALL) Define new macros.
7548         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
7549         Remove socketcall syscalls.
7550         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
7551         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
7552         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
7553         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
7554         * sysdeps/unix/sysv/linux/send.c (__libc_send):
7555         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
7557 2015-11-09  Florian Weimer  <fweimer@redhat.com>
7559         [BZ #12926]
7560         Terminate process on invalid netlink response.
7561         * sysdeps/unix/sysv/linux/netlinkaccess.h
7562         (__netlink_assert_response): Declare.
7563         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
7564         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
7565         (sysdep_routines): Add netlink_assert_response.
7566         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
7567         __netlink_assert_response.
7568         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
7569         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
7570         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
7571         __netlink_assert_response.
7573 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
7575         [BZ #19178]
7576         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
7577         (RTYPE_CLASS_PLT): Likewise.
7578         (RTYPE_CLASS_COPY): Likewise.
7579         (RTYPE_CLASS_TLS): Likewise.
7580         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
7581         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
7582         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
7583         DL_DEBUG_PRELINK.
7585 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
7587         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
7588         calls with argument -0.5.
7589         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
7591         * configure.ac (libc_cv_z_nodelete): Remove configure test.
7592         (libc_cv_z_nodlopen): Likewise.
7593         (libc_cv_z_initfirst): Likewise.
7594         * configure: Regenerated.
7596 2015-11-06  Florian Weimer  <fweimer@redhat.com>
7598         Simplify abilist format to be line-based.
7599         * scripts/abilist.awk: Collect descriptors in the descs variable.
7600         (emit): Write descs variable and sort it
7601         externally, with sort.
7602         * sysdeps/**/*.abilist: Convert to new format.
7604 2015-11-06  Mark Wielaard  <mjw@redhat.com>
7606         [BZ #11460]
7607         * io/Makefile (routines): Add fts64.
7608         (tests): Add tst-fts and tst-fts-lfs.
7609         (CFLAGS-fts64.c): New.
7610         * io/Versions (GLIBC_2.23): New.
7611         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
7612         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
7613         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
7614         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
7615         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
7616         (FTSENT64): Likewise.
7617         (fts64_children): Likewise.
7618         (fts64_close): Likewise.
7619         (fts64_open): Likewise.
7620         (fts64_read): Likewise.
7621         (fts64_set): Likewise.
7622         * io/fts64.c: New file.
7623         * io/tst-fts.c: New test.
7624         * io/tst-fts-lfs.c: Likewise.
7625         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
7626         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
7627         fts64_set.
7628         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
7629         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
7630         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
7631         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
7632         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
7633         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
7634         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
7635         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
7636         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
7637         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
7638         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
7639         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
7640         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
7641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
7642         Likewise.
7643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
7644         Likewise.
7645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
7646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
7647         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
7648         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
7649         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
7650         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
7651         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7652         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
7653         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
7654         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
7655         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
7656         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
7657         * sysdeps/wordsize-64/fts.c: New file.
7658         * sysdeps/wordsize-64/fts64.c: Likewise.
7659         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
7660         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
7661         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
7662         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
7664 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
7666         * math/libm-test.inc (NON_FINITE): New macro.
7667         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
7668         * math/gen-libm-test.pl (show_exceptions): Add argument
7669         $non_finite.
7670         (parse_args): Update call to show_exceptions.
7671         * math/test-math-finite.h: New file.
7672         * math/test-math-no-finite.h: Likewise.
7673         * math/test-double-finite.c: Likewise.
7674         * math/test-float-finite.c: Likewise.
7675         * math/test-ldouble-finite.c: Likewise.
7676         * math/test-double.c: Include "test-math-no-finite.h".
7677         * math/test-float.c: Include "test-math-no-finite.h".
7678         * math/test-ldouble.c: Include "test-math-no-finite.h".
7679         * math/test-math-inline.h (TEST_FINITE): New macro.
7680         * math/test-math-vector.h (TEST_FINITE): Likewise.
7681         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
7682         (libm-tests): Add test-float-finite and test-double-finite.
7683         ($(objpfx)test-float-finite.o): New dependency on
7684         $(objpfx)libm-test.stmp.
7685         ($(objpfx)test-double-finite.o): Likewise.
7686         ($(objpfx)test-ldouble-finite.o): Likewise.
7687         (libm-test-no-inline-cflags): New variable.
7688         (libm-test-finite-cflags): Likewise.
7689         (CFLAGS-test-float-finite.c): Likewise.
7690         (CFLAGS-test-double-finite.c): Likewise.
7691         (CFLAGS-test-ldouble-finite.c): Likewise.
7692         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
7693         (CFLAGS-test-double.c): Likewise.
7694         (CFLAGS-test-ldouble.c): Likewise.
7696 2015-11-05  Roland McGrath  <roland@hack.frob.com>
7698         * io/fcntl.c (__fcntl): Add ... to prototype.
7699         * misc/ioctl.c (__ioctl): Likewise.
7700         * misc/syscall.c (syscall): Likewise.
7702 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
7704         * scripts/list-fixed-bugs.py: New file.
7706         [BZ #19213]
7707         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
7708         returned for argument 1.
7709         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
7710         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
7711         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
7712         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
7713         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
7714         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
7716         [BZ #19211]
7717         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
7718         __USE_XOPEN], not if [!__USE_ISOC99].
7719         (lgammaf): Likewise.
7720         (lgammal): Likewise.
7721         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
7722         (gammaf): Likewise.
7723         (gammal): Likewise.
7724         * math/test-signgam-finite-c11.c: New file.
7725         * math/test-signgam-finite-c99.c: Likewise.
7726         * math/test-signgam-finite.c: Likewise.
7727         * math/Makefile (tests): Add test-signgam-finite,
7728         test-signgam-finite-c99 and test-signgam-finite-c11.
7729         (CFLAGS-test-signgam-finite.c): New variable.
7730         (CFLAGS-test-signgam-finite-c99.c): Likewise.
7731         (CFLAGS-test-signgam-finite-c11.c): Likewise.
7733         [BZ #19212]
7734         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
7735         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
7736         500].
7737         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
7738         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
7739         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
7740         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
7741         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
7742         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
7743         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
7744         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
7745         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
7746         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
7748         [BZ #19209]
7749         * math/bits/math-finite.h (ldexp): Remove declaration.
7750         (ldexpf): Likewise.
7751         (ldexpl): Likewise.
7753         [BZ #19205]
7754         * math/bits/math-finite.h (acosf): Condition declaration on
7755         [__USE_ISOC99].
7756         (acosl): Likewise.
7757         (acoshf): Likewise.
7758         (acoshl): Likewise.
7759         (asinf): Likewise.
7760         (asinl): Likewise.
7761         (atan2f): Likewise.
7762         (atan2l): Likewise.
7763         (atanhf): Likewise.
7764         (atanhl): Likewise.
7765         (coshf): Likewise.
7766         (coshl): Likewise.
7767         (expf): Likewise.
7768         (expl): Likewise.
7769         (fmodf): Likewise.
7770         (fmodl): Likewise.
7771         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
7772         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
7773         (j0l): Likewise.
7774         (y0f): Likewise.
7775         (y0l): Likewise.
7776         (j1f): Likewise.
7777         (j1l): Likewise.
7778         (y1f): Likewise.
7779         (y1l): Likewise.
7780         (jnf): Likewise.
7781         (jnl): Likewise.
7782         (ynf): Likewise.
7783         (ynl): Likewise.
7784         (lgammaf_r): Condition declaration on [__USE_ISOC99].
7785         (lgammal_r): Likewise.
7786         (__lgamma_r_finite): New declaration.
7787         (__lgammaf_r_finite): Likewise.
7788         (__lgammal_r_finite): Likewise.
7789         (lgamma): Use __lgamma_r_finite.
7790         (lgammaf): Condition definition on [__USE_ISOC99].  Use
7791         __lgammaf_r_finite.
7792         (lgammal): Condition definition on [__USE_ISOC99].  Use
7793         __lgammal_r_finite.
7794         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
7795         __lgamma_r_finite.
7796         (gammaf): Condition definition on [__USE_ISOC99].  Use
7797         __lgammaf_r_finite.
7798         (gammal): Condition definition on [__USE_ISOC99].  Use
7799         __lgammal_r_finite.
7800         (logf): Condition declaration on [__USE_ISOC99].
7801         (logl): Likewise.
7802         (log10f): Likewise.
7803         (log10l): Likewise.
7804         (ldexpf): Likewise.
7805         (ldexpl): Likewise.
7806         (powf): Likewise.
7807         (powl): Likewise.
7808         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
7809         __USE_ISOC99].
7810         (remainderf): Condition declaration on [__USE_ISOC99].
7811         (remainderl): Likewise.
7812         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
7813         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
7814         (scalbl): Likewise.
7815         (sinhf): Condition declaration on [__USE_ISOC99].
7816         (sinhl): Likewise.
7817         (sqrtf): Likewise.
7818         (sqrtl): Likewise.
7820 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
7822         * sysdeps/arm/atomic-machine.h
7823         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
7824         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
7825         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
7826         Remove conditional code.
7827         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
7828         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
7829         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
7830         Change conditional to [__ASSEMBLER__].
7831         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
7832         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
7833         [!__ASSEMBLER__].
7834         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
7835         code.
7836         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
7837         conditional macro definitions.
7838         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
7839         (__arch_compare_and_exchange_val_16_acq): Likewise.
7840         (__arch_compare_and_exchange_val_32_acq): Likewise.
7841         (atomic_exchange_and_add): Likewise.
7842         (atomic_add): Likewise.
7843         (atomic_add_negative): Likewise.
7844         (atomic_add_zero): Likewise.
7845         (atomic_bit_set): Likewise.
7846         (atomic_bit_test_set): Likewise.
7847         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
7848         code unconditional.
7849         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
7851         * math/test-math-errno.h: New file.
7852         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
7853         empty.
7854         (TEST_ERRNO): New macro.
7855         (TEST_EXCEPTIONS): Likewise.
7856         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
7857         (TEST_EXCEPTIONS): Likewise.
7858         * math/test-math-vector.h (TEST_ERRNO): Likewise.
7859         * math/test-double.c: Include "test-math-errno.h".
7860         * math/test-float.c: Likewise.
7861         * math/test-ldouble.c: Likewise.
7862         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
7863         code unconditional.
7864         (test_exceptions): Only run code if TEST_EXCEPTIONS.
7865         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
7866         unconditional.
7867         (test_errno): Only run code if TEST_ERRNO.
7868         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
7870 2015-11-04  Florian Weimer  <fweimer@redhat.com>
7872         * nptl/tst-once5.cc: Remove attribution.
7874 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
7876         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
7877         sqrt, tan, tanh, y0, y1 and yn.
7878         * math/auto-libm-test-out: Regenerated.
7879         * math/libm-test.inc (scalb_test_data): Add more tests.
7880         (scalbn_test_data): Likewise.
7881         (scalbln_test_data): Likewise.
7882         (signbit_test_data): Likewise.
7883         (sin_test_data): Likewise.
7884         (sincos_test_data): Likewise.
7885         (sinh_test_data): Likewise.
7886         (sqrt_test_data): Likewise.
7887         (tan_test_data): Likewise.
7888         (tanh_test_data): Likewise.
7889         (tgamma_test_data): Likewise.
7890         (y0_test_data): Likewise.
7891         (y1_test_data): Likewise.
7892         (yn_test_data): Likewise.
7893         (significand_test_data): Likewise.
7894         * sysdeps/i386/fpu/libm-test-ulps: Update.
7896 2015-11-03  David Kastrup  <dak@gnu.org>
7898         [BZ #18604]
7899         * assert/assert.h (assert): Don't macro-expand failed assertion
7900         expression in error message.
7901         * malloc/malloc.c (assert): Likewise.
7903 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
7905         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
7906         test.
7907         * configure: Regenerated.
7909 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
7911         * math/libm-test.inc (modf_test_data): Add more tests.
7912         (nearbyint_test_data): Likewise.
7913         (nextafter_test_data): Likewise.
7914         (nexttoward_test_data): Likewise.
7915         (pow_test_data): Likewise.
7916         (remainder_test_data): Likewise.
7917         (remquo_test_data): Likewise.
7918         (rint_test_data): Likewise.
7920         [BZ #19201]
7921         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
7922         Check for zero remainder in case of large exponents and ensure
7923         correct sign of result in that case.
7924         * math/libm-test.inc (remainder_test_data): Add more tests.
7926         [BZ #6799]
7927         * math/s_nextafter.c: Include <errno.h>.
7928         (__nextafter): Set errno on overflow and underflow.
7929         * math/s_nexttowardf.c: Include <errno.h>.
7930         (__nexttowardf): Set errno on overflow and underflow.
7931         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
7932         (__nextafterl): Set errno on overflow and underflow.
7933         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
7934         (__nexttoward): Set errno on overflow and underflow.
7935         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
7936         (__nexttowardf): Set errno on overflow and underflow.
7937         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
7938         (__nextafterf): Set errno on overflow and underflow.
7939         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
7940         (__nextafterl): Set errno on overflow and underflow.
7941         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
7942         (__nexttoward): Set errno on overflow and underflow.
7943         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
7944         (__nexttowardf): Set errno on overflow and underflow.
7945         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
7946         (__nextafterl): Set errno on overflow and underflow.
7947         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
7948         (__nexttoward): Set errno on overflow and underflow.
7949         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
7950         (__nexttowardf): Set errno on overflow and underflow.
7951         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
7952         (__nexttoward): Set errno on overflow and underflow.
7953         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
7954         (__nexttowardf): Set errno on overflow and underflow.
7955         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
7956         (__nldbl_nexttowardf): Set errno on overflow and underflow.
7957         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
7958         (__nextafterl): Set errno on overflow and underflow.
7959         * math/libm-test.inc (nextafter_test_data): Do not allow errno
7960         setting to be missing on overflow.  Add more tests.
7961         (nexttoward_test_data): Likewise.
7963         * configure.ac (libc_cv_initfini_array): Remove configure test.
7964         * configure: Regenerated.
7966 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
7968         [BZ #19189]
7969         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
7970         non-finite argument handle arguments with negative sign.
7972         * math/libm-test.inc (j0_test_data): Do not test sign of zero
7973         result from infinite argument.
7974         (j1_test_data): Likewise.
7975         (jn_test_data): Likewise.
7976         (y0_test_data): Likewise.
7977         (y1_test_data): Likewise.
7978         (yn_test_data): Likewise.
7980         [BZ #16171]
7981         * math/w_remainder.c (drem): Define as weak alias of __remainder.
7982         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
7983         * math/w_remainderf.c (dremf): Define as weak alias of
7984         __remainderf.
7985         * math/w_remainderl.c (dreml): Define as weak alias of
7986         __remainderl.
7987         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
7988         __remainder.
7989         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
7990         __remainderf.
7991         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
7992         __remainderl.
7993         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
7994         weak alias of remainderl.
7995         * sysdeps/ieee754/ldbl-opt/w_remainder.c
7996         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
7997         alias of __remainder.
7998         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
7999         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
8000         strong alias of __remainderl.
8001         (dreml): Use long_double_symbol.
8002         * math/Makefile (libm-calls): Remove w_drem.
8003         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
8004         (CFLAGS-nldbl-drem.c): Remove variable.
8005         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
8006         * math/w_drem.c: Remove file.
8007         * math/w_dremf.c: Likewise.
8008         * math/w_dreml.c: Likewise.
8009         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
8010         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
8011         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
8013         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
8014         * sysdeps/i386/configure: Regenerated.
8015         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
8016         * sysdeps/x86_64/configure: Regenerated.
8018         * configure.ac (libc_cv_asm_protected_directive): Remove configure
8019         test.
8020         (libc_cv_visibility_attribute): Likewise.
8021         (libc_cv_protected_data): Test unconditionally.
8022         (libc_cv_broken_visibility_attribute): Remove configure test.
8023         (libc_cv_have_sdata_section): Test unconditionally.
8024         * configure: Regenerated.
8026         * include/libc-internal.h (libc_max_align_t): Remove typedef.
8027         * include/scratch_buffer.h: Include <stddef.h> instead of
8028         <libc-internal.h>.
8029         (struct scratch_buffer): Use max_align_t instead of
8030         libc_max_align_t.
8032 2015-10-29  Florian Weimer  <fweimer@redhat.com>
8034         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
8035         instead of extend_alloca.  Change control flow to avoid a goto.
8036         Remove assert which is trivially always true.
8038 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
8040         [BZ #16068]
8041         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
8042         (FE_ALL_EXCEPT_X86): New macro.
8043         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
8044         FE_ALL_EXCEPT.  Ensure precision control is included in
8045         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
8046         handle "denormal operand exception" and clear FZ and DAZ bits.
8047         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
8048         (FE_ALL_EXCEPT_X86): New macro.
8049         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
8050         FE_ALL_EXCEPT.  Ensure precision control is included in
8051         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
8052         handle "denormal operand exception" and clear FZ and DAZ bits.
8053         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
8054         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
8055         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
8056         test-fenv-x87 and test-fenv-sse-2.
8057         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
8059         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
8060         * math/test-double.h (BUILD_COMPLEX): New macro.
8061         * math/test-float.h (BUILD_COMPLEX): Likewise.
8062         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
8064         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
8065         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
8066         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
8067         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
8068         instead of DBL_DENORM_MIN in comment.
8069         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
8070         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
8071         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
8072         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
8073         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
8074         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
8076 2015-10-28  Florian Weimer  <fweimer@redhat.com>
8078         [BZ# 19048]
8079         * malloc/malloc.c (struct malloc_state): Update comment.  Add
8080         attached_threads member.
8081         (main_arena): Initialize attached_threads.
8082         * malloc/arena.c (list_lock): Update comment.
8083         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
8084         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
8085         (deattach_arena): New function.
8086         (_int_new_arena): Initialize arena reference count and deattach
8087         replaced arena.
8088         (get_free_list, reused_arena): Update reference count and deattach
8089         replaced arena.
8090         (arena_thread_freeres): Update arena reference count and only put
8091         unreferenced arenas on the free list.
8093 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
8095         [BZ #19181]
8096         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
8097         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
8098         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
8099         * math/test-fenv-clear-main.c: New file.
8100         * math/test-fenv-clear.c: Likewise.
8101         * math/Makefile (tests): Add test-fenv-clear.
8102         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
8103         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
8104         test-fenv-clear-sse.
8105         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
8107         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
8108         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
8109         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
8111 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8113         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
8114         static libc.
8116 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
8118         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
8119         test.
8120         * sysdeps/i386/configure: Regenerated.
8121         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
8122         test.
8123         * sysdeps/x86_64/configure: Regenerated.
8124         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
8125         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8126         memset-avx2 unconditionally instead of conditionally on
8127         [$(config-cflags-avx2) = yes].
8128         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
8129         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
8130         unconditional.
8131         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
8132         * sysdeps/x86_64/multiarch/memset_chk.S
8133         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
8134         to [IS_IN (libc) && SHARED].
8136 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
8138         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
8139         configure test.
8140         * sysdeps/arm/configure: Regenerated.
8141         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
8142         Define variable if not already defined.
8144         [BZ #17404]
8145         * sysdeps/mips/atomic-machine.h
8146         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
8147         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
8148         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
8150         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
8151         unconditional.
8152         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
8153         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8154         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
8155         unconditional.
8156         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8157         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
8158         unconditional.
8159         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8160         * stdlib/setenv.c
8161         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
8162         code unconditional.
8163         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
8164         Remove conditional code.
8165         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
8166         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
8167         unconditional.
8168         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
8169         code.
8170         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
8171         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
8172         unconditional.
8173         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
8174         code.
8175         * sysdeps/ieee754/ldbl-128/k_tanl.c
8176         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
8177         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8178         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
8179         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
8180         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8181         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
8182         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
8183         unconditional.
8184         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
8185         code.
8186         * sysdeps/ieee754/ldbl-96/k_tanl.c
8187         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
8188         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8190         * nptl/tst-initializers1-c11.c: New file.
8191         * nptl/tst-initializers1-gnu11.c: Likewise.
8192         * nptl/Makefile (tests): Add these new tests.
8193         (CFLAGS-tst-initializers1-c11.c): New variable.
8194         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
8196         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
8197         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
8198         instead of -std=gnu99.
8199         * configure.ac (systemtap): Test with -std=gnu11 instead of
8200         -std=gnu99.
8201         * configure: Regenerated.
8202         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
8203         in compilation command in comment.
8205         * sysdeps/nptl/configure.ac: Remove file.
8206         * sysdeps/nptl/configure: Remove generated file.
8207         * configure.ac (libc_cv_forced_unwind): Do not substitute.
8208         * configure: Regenerated.
8209         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
8210         * config.make.in (have-forced-unwind): Remove variable.
8211         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
8212         unconditional.
8213         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
8214         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
8215         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
8216         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
8217         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
8218         unconditional.
8220 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8222         [BZ #19174]
8223         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
8224         .skip_lock_out_of_tbegin_retries.
8225         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
8226         (__lll_lock_elision): Likewise, and respect a value of
8227         try_tbegin <= 0.
8229 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8231         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
8232         statement.
8234 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
8236         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
8237         variable.
8238         (test-xfail-ISO11/stdalign.h/conform): Likewise.
8239         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
8241         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
8242         of -std=c1x -D_ISOC11_SOURCE.
8244         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
8245         * configure: Regenerated.
8246         * manual/install.texi (Tools for Compilation): Document
8247         requirement for GCC 4.7 or later.
8248         * INSTALL: Regenerated.
8250 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
8252         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
8253         on CNT to a conditional jump to 'puntdata'.
8255 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
8257         * configure.ac (libc_cv_gcc___thread): Remove configure test.
8258         (libc_cv_gcc_tls_model_attr): Likewise.
8259         * configure: Regenerated.
8261         * configure.ac (libc_cv_need_minus_P): Remove configure test.
8262         * configure: Regenerated.
8263         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
8265 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
8267         * configure.ac (old_glibc_headers): Remove configure test.
8268         * configure: Regenerated.
8269         * config.make.in (old-glibc-headers): Remove variable.
8270         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
8271         (install): Remove dependency on remove-old-headers.
8272         (headers2_0): Remove variable.
8273         (remove-old-headers): Remove rule.
8275         * configure.ac (libc_cv_dot_text): Remove configure test.
8276         (libc_cv_asm_set_directive): Use .text instead of
8277         ${libc_cv_dot_text} in configure test.
8278         * configure: Regenerated.
8280 2015-10-26  Florian Weimer  <fweimer@redhat.com>
8282         [BZ #19168]
8283         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8285 2015-10-26  Florian Weimer  <fweimer@redhat.com>
8287         * configure.ac (CXX): Clear the variable if the C++ toolchain does
8288         not support static linking.
8289         * configure: Regenerate.
8291 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
8293         * math/libm-test.inc (check_float_internal): Do not special-case
8294         errors up to 0.5 ulp.
8296         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
8297         log2.
8298         * math/auto-libm-test-out: Regenerated.
8299         * math/libm-test.inc (MAX_EXP): New macro.
8300         (ilogb_test_data): Add more tests.
8301         (isfinite_test_data): Likewise.
8302         (isgreater_test_data): Likewise.
8303         (isgreaterequal_test_data): Likewise.
8304         (isinf_test_data): Likewise.
8305         (isless_test_data): Likewise.
8306         (islessequal_test_data): Likewise.
8307         (islessgreater_test_data): Likewise.
8308         (isnan_test_data): Likewise.
8309         (isnormal_test_data): Likewise.
8310         (issignaling_test_data): Likewise.
8311         (isunordered_test_data): Likewise.
8312         (j0_test_data): Likewise.
8313         (j1_test_data): Likewise.
8314         (jn_test_data): Likewise.
8315         (lgamma_test_data): Likewise.
8316         (log_test_data): Likewise.
8317         (log10_test_data): Likewise.
8318         (log1p_test_data): Likewise.
8319         (log2_test_data): Likewise.
8320         (logb_test_data): Likewise.
8321         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8323         [BZ #18611]
8324         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
8325         avoid excess range and precision on underflow.
8326         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
8327         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
8328         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
8329         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
8330         underflow.
8331         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
8332         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
8333         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
8334         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
8335         * math/auto-libm-test-in: Do not allow missing errno setting for
8336         tests of j1 and jn.
8337         * math/auto-libm-test-out: Regenerated.
8339 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
8341         [BZ #15491]
8342         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
8343         floating-point environment instead of clearing all exceptions.
8344         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
8345         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
8346         merging in "invalid" exceptions from frndint.
8347         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
8348         * math/test-nearbyint-except.c: New file.
8349         * math/Makefile (tests): Add test-nearbyint-except.
8351 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
8353         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
8355         * sysdeps/tile/libm-test-ulps: Regenerated.
8357 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
8360         (__NR_sync_file_range2): Assume it is always defined.
8361         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
8362         (__NR_sync_file_range): Assume it is always defined.
8364 2015-10-22  Andreas Schwab  <schwab@suse.de>
8366         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
8367         INTERNAL_SYSCALL_ERRNO.
8368         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
8369         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
8370         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8371         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
8372         Likewise.
8373         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8375 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
8377         * io/tst-fcntl.c (fd): New static variable.
8378         (do_prepare): Open temporary file here....
8379         (do_test): ...not here.
8381         * io/ftwtest-sh: Also trap on exit to remove temporary files.
8383 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
8385         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
8386         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
8387         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
8388         Moved before "#ifdef __ASSEMBLER__".
8390 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
8392         [BZ #19156]
8393         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
8394         arguments very close to 0.
8396 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
8398         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
8399         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
8401 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
8403         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
8404         New.  Defined for GCC 5 and above when not compiling for
8405         profiling.
8406         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
8408         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
8409         Renamed to ...
8410         (CFLAGS-epoll_pwait.o): This.
8411         (CFLAGS-mmap.c): Renamed to ...
8412         (CFLAGS-mmap.o): This.
8413         (CFLAGS-mmap64.c): Renamed to ...
8414         (CFLAGS-mmap64.o): This.
8415         (CFLAGS-epoll_pwait.os): New.
8416         (CFLAGS-mmap.os): Likewise.
8417         (CFLAGS-mmap64.os): Likewise.
8418         (CFLAGS-semtimedop.os): Likewise.
8419         (CFLAGS-semtimedop.c): Renamed to ...
8420         (CFLAGS-semtimedop.o): This.
8422 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8424         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
8425         warning message.
8427 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
8429         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
8430         * Makefile ($(objpfx)c++-types-check.out): Filter out
8431         $(+gccwarn-c) instead of -Wstrict-prototypes.
8433         * io/fts.c (fts_open): Convert to prototype-style function
8434         definition.
8435         * malloc/mcheck.c (mcheck): Likewise.
8436         (mcheck_pedantic): Likewise.
8437         * posix/regexec.c (re_search_2_stub): Likewise.  Use
8438         internal_function.
8439         (re_search_internal): Likewise.
8440         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
8441         prototype-style function definition.
8442         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
8443         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
8444         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
8445         (xdr_utmpptr): Likewise.
8446         (xdr_utmparr): Likewise.
8447         (xdr_utmpidle): Likewise.
8448         (xdr_utmpidleptr): Likewise.
8449         (xdr_utmpidlearr): Likewise.
8451         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
8452         log, log10 and log2.
8453         * math/auto-libm-test-out: Regenerated.
8454         * math/libm-test.inc (fmod_test_data): Add more tests.
8455         (fpclassify_test_data): Likewise.
8456         (frexp_test_data): Likewise.
8457         (hypot_test_data): Likewise.
8458         (ilogb_test_data): Likewise.
8460 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
8462         * debug/fortify_fail.c (__fortify_fail): Convert to
8463         prototype-style function definition.  Use internal_function.
8464         * libio/genops.c (save_for_backup): Convert to prototype-style
8465         function definition.
8466         * libio/wgenops.c (save_for_wbackup): Likewise.
8467         * login/grantpt.c (grantpt): Likewise.
8468         * login/ptsname.c (ptsname): Likewise.
8469         (__ptsname_r): Likewise.
8470         * login/unlockpt.c (unlockpt): Likewise.
8471         * mach/msgserver.c (__mach_msg_server): Likewise.
8472         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
8473         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
8474         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
8475         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
8476         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
8477         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
8478         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
8479         Likewise.
8480         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
8481         internal_function.
8482         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
8483         prototype-style function definition.
8484         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
8485         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
8486         (__pthread_create_2_0): Likewise.
8487         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
8488         * nptl/register-atfork.c (__register_atfork): Likewise.
8489         * posix/glob.c (glob): Likewise.
8490         * posix/regcomp.c (re_comp): Likewise.
8491         * posix/regexec.c (re_exec): Likewise.
8492         * stdlib/add_n.c [__STDC__]: Make code unconditional.
8493         [!__STDC__]: Remove conditional code.
8494         * stdlib/cmp.c [__STDC__]: Make code unconditional.
8495         [!__STDC__]: Remove conditional code.
8496         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
8497         [!__STDC__]: Remove conditional code.
8498         * stdlib/divrem.c [__STDC__]: Make code unconditional.
8499         [!__STDC__]: Remove conditional code.
8500         * stdlib/lshift.c [__STDC__]: Make code unconditional.
8501         [!__STDC__]: Remove conditional code.
8502         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
8503         [!__STDC__]: Remove conditional code.
8504         * stdlib/mul.c [__STDC__]: Make code unconditional.
8505         [!__STDC__]: Remove conditional code.
8506         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
8507         [!__STDC__]: Remove conditional code.
8508         * stdlib/rshift.c [__STDC__]: Make code unconditional.
8509         [!__STDC__]: Remove conditional code.
8510         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
8511         function definition.
8512         (STRTOF): Likewise.
8513         * stdlib/strtod_l.c (__STRTOF): Likewise.
8514         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
8515         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
8516         (__strtol_l): Likewise.
8517         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
8518         [!__STDC__]: Remove conditional code.
8519         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
8520         definition.
8521         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
8522         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
8523         type.
8524         (__strcasecmp): Convert to prototype-style function definition.
8525         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
8526         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
8527         type.
8528         (__strncasecmp): Convert to prototype-style function definition.
8529         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
8530         * sunrpc/xdr.c (xdr_union): Likewise.
8531         * sunrpc/xdr_array.c (xdr_array): Likewise.
8532         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
8533         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
8534         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
8535         Likewise.
8536         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
8537         Likewise.
8538         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
8539         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
8540         Likewise.
8541         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
8542         (LOCALE_PARAM_PROTO): Likewise.
8543         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
8544         argument type.
8545         (ut_argument_spec): Remove macro.
8546         (ut_argument_spec_iso): Rename to ut_argument_spec.
8547         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
8548         prototype-style function definition.
8549         (memcpy_uppcase): Likewise.
8550         (__strftime_internal): Likewise.
8551         (my_strftime): Likewise.
8552         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
8553         (LOCALE_PARAM_DECL): Likewise.
8554         [_LIBC] (LOCALE_PARAM): Include argument type.
8555         (__strptime_internal): Convert to prototype-style function
8556         definition.
8557         (strptime): Likewise.
8558         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
8559         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
8560         type.
8561         (__wcscasecmp): Convert to prototype-style function definition.
8562         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
8563         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
8564         type.
8565         (__wcsncasecmp): Convert to prototype-style function definition.
8567         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
8568         function definition.
8569         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
8570         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
8571         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
8572         * elf/dl-minimal.c (_itoa): Likewise.
8573         * hurd/hurdmalloc.c (malloc): Likewise.
8574         (free): Likewise.
8575         (realloc): Likewise.
8576         * inet/inet6_option.c (inet6_option_space): Likewise.
8577         (inet6_option_init): Likewise.
8578         (inet6_option_append): Likewise.
8579         (inet6_option_alloc): Likewise.
8580         (inet6_option_next): Likewise.
8581         (inet6_option_find): Likewise.
8582         * io/ftw.c (FTW_NAME): Likewise.
8583         (NFTW_NAME): Likewise.
8584         (NFTW_NEW_NAME): Likewise.
8585         (NFTW_OLD_NAME): Likewise.
8586         * libio/iofwide.c (_IO_fwide): Likewise.
8587         * libio/strops.c (_IO_str_init_static_internal): Likewise.
8588         (_IO_str_init_static): Likewise.
8589         (_IO_str_init_readonly): Likewise.
8590         (_IO_str_overflow): Likewise.
8591         (_IO_str_underflow): Likewise.
8592         (_IO_str_count): Likewise.
8593         (_IO_str_seekoff): Likewise.
8594         (_IO_str_pbackfail): Likewise.
8595         (_IO_str_finish): Likewise.
8596         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
8597         (_IO_wstr_overflow): Likewise.
8598         (_IO_wstr_underflow): Likewise.
8599         (_IO_wstr_count): Likewise.
8600         (_IO_wstr_seekoff): Likewise.
8601         (_IO_wstr_pbackfail): Likewise.
8602         (_IO_wstr_finish): Likewise.
8603         * locale/programs/localedef.c (normalize_codeset): Likewise.
8604         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
8605         (add_locales_to_archive): Likewise.
8606         (delete_locales_from_archive): Likewise.
8607         * malloc/malloc.c (__libc_mallinfo): Likewise.
8608         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
8609         * misc/tsearch.c (__tfind): Likewise.
8610         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
8611         * nptl/pthread_attr_getdetachstate.c
8612         (__pthread_attr_getdetachstate): Likewise.
8613         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
8614         Likewise.
8615         * nptl/pthread_attr_getinheritsched.c
8616         (__pthread_attr_getinheritsched): Likewise.
8617         * nptl/pthread_attr_getschedparam.c
8618         (__pthread_attr_getschedparam): Likewise.
8619         * nptl/pthread_attr_getschedpolicy.c
8620         (__pthread_attr_getschedpolicy): Likewise.
8621         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
8622         Likewise.
8623         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
8624         Likewise.
8625         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
8626         Likewise.
8627         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
8628         Likewise.
8629         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
8630         (__pthread_attr_init_2_0): Likewise.
8631         * nptl/pthread_attr_setdetachstate.c
8632         (__pthread_attr_setdetachstate): Likewise.
8633         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
8634         Likewise.
8635         * nptl/pthread_attr_setinheritsched.c
8636         (__pthread_attr_setinheritsched): Likewise.
8637         * nptl/pthread_attr_setschedparam.c
8638         (__pthread_attr_setschedparam): Likewise.
8639         * nptl/pthread_attr_setschedpolicy.c
8640         (__pthread_attr_setschedpolicy): Likewise.
8641         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
8642         Likewise.
8643         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
8644         Likewise.
8645         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
8646         Likewise.
8647         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
8648         Likewise.
8649         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
8650         Likewise.
8651         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
8652         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
8653         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
8654         use internal_function.
8655         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
8656         prototype-style function definition.
8657         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
8658         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
8659         internal_function.
8660         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
8661         Convert to prototype-style function definition.
8662         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
8663         Likewise.
8664         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
8665         Likewise.
8666         (__pthread_mutex_unlock): Likewise.
8667         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
8668         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
8669         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
8670         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
8671         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
8672         * nss/makedb.c (process_input): Likewise.
8673         * posix/fnmatch.c (__strchrnul): Likewise.
8674         (__wcschrnul): Likewise.
8675         (fnmatch): Likewise.
8676         * posix/fnmatch_loop.c (FCT): Likewise.
8677         * posix/glob.c (globfree): Likewise.
8678         (__glob_pattern_type): Likewise.
8679         (__glob_pattern_p): Likewise.
8680         * posix/regcomp.c (re_compile_pattern): Likewise.
8681         (re_set_syntax): Likewise.
8682         (re_compile_fastmap): Likewise.
8683         (regcomp): Likewise.
8684         (regerror): Likewise.
8685         (regfree): Likewise.
8686         * posix/regexec.c (regexec): Likewise.
8687         (re_match): Likewise.
8688         (re_search): Likewise.
8689         (re_match_2): Likewise.
8690         (re_search_2): Likewise.
8691         (re_search_stub): Likewise.  Use internal_function
8692         (re_copy_regs): Likewise.
8693         (re_set_registers): Convert to prototype-style function
8694         definition.
8695         (prune_impossible_nodes): Likewise.  Use internal_function.
8696         * resolv/inet_net_pton.c (inet_net_pton): Convert to
8697         prototype-style function definition.
8698         (inet_net_pton_ipv4): Likewise.
8699         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
8700         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
8701         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
8702         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
8703         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
8704         Make variadic.
8705         * time/strptime_l.c (localtime_r): Convert to prototype-style
8706         function definition.
8707         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
8708         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
8709         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
8710         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
8712         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
8713         definition.
8714         (_ufc_doit_r): Likewise.
8715         * crypt/crypt_util.c (_ufc_copymem): Likewise.
8716         (_ufc_output_conversion_r): Likewise.
8717         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
8718         * inet/rcmd.c (rcmd_af): Likewise.
8719         (rcmd): Likewise.
8720         (ruserok_af): Likewise.
8721         (ruserok): Likewise.
8722         (ruserok2_sa): Likewise.
8723         (ruserok_sa): Likewise.
8724         (iruserok_af): Likewise.
8725         (iruserok): Likewise.
8726         (__ivaliduser): Likewise.
8727         (__validuser2_sa): Likewise.
8728         * inet/rexec.c (rexec_af): Likewise.
8729         (rexec): Likewise.
8730         * inet/ruserpass.c (ruserpass): Likewise.
8731         * locale/programs/xmalloc.c (xcalloc): Likewise.
8732         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
8733         * math/w_drem.c (__drem): Likewise.
8734         * math/w_dremf.c (__dremf): Likewise.
8735         * math/w_dreml.c (__dreml): Likewise.
8736         * misc/daemon.c (daemon): Likewise.
8737         * resolv/res_debug.c (p_fqnname): Likewise.
8738         * stdlib/div.c (div): Likewise.
8739         * string/memcmp.c (memcmp_bytes): Likewise.
8740         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
8741         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
8743         * crypt/cert.c (main): Convert to prototype-style function
8744         definition.
8745         * io/pipe.c (__pipe): Likewise.
8746         * io/pipe2.c (__pipe2): Likewise.
8747         * misc/futimesat.c (futimesat): Likewise.
8748         * misc/utimes.c (__utimes): Likewise.
8749         * posix/execve.c (__execve): Likewise.
8750         * posix/execvp.c (execvp): Likewise.
8751         * posix/execvpe.c (__execvpe): Likewise.
8752         * posix/fexecve.c (fexecve): Likewise.
8753         * socket/socketpair.c (socketpair): Likewise.
8754         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
8755         * stdlib/erand48.c (erand48): Likewise.
8756         * stdlib/erand48_r.c (__erand48_r): Likewise.
8757         * stdlib/jrand48.c (jrand48): Likewise.
8758         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
8759         * stdlib/lcong48.c (lcong48): Likewise.
8760         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
8761         * stdlib/nrand48.c (nrand48): Likewise.
8762         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
8763         * stdlib/seed48.c (seed48): Likewise.
8764         * stdlib/seed48_r.c (__seed48_r): Likewise.
8765         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
8766         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
8767         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
8769 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
8771         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
8772         * configure: Regenerated.
8773         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
8774         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
8775         unconditional.
8776         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
8777         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
8778         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
8779         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
8780         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
8781         unconditional.
8782         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
8784         * posix/Makefile (CFLAGS-regex.c): Remove variable.
8785         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
8787         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
8788         function definition.
8789         * crypt/crypt_util.c (__encrypt_r): Likewise.
8790         * libio/genops.c (_IO_no_init): Likewise.
8791         * libio/iofopncook.c (_IO_fopencookie): Likewise.
8792         (_IO_old_fopencookie): Likewise.
8793         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
8794         * libio/iogetline.c (_IO_getline): Likewise.
8795         (_IO_getline_info): Likewise.
8796         * libio/iogetwline.c (_IO_getwline): Likewise.
8797         (_IO_getwline_info): Likewise.
8798         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
8799         * libio/vswprintf.c (_IO_vswprintf): Likewise.
8800         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
8801         (find_entry): Likewise.
8802         (iterate_table): Likewise.
8803         (lookup): Likewise.
8804         * login/forkpty.c (forkpty): Likewise.
8805         * misc/hsearch_r.c (__hsearch_r): Likewise.
8806         * misc/select.c (__select): Likewise.
8807         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
8808         Likewise.
8809         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
8810         Likewise.
8811         * nptl/old_pthread_cond_timedwait.c
8812         (__pthread_cond_timedwait_2_0): Likewise.
8813         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
8814         * nptl/pthread_barrierattr_getpshared.c
8815         (pthread_barrierattr_getpshared): Likewise.
8816         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
8817         Likewise.
8818         * nptl/pthread_mutex_setprioceiling.c
8819         (pthread_mutex_setprioceiling): Likewise.
8820         * nptl/pthread_mutexattr_getprioceiling.c
8821         (pthread_mutexattr_getprioceiling): Likewise.
8822         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
8823         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
8824         Likewise.
8825         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
8826         Likewise.
8827         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
8828         Likewise.
8829         * socket/recvfrom.c (__recvfrom): Likewise.
8830         * socket/sendto.c (__sendto): Likewise.
8831         * socket/setsockopt.c (__setsockopt): Likewise.
8832         * stdio-common/_itoa.c (_itoa): Likewise.
8833         * stdio-common/_itowa.c (_itowa): Likewise.
8834         * stdio-common/reg-printf.c (__register_printf_specifier):
8835         Likewise.
8836         (__register_printf_function): Likewise.
8837         * stdio-common/tempname.c (__path_search): Likewise.
8838         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
8839         * stdlib/mul_1.c (mpn_mul_1): Likewise.
8840         * stdlib/random_r.c (__initstate_r): Likewise.
8841         * stdlib/setenv.c (__add_to_environ): Likewise.
8842         * stdlib/submul_1.c (mpn_submul_1): Likewise.
8843         * streams/getpmsg.c (getpmsg): Likewise.
8844         * streams/putmsg.c (putmsg): Likewise.
8845         * streams/putpmsg.c (putpmsg): Likewise.
8846         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
8847         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
8848         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
8849         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
8850         * sunrpc/pm_getport.c (pmap_getport): Likewise.
8851         * sunrpc/svc_udp.c (cache_get): Likewise.
8852         * sunrpc/xdr_array.c (xdr_vector): Likewise.
8853         * sysdeps/mach/hurd/getcwd.c
8854         (__canonicalize_directory_name_internal): Likewise.
8855         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
8856         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
8857         * sysdeps/mach/hurd/select.c (__select): Likewise.
8858         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
8859         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
8860         * sysdeps/sparc/nptl/pthread_barrier_init.c
8861         (__pthread_barrier_init): Likewise.
8862         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
8863         (__pthread_cond_timedwait): Likewise.
8864         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
8865         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
8866         Likewise.
8867         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
8868         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
8869         Likewise.
8870         * sysvipc/semtimedop.c (semtimedop): Likewise.
8871         * time/setitimer.c (__setitimer): Likewise.
8872         * time/strftime_l.c (emacs_strftime): Likewise.
8874 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
8876         * config.make.in (have-ssp): Delete.
8877         (stack-protector): New variable.
8878         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
8879         cache test for -fstack-protector-strong.  Export stack_protector to
8880         the best ssp flag.
8881         * configure: Regenerated.
8882         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
8883         * nscd/Makefile (CFLAGS-nscd): Likewise.
8884         * resolv/Makefile (CFLAGS-libresolv): Likewise.
8886 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
8888         [BZ #19122]
8889         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
8890         attribute_hidden.
8892 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8894         [BZ #18743]
8895         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
8896         code to...
8897         (ELIDE_LOCK): ...here.
8898         (__get_new_count): New function with part of the code from
8899         __elide_lock that updates the value of adapt_count after a
8900         transaction abort.
8901         (__elided_trylock): Moved this code to...
8902         (ELIDE_TRYLOCK): ...here.
8904 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
8906         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
8907         * configure: Regenerate.
8908         * INSTALL: Regenerate.
8909         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
8910         and tweak grammar.
8912 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
8914         * login/programs/pt_chown.c: Include signal.h
8915         (main): Clear any signal mask from the parent process.
8917 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
8919         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
8920         * configure: Regenerated.
8921         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
8922         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
8923         $(gnu89-inline-CFLAGS).
8925         * configure.ac (libc_cv_asm_weak_directive): Remove configure
8926         test.
8927         (libc_cv_asm_weakext_directive): Likewise.
8928         * configure: Regenerated.
8929         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
8930         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
8931         * include/libc-symbols.h
8932         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
8933         #error.
8934         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
8935         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
8937         * sysdeps/arm/backtrace.c (__backtrace): Convert to
8938         prototype-style function definition.
8939         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
8940         * sysdeps/i386/ffs.c (__ffs): Likewise.
8941         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
8942         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
8943         Likewise.
8944         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
8945         Likewise.
8946         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
8947         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
8948         Likewise.
8949         * sysdeps/m68k/ffs.c (__ffs): Likewise.
8950         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
8951         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
8952         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
8953         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
8954         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
8955         * sysdeps/mach/hurd/access.c (__access): Likewise.
8956         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
8957         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
8958         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
8959         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
8960         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
8961         (cthread_getspecific): Likewise.
8962         (cthread_setspecific): Likewise.
8963         (__libc_getspecific): Likewise.
8964         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
8965         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
8966         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
8967         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
8968         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
8969         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
8970         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
8971         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
8972         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
8973         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
8974         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
8975         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
8976         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
8977         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
8978         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
8979         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
8980         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
8981         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
8982         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
8983         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
8984         * sysdeps/mach/hurd/link.c (__link): Likewise.
8985         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
8986         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
8987         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
8988         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
8989         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
8990         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
8991         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
8992         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
8993         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
8994         * sysdeps/mach/hurd/rename.c (rename): Likewise.
8995         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
8996         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
8997         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
8998         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
8999         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
9000         * sysdeps/mach/hurd/send.c (__send): Likewise.
9001         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
9002         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
9003         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
9004         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
9005         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
9006         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
9007         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
9008         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
9009         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
9010         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
9011         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
9012         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
9013         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
9014         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
9015         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
9016         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
9017         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
9018         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
9019         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
9020         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
9021         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
9022         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
9023         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
9024         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
9025         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
9026         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
9027         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
9028         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
9029         * sysdeps/posix/alarm.c (alarm): Likewise.
9030         * sysdeps/posix/cuserid.c (cuserid): Likewise.
9031         * sysdeps/posix/dirfd.c (dirfd): Likewise.
9032         * sysdeps/posix/dup.c (__dup): Likewise.
9033         * sysdeps/posix/dup2.c (__dup2): Likewise.
9034         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
9035         (main): Likewise.
9036         * sysdeps/posix/flock.c (__flock): Likewise.
9037         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
9038         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
9039         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
9040         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
9041         * sysdeps/posix/isatty.c (__isatty): Likewise.
9042         * sysdeps/posix/killpg.c (killpg): Likewise.
9043         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
9044         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
9045         * sysdeps/posix/raise.c (raise): Likewise.
9046         * sysdeps/posix/remove.c (remove): Likewise.
9047         * sysdeps/posix/rename.c (rename): Likewise.
9048         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
9049         * sysdeps/posix/seekdir.c (seekdir): Likewise.
9050         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
9051         * sysdeps/posix/sigignore.c (sigignore): Likewise.
9052         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
9053         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
9054         * sysdeps/posix/sigset.c (sigset): Likewise.
9055         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
9056         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
9057         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
9058         * sysdeps/posix/time.c (time): Likewise.
9059         * sysdeps/posix/ttyname.c (getttyname): Likewise.
9060         (ttyname): Likewise.
9061         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
9062         * sysdeps/posix/utime.c (utime): Likewise.
9063         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
9064         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
9065         Likewise.
9066         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
9067         (pthread_spin_trylock): Likewise.
9068         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
9069         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
9070         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
9071         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
9072         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
9073         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
9074         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
9075         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
9076         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
9077         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
9078         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
9079         * sysdeps/s390/ffs.c (__ffs): Likewise.
9080         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
9081         Likewise.
9082         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
9083         Likewise.
9084         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
9085         Likewise.
9086         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
9087         (pthread_barrier_destroy): Likewise.
9088         * sysdeps/sparc/nptl/pthread_barrier_wait.c
9089         (__pthread_barrier_wait): Likewise.
9090         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
9091         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
9092         (__pthread_barrier_wait): Likewise.
9093         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
9094         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
9095         (memcmp_not_common_alignment): Likewise.
9096         (MEMCMP): Likewise.
9097         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
9098         (_wordcopy_fwd_dest_aligned): Likewise.
9099         (_wordcopy_bwd_aligned): Likewise.
9100         (_wordcopy_bwd_dest_aligned): Likewise.
9101         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
9102         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
9103         * sysdeps/unix/bsd/stty.c (stty): Likewise.
9104         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
9105         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
9106         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
9107         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
9108         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
9109         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
9110         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
9111         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
9112         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
9113         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
9114         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
9115         * sysdeps/unix/stime.c (stime): Likewise.
9116         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
9117         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
9118         Likewise.  Use internal_function.
9119         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
9120         Convert to prototype-style function definition.
9121         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
9122         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
9123         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
9124         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
9125         Likewise.  Use internal_function.
9126         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
9127         prototype-style function definition
9128         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
9129         Likewise.
9130         (__getlogin_r): Likewise.
9131         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
9132         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
9133         (__pthread_cond_broadcast): Likewise.
9134         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
9135         (__pthread_cond_destroy): Likewise.
9136         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
9137         (__pthread_cond_init): Likewise.
9138         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
9139         (__pthread_cond_signal): Likewise.
9140         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
9141         (__pthread_cond_wait): Likewise.
9142         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
9143         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
9144         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
9145         Likewise.
9146         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
9147         Likewise.
9148         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
9149         Likewise.
9150         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
9151         Likewise.
9152         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
9153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
9154         (__ftruncate64): Likewise.
9155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
9156         (truncate64): Likewise.
9157         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
9158         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
9159         (pthread_getcpuclockid): Likewise.
9160         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
9161         Likewise.
9162         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
9163         Likewise.
9164         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
9165         Likewise.
9166         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
9167         Likewise.
9168         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
9169         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
9170         (__libc_sigaction): Likewise.
9171         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
9172         Likewise.
9173         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
9174         (__sigprocmask): Likewise.
9175         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
9176         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
9177         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
9178         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
9179         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
9180         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
9181         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
9182         Likewise.
9183         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
9184         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
9185         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
9186         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
9187         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
9188         Likewise.
9189         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
9190         (__sigprocmask): Likewise.
9191         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
9192         (cfgetispeed): Likewise.
9193         (cfsetospeed): Likewise.
9194         (cfsetispeed): Likewise.
9195         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
9196         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
9197         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
9198         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
9199         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
9200         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
9201         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
9202         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
9203         Likewise.
9204         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
9205         Likewise.
9206         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
9207         Likewise.
9208         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
9209         Likewise.
9210         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
9212 2015-10-17  Florian Weimer  <fweimer@redhat.com>
9214         sunrpc: Rewrite with explicit TLS access using __thread.
9215         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
9216         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
9217         directly.
9218         (__rpc_thread_variables): Access thread_rpc_vars directly.
9219         Eliminate redundant assignment of the tvp variable.
9221 2015-10-17  Florian Weimer  <fweimer@redhat.com>
9223         malloc: Rewrite with explicit TLS access using __thread.
9224         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
9225         (tsd_setspecific, tsd_getspecific): Remove.
9226         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
9227         (tsd_setspecific, tsd_getspecific): Likewise.
9228         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
9229         (tsd_setspecific, tsd_getspecific): Likewise.
9230         * malloc/arena.c (thread_arena): New TLS variable.
9231         (arena_key): Remove variable.
9232         (arena_get): Use thread_arena.
9233         (arena_lookup): Remove macro.
9234         (malloc_atfork, free_atfork, ptmalloc_lock_all)
9235         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
9236         (_int_new_arena, get_free_list, reused_arena)
9237         (arena_thread_freeres): Use thread_arena.
9238         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
9239         tsd_getspecific, tsd_setspecific from safety annotations.
9240         (Allocating Cleared Space): Remove arena_lookup from safety
9241         annotations.
9243 2015-10-17  Florian Weimer  <fweimer@redhat.com>
9245         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
9246         struct scratch_buffer instead of extend_alloca.
9248 2015-10-17  Florian Weimer  <fweimer@redhat.com>
9250         * sysdeps/unix/sysv/linux/kernel-features.h
9251         (__ASSUME_SOCK_CLOEXEC): Remove.
9252         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
9253         (__have_paccept): Remove unused macro.
9254         * include/unistd.h (__have_sock_cloexec): Remove declaration.
9255         * misc/syslog.c (openlog_internal): Remove fallback code for
9256         !__ASSUME_SOCK_CLOEXEC.
9257         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
9258         missing SOCK_CLOEXEC.
9259         * nscd/connections.c (have_sock_cloexec): Remove definition.
9260         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
9261         * nscd/nscd_helper.c (open_socket): Remove fallback code for
9262         !__ASSUME_SOCK_CLOEXEC.
9263         * resolv/res_send.c (__have_o_nonblock): Remove definition.
9264         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
9265         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
9266         definition.
9267         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
9268         code for !__ASSUME_SOCK_CLOEXEC.
9270 2015-10-17  Florian Weimer  <fweimer@redhat.com>
9272         [BZ #18982]
9273         * manual/stdio.texi (Variable Arguments Output): Add portability
9274         note, explaining that vfprintf clobbers the va_list pointer.
9276 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
9278         * math/libm-test.inc (fabs_test_data): Add more tests.
9279         (fdim_test_data): Likewise.
9280         (fma_test_data): Likewise.
9281         (fmax_test_data): Likewise.
9282         (fmin_test_data): Likewise.
9283         (fmod_test_data): Likewise.
9285 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
9287         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
9288         data.
9290 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
9292         * math/libm-test.inc (ceil_test_data): Add more tests and more
9293         expectations for "inexact".
9294         (floor_test_data): Add more tests.
9295         (round_test_data): Likewise.
9296         (trunc_test_data): Likewise.
9298         * crypt/cert.c (good_bye): Convert to prototype-style function
9299         definition.
9300         (get8): Likewise.
9301         (put8): Likewise.
9302         * crypt/crypt-entry.c (crypt): Likewise.
9303         (__fcrypt): Likewise.
9304         * crypt/crypt_util.c (_ufc_prbits): Likewise.
9305         (_ufc_set_bits): Likewise.
9306         (_ufc_clearmem): Likewise.
9307         (__init_des_r): Likewise.
9308         (shuffle_sb): Likewise.
9309         (shuffle_sb): Likewise.
9310         (_ufc_setup_salt_r): Likewise.
9311         (_ufc_mk_keytab_r): Likewise.
9312         (_ufc_dofinalperm_r): Likewise.
9313         (encrypt): Likewise.
9314         (__setkey_r): Likewise.
9315         (setkey): Likewise.
9316         * crypt/md5.c (md5_init_ctx): Likewise.
9317         (md5_read_ctx): Likewise.
9318         (md5_finish_ctx): Likewise.
9319         (md5_stream): Likewise.
9320         (md5_buffer): Likewise.
9321         (md5_process_bytes): Likewise.
9322         * crypt/sha256.c (__sha256_init_ctx): Likewise.
9323         (__sha256_finish_ctx): Likewise.
9324         (__sha256_process_bytes): Likewise.
9325         * crypt/sha512.c (__sha512_init_ctx): Likewise.
9326         (__sha512_finish_ctx): Likewise.
9327         (__sha512_process_bytes): Likewise.
9328         * ctype/isctype.c (__isctype): Likewise.
9329         * debug/backtrace.c (__backtrace): Likewise.
9330         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
9331         * debug/fgets_chk.c (__fgets_chk): Likewise.
9332         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
9333         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
9334         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
9335         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
9336         * debug/memset_chk.c (__memset_chk): Likewise.
9337         * debug/strcat_chk.c (__strcat_chk): Likewise.
9338         * debug/strncat_chk.c (__strncat_chk): Likewise.
9339         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
9340         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
9341         * dirent/dirfd.c (dirfd): Likewise.
9342         * dirent/getdents.c (__getdirentries): Likewise.
9343         * dirent/getdents64.c (getdirentries64): Likewise.
9344         * dirent/rewinddir.c (__rewinddir): Likewise.
9345         * dirent/seekdir.c (seekdir): Likewise.
9346         * dirent/telldir.c (telldir): Likewise.
9347         * elf/sln.c (makesymlinks): Likewise.
9348         (makesymlink): Likewise.
9349         * gmon/gmon.c (__moncontrol): Likewise.
9350         (__monstartup): Likewise.
9351         (write_hist): Likewise.
9352         (write_call_graph): Likewise.
9353         (write_bb_counts): Likewise.
9354         * grp/setgroups.c (setgroups): Likewise.
9355         * inet/inet_lnaof.c (inet_lnaof): Likewise.
9356         * inet/inet_net.c (inet_network): Likewise.
9357         * inet/inet_netof.c (inet_netof): Likewise.
9358         * inet/rcmd.c (rresvport_af): Likewise.
9359         (rresvport): Likewise.
9360         * io/access.c (__access): Likewise.
9361         * io/chdir.c (__chdir): Likewise.
9362         * io/chmod.c (__chmod): Likewise.
9363         * io/chown.c (__chown): Likewise.
9364         * io/close.c (__close): Likewise.
9365         * io/creat.c (creat): Likewise.
9366         * io/creat64.c (creat64): Likewise.
9367         * io/dup.c (__dup): Likewise.
9368         * io/dup2.c (__dup2): Likewise.
9369         * io/dup3.c (__dup3): Likewise.
9370         * io/euidaccess.c (__euidaccess): Likewise.
9371         * io/faccessat.c (faccessat): Likewise.
9372         * io/fchmod.c (__fchmod): Likewise.
9373         * io/fchmodat.c (fchmodat): Likewise.
9374         * io/fchown.c (__fchown): Likewise.
9375         * io/fchownat.c (fchownat): Likewise.
9376         * io/fcntl.c (__fcntl): Likewise.
9377         * io/flock.c (__flock): Likewise.
9378         * io/fts.c (fts_load): Likewise.
9379         (fts_close): Likewise.
9380         (fts_read): Likewise.
9381         (fts_set): Likewise.
9382         (fts_children): Likewise.
9383         (fts_build): Likewise.
9384         (fts_stat): Likewise.
9385         (fts_sort): Likewise.
9386         (fts_alloc): Likewise.
9387         (fts_lfree): Likewise.
9388         (fts_palloc): Likewise.
9389         (fts_padjust): Likewise.
9390         (fts_maxarglen): Likewise.
9391         (fts_safe_changedir): Likewise.
9392         * io/getwd.c (getwd): Likewise.
9393         * io/isatty.c (__isatty): Likewise.
9394         * io/lchown.c (__lchown): Likewise.
9395         * io/link.c (__link): Likewise.
9396         * io/linkat.c (linkat): Likewise.
9397         * io/lseek.c (__libc_lseek): Likewise.
9398         * io/mkdir.c (__mkdir): Likewise.
9399         * io/mkdirat.c (mkdirat): Likewise.
9400         * io/mkfifo.c (mkfifo): Likewise.
9401         * io/mkfifoat.c (mkfifoat): Likewise.
9402         * io/open.c (__libc_open): Likewise.
9403         * io/open64.c (__libc_open64): Likewise.
9404         * io/readlink.c (__readlink): Likewise.
9405         * io/readlinkat.c (readlinkat): Likewise.
9406         * io/rmdir.c (__rmdir): Likewise.
9407         * io/symlink.c (__symlink): Likewise.
9408         * io/symlinkat.c (symlinkat): Likewise.
9409         * io/ttyname.c (ttyname): Likewise.
9410         * io/ttyname_r.c (__ttyname_r): Likewise.
9411         * io/umask.c (__umask): Likewise.
9412         * io/unlink.c (__unlink): Likewise.
9413         * io/unlinkat.c (unlinkat): Likewise.
9414         * io/utime.c (utime): Likewise.
9415         * libio/clearerr.c (clearerr): Likewise.
9416         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
9417         * libio/feof.c (_IO_feof): Likewise.
9418         * libio/feof_u.c (feof_unlocked): Likewise.
9419         * libio/ferror.c (_IO_ferror): Likewise.
9420         * libio/ferror_u.c (ferror_unlocked): Likewise.
9421         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
9422         * libio/fileno.c (__fileno): Likewise.
9423         * libio/fputc.c (fputc): Likewise.
9424         * libio/fputc_u.c (fputc_unlocked): Likewise.
9425         * libio/fputwc.c (fputwc): Likewise.
9426         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
9427         * libio/freopen.c (freopen): Likewise.
9428         * libio/freopen64.c (freopen64): Likewise.
9429         * libio/fseek.c (fseek): Likewise.
9430         * libio/fseeko.c (fseeko): Likewise.
9431         * libio/fseeko64.c (fseeko64): Likewise.
9432         * libio/ftello.c (__ftello): Likewise.
9433         * libio/ftello64.c (ftello64): Likewise.
9434         * libio/fwide.c (fwide): Likewise.
9435         * libio/genops.c (_IO_un_link): Likewise.
9436         (_IO_link_in): Likewise.
9437         (_IO_least_marker): Likewise.
9438         (_IO_switch_to_main_get_area): Likewise.
9439         (_IO_switch_to_backup_area): Likewise.
9440         (_IO_switch_to_get_mode): Likewise.
9441         (_IO_free_backup_area): Likewise.
9442         (_IO_switch_to_put_mode): Likewise.
9443         (__overflow): Likewise.
9444         (__underflow): Likewise.
9445         (__uflow): Likewise.
9446         (_IO_setb): Likewise.
9447         (_IO_doallocbuf): Likewise.
9448         (_IO_default_underflow): Likewise.
9449         (_IO_default_uflow): Likewise.
9450         (_IO_default_xsputn): Likewise.
9451         (_IO_sgetn): Likewise.
9452         (_IO_default_xsgetn): Likewise.
9453         (_IO_sync): Likewise.
9454         (_IO_default_setbuf): Likewise.
9455         (_IO_default_seekpos): Likewise.
9456         (_IO_default_doallocate): Likewise.
9457         (_IO_init): Likewise.
9458         (_IO_old_init): Likewise.
9459         (_IO_default_sync): Likewise.
9460         (_IO_default_finish): Likewise.
9461         (_IO_default_seekoff): Likewise.
9462         (_IO_sputbackc): Likewise.
9463         (_IO_sungetc): Likewise.
9464         (_IO_set_column): Likewise.
9465         (_IO_set_column): Likewise.
9466         (_IO_adjust_column): Likewise.
9467         (_IO_get_column): Likewise.
9468         (_IO_init_marker): Likewise.
9469         (_IO_remove_marker): Likewise.
9470         (_IO_marker_difference): Likewise.
9471         (_IO_marker_delta): Likewise.
9472         (_IO_seekmark): Likewise.
9473         (_IO_unsave_markers): Likewise.
9474         (_IO_nobackup_pbackfail): Likewise.
9475         (_IO_default_pbackfail): Likewise.
9476         (_IO_default_seek): Likewise.
9477         (_IO_default_stat): Likewise.
9478         (_IO_default_read): Likewise.
9479         (_IO_default_write): Likewise.
9480         (_IO_default_showmanyc): Likewise.
9481         (_IO_default_imbue): Likewise.
9482         (_IO_iter_next): Likewise.
9483         (_IO_iter_file): Likewise.
9484         * libio/getc.c (_IO_getc): Likewise.
9485         * libio/getwc.c (_IO_getwc): Likewise.
9486         * libio/iofclose.c (_IO_new_fclose): Likewise.
9487         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
9488         * libio/iofflush.c (_IO_fflush): Likewise.
9489         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
9490         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
9491         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
9492         * libio/iofgets.c (_IO_fgets): Likewise.
9493         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
9494         * libio/iofgetws.c (fgetws): Likewise.
9495         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
9496         * libio/iofopen64.c (_IO_fopen64): Likewise.
9497         * libio/iofopncook.c (_IO_cookie_read): Likewise.
9498         (_IO_cookie_write): Likewise.
9499         (_IO_cookie_seek): Likewise.
9500         (_IO_cookie_close): Likewise.
9501         (_IO_cookie_seekoff): Likewise.
9502         (_IO_old_cookie_seek): Likewise.
9503         * libio/iofputs.c (_IO_fputs): Likewise.
9504         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
9505         * libio/iofputws.c (fputws): Likewise.
9506         * libio/iofputws_u.c (fputws_unlocked): Likewise.
9507         * libio/iofread.c (_IO_fread): Likewise.
9508         * libio/iofread_u.c (__fread_unlocked): Likewise.
9509         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
9510         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
9511         * libio/ioftell.c (_IO_ftell): Likewise.
9512         * libio/iofwrite.c (_IO_fwrite): Likewise.
9513         * libio/iogetdelim.c (_IO_getdelim): Likewise.
9514         * libio/iogets.c (_IO_gets): Likewise.
9515         * libio/iopadn.c (_IO_padn): Likewise.
9516         * libio/iopopen.c (_IO_new_proc_open): Likewise.
9517         (_IO_new_popen): Likewise.
9518         (_IO_new_proc_close): Likewise.
9519         * libio/ioputs.c (_IO_puts): Likewise.
9520         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
9521         (_IO_seekoff): Likewise.
9522         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
9523         (_IO_seekpos): Likewise.
9524         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
9525         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
9526         * libio/ioungetc.c (_IO_ungetc): Likewise.
9527         * libio/ioungetwc.c (ungetwc): Likewise.
9528         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
9529         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
9530         * libio/iowpadn.c (_IO_wpadn): Likewise.
9531         * libio/libc_fatal.c (__libc_fatal): Likewise.
9532         * libio/memstream.c (__open_memstream): Likewise.
9533         (_IO_mem_sync): Likewise.
9534         (_IO_mem_finish): Likewise.
9535         * libio/oldfileops.c (_IO_old_file_init): Likewise.
9536         (_IO_old_file_close_it): Likewise.
9537         (_IO_old_file_finish): Likewise.
9538         (_IO_old_file_fopen): Likewise.
9539         (_IO_old_file_attach): Likewise.
9540         (_IO_old_file_setbuf): Likewise.
9541         (_IO_old_do_write): Likewise.
9542         (old_do_write): Likewise.
9543         (_IO_old_file_underflow): Likewise.
9544         (_IO_old_file_overflow): Likewise.
9545         (_IO_old_file_sync): Likewise.
9546         (_IO_old_file_seekoff): Likewise.
9547         (_IO_old_file_write): Likewise.
9548         (_IO_old_file_xsputn): Likewise.
9549         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
9550         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
9551         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
9552         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
9553         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
9554         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
9555         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
9556         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
9557         (_IO_old_popen): Likewise.
9558         (_IO_old_proc_close): Likewise.
9559         * libio/oldpclose.c (__old_pclose): Likewise.
9560         * libio/pclose.c (__new_pclose): Likewise.
9561         * libio/peekc.c (_IO_peekc_locked): Likewise.
9562         * libio/putc.c (_IO_putc): Likewise.
9563         * libio/putc_u.c (putc_unlocked): Likewise.
9564         * libio/putchar.c (putchar): Likewise.
9565         * libio/putchar_u.c (putchar_unlocked): Likewise.
9566         * libio/putwc.c (putwc): Likewise.
9567         * libio/putwc_u.c (putwc_unlocked): Likewise.
9568         * libio/putwchar.c (putwchar): Likewise.
9569         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
9570         * libio/rewind.c (rewind): Likewise.
9571         * libio/setbuf.c (setbuf): Likewise.
9572         * libio/setlinebuf.c (setlinebuf): Likewise.
9573         * libio/vasprintf.c (_IO_vasprintf): Likewise.
9574         * libio/vscanf.c (_IO_vscanf): Likewise.
9575         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
9576         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
9577         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
9578         * libio/wgenops.c (_IO_least_wmarker): Likewise.
9579         (_IO_switch_to_main_wget_area): Likewise.
9580         (_IO_switch_to_wbackup_area): Likewise.
9581         (_IO_wsetb): Likewise.
9582         (_IO_wdefault_pbackfail): Likewise.
9583         (_IO_wdefault_finish): Likewise.
9584         (_IO_wdefault_uflow): Likewise.
9585         (__woverflow): Likewise.
9586         (__wuflow): Likewise.
9587         (__wunderflow): Likewise.
9588         (_IO_wdefault_xsputn): Likewise.
9589         (_IO_wdefault_xsgetn): Likewise.
9590         (_IO_wdoallocbuf): Likewise.
9591         (_IO_wdefault_doallocate): Likewise.
9592         (_IO_switch_to_wget_mode): Likewise.
9593         (_IO_free_wbackup_area): Likewise.
9594         (_IO_switch_to_wput_mode): Likewise.
9595         (_IO_sputbackwc): Likewise.
9596         (_IO_sungetwc): Likewise.
9597         (_IO_adjust_wcolumn): Likewise.
9598         (_IO_init_wmarker): Likewise.
9599         (_IO_wmarker_delta): Likewise.
9600         (_IO_seekwmark): Likewise.
9601         (_IO_unsave_wmarkers): Likewise.
9602         * libio/wmemstream.c (open_wmemstream): Likewise.
9603         (_IO_wmem_sync): Likewise.
9604         (_IO_wmem_finish): Likewise.
9605         * locale/nl_langinfo.c (nl_langinfo): Likewise.
9606         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
9607         * locale/programs/simple-hash.c (init_hash): Likewise.
9608         (delete_hash): Likewise.
9609         (insert_entry): Likewise.
9610         (set_entry): Likewise.
9611         (next_prime): Likewise.
9612         (is_prime): Likewise.
9613         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
9614         (xmalloc): Likewise.
9615         (xrealloc): Likewise.
9616         * locale/programs/xstrdup.c (xstrdup): Likewise.
9617         * localedata/collate-test.c (xstrcoll): Likewise.
9618         * localedata/xfrm-test.c (xstrcmp): Likewise.
9619         * login/getlogin_r.c (__getlogin_r): Likewise.
9620         * login/getpt.c (__posix_openpt): Likewise.
9621         * login/login_tty.c (login_tty): Likewise.
9622         * login/setlogin.c (setlogin): Likewise.
9623         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
9624         (mach_msg_destroy_port): Likewise.
9625         (mach_msg_destroy_memory): Likewise.
9626         * malloc/mcheck.c (flood): Likewise.
9627         * misc/acct.c (acct): Likewise.
9628         * misc/brk.c (__brk): Likewise.
9629         * misc/chflags.c (chflags): Likewise.
9630         * misc/chroot.c (chroot): Likewise.
9631         * misc/fchflags.c (fchflags): Likewise.
9632         * misc/fstab.c (getfsspec): Likewise.
9633         (getfsfile): Likewise.
9634         * misc/fsync.c (fsync): Likewise.
9635         * misc/ftruncate.c (__ftruncate): Likewise.
9636         * misc/ftruncate64.c (__ftruncate64): Likewise.
9637         * misc/getdomain.c (getdomainname): Likewise.
9638         (getdomainname): Likewise.
9639         * misc/gethostname.c (__gethostname): Likewise.
9640         * misc/getpass.c (getpass): Likewise.
9641         * misc/getttyent.c (skip): Likewise.
9642         (value): Likewise.
9643         * misc/gtty.c (gtty): Likewise.
9644         * misc/hsearch.c (hsearch): Likewise.
9645         (hcreate): Likewise.
9646         * misc/hsearch_r.c (__hcreate_r): Likewise.
9647         (__hdestroy_r): Likewise.
9648         * misc/ioctl.c (__ioctl): Likewise.
9649         * misc/mkdtemp.c (mkdtemp): Likewise.
9650         * misc/mkostemp.c (mkostemp): Likewise.
9651         * misc/mkostemp64.c (mkostemp64): Likewise.
9652         * misc/mkostemps.c (mkostemps): Likewise.
9653         * misc/mkostemps64.c (mkostemps64): Likewise.
9654         * misc/mkstemp.c (mkstemp): Likewise.
9655         * misc/mkstemp64.c (mkstemp64): Likewise.
9656         * misc/mkstemps.c (mkstemps): Likewise.
9657         * misc/mkstemps64.c (mkstemps64): Likewise.
9658         * misc/mktemp.c (__mktemp): Likewise.
9659         * misc/preadv.c (preadv): Likewise.
9660         * misc/preadv64.c (preadv64): Likewise.
9661         * misc/pwritev.c (pwritev): Likewise.
9662         * misc/pwritev64.c (pwritev64): Likewise.
9663         * misc/readv.c (__readv): Likewise.
9664         * misc/revoke.c (revoke): Likewise.
9665         * misc/setdomain.c (setdomainname): Likewise.
9666         * misc/setegid.c (setegid): Likewise.
9667         * misc/seteuid.c (seteuid): Likewise.
9668         * misc/sethostid.c (sethostid): Likewise.
9669         * misc/sethostname.c (sethostname): Likewise.
9670         * misc/setregid.c (__setregid): Likewise.
9671         * misc/setreuid.c (__setreuid): Likewise.
9672         * misc/sstk.c (sstk): Likewise.
9673         * misc/stty.c (stty): Likewise.
9674         * misc/syscall.c (syscall): Likewise.
9675         * misc/syslog.c (setlogmask): Likewise.
9676         * misc/truncate.c (__truncate): Likewise.
9677         * misc/truncate64.c (truncate64): Likewise.
9678         * misc/ualarm.c (ualarm): Likewise.
9679         * misc/usleep.c (usleep): Likewise.
9680         * misc/ustat.c (ustat): Likewise.
9681         * misc/writev.c (__writev): Likewise.
9682         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
9683         * nptl/old_pthread_cond_broadcast.c
9684         (__pthread_cond_broadcast_2_0): Likewise.
9685         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
9686         Likewise.
9687         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
9688         Likewise.
9689         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
9690         Likewise.
9691         * nptl/pt-raise.c (raise): Likewise.
9692         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
9693         Likewise.
9694         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
9695         * nptl/pthread_barrierattr_destroy.c
9696         (pthread_barrierattr_destroy): Likewise.
9697         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
9698         Likewise.
9699         * nptl/pthread_barrierattr_setpshared.c
9700         (pthread_barrierattr_setpshared): Likewise.
9701         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
9702         Likewise.
9703         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
9704         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
9705         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
9706         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
9707         Likewise.
9708         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
9709         Likewise.
9710         * nptl/pthread_condattr_getpshared.c
9711         (pthread_condattr_getpshared): Likewise.
9712         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
9713         Likewise.
9714         * nptl/pthread_condattr_setpshared.c
9715         (pthread_condattr_setpshared): Likewise.
9716         * nptl/pthread_detach.c (pthread_detach): Likewise.
9717         * nptl/pthread_equal.c (__pthread_equal): Likewise.
9718         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
9719         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
9720         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
9721         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
9722         Likewise.
9723         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
9724         Likewise.
9725         * nptl/pthread_mutex_getprioceiling.c
9726         (pthread_mutex_getprioceiling): Likewise.
9727         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
9728         Likewise.
9729         * nptl/pthread_mutexattr_getprotocol.c
9730         (pthread_mutexattr_getprotocol): Likewise.
9731         * nptl/pthread_mutexattr_getpshared.c
9732         (pthread_mutexattr_getpshared): Likewise.
9733         * nptl/pthread_mutexattr_getrobust.c
9734         (pthread_mutexattr_getrobust): Likewise.
9735         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
9736         Likewise.
9737         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
9738         Likewise.
9739         * nptl/pthread_mutexattr_setprioceiling.c
9740         (pthread_mutexattr_setprioceiling): Likewise.
9741         * nptl/pthread_mutexattr_setprotocol.c
9742         (pthread_mutexattr_setprotocol): Likewise.
9743         * nptl/pthread_mutexattr_setpshared.c
9744         (pthread_mutexattr_setpshared): Likewise.
9745         * nptl/pthread_mutexattr_setrobust.c
9746         (pthread_mutexattr_setrobust): Likewise.
9747         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
9748         Likewise.
9749         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
9750         Likewise.
9751         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
9752         Likewise.
9753         * nptl/pthread_rwlockattr_getkind_np.c
9754         (pthread_rwlockattr_getkind_np): Likewise.
9755         * nptl/pthread_rwlockattr_getpshared.c
9756         (pthread_rwlockattr_getpshared): Likewise.
9757         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
9758         Likewise.
9759         * nptl/pthread_rwlockattr_setkind_np.c
9760         (pthread_rwlockattr_setkind_np): Likewise.
9761         * nptl/pthread_rwlockattr_setpshared.c
9762         (pthread_rwlockattr_setpshared): Likewise.
9763         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
9764         Likewise.
9765         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
9766         Likewise.
9767         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
9768         Likewise.
9769         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
9770         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
9771         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
9772         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
9773         * nptl/sem_close.c (sem_close): Likewise.
9774         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
9775         * nptl/sem_init.c (__old_sem_init): Likewise.
9776         * nptl/sigaction.c (__sigaction): Likewise.
9777         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
9778         * posix/_exit.c (_exit): Likewise.
9779         * posix/alarm.c (alarm): Likewise.
9780         * posix/confstr.c (confstr): Likewise.
9781         * posix/fpathconf.c (__fpathconf): Likewise.
9782         * posix/getgroups.c (__getgroups): Likewise.
9783         * posix/getpgid.c (__getpgid): Likewise.
9784         * posix/group_member.c (__group_member): Likewise.
9785         * posix/pathconf.c (__pathconf): Likewise.
9786         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
9787         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
9788         * posix/setgid.c (__setgid): Likewise.
9789         * posix/setpgid.c (__setpgid): Likewise.
9790         * posix/setuid.c (__setuid): Likewise.
9791         * posix/sleep.c (__sleep): Likewise.
9792         * posix/sysconf.c (__sysconf): Likewise.
9793         * posix/times.c (__times): Likewise.
9794         * posix/uname.c (__uname): Likewise.
9795         * posix/waitid.c (__waitid): Likewise.
9796         * pwd/getpw.c (__getpw): Likewise.
9797         * resolv/base64.c (b64_pton): Likewise.
9798         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
9799         * resolv/gethnamaddr.c (Dprintf): Likewise.
9800         (gethostbyname): Likewise.
9801         (gethostbyname2): Likewise.
9802         (gethostbyaddr): Likewise.
9803         (_sethtent): Likewise.
9804         (_gethtbyname): Likewise.
9805         (_gethtbyname2): Likewise.
9806         (_gethtbyaddr): Likewise.
9807         (map_v4v6_address): Likewise.
9808         (map_v4v6_hostent): Likewise.
9809         (addrsort): Likewise.
9810         (ht_sethostent): Likewise.
9811         (ht_gethostbyname): Likewise.
9812         (ht_gethostbyaddr): Likewise.
9813         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
9814         (inet_net_ntop_ipv4): Likewise.
9815         * resolv/inet_neta.c (inet_neta): Likewise.
9816         * resolv/inet_ntop.c (inet_ntop): Likewise.
9817         (inet_ntop4): Likewise.
9818         (inet_ntop6): Likewise.
9819         * resolv/inet_pton.c (__inet_pton): Likewise.
9820         (inet_pton4): Likewise.
9821         (inet_pton6): Likewise.
9822         * resolv/res_debug.c (loc_aton): Likewise.
9823         (loc_ntoa): Likewise.
9824         * resource/getpriority.c (__getpriority): Likewise.
9825         * resource/getrusage.c (__getrusage): Likewise.
9826         * resource/nice.c (nice): Likewise.
9827         * resource/setpriority.c (__setpriority): Likewise.
9828         * resource/setrlimit64.c (setrlimit64): Likewise.
9829         * resource/vlimit.c (vlimit): Likewise.
9830         * resource/vtimes.c (vtimes): Likewise.
9831         * rt/aio_error.c (aio_error): Likewise.
9832         * rt/aio_return.c (aio_return): Likewise.
9833         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
9834         * signal/kill.c (__kill): Likewise.
9835         * signal/killpg.c (killpg): Likewise.
9836         * signal/raise.c (raise): Likewise.
9837         * signal/sigaction.c (__sigaction): Likewise.
9838         * signal/sigaddset.c (sigaddset): Likewise.
9839         * signal/sigaltstack.c (sigaltstack): Likewise.
9840         * signal/sigandset.c (sigandset): Likewise.
9841         * signal/sigblock.c (__sigblock): Likewise.
9842         * signal/sigdelset.c (sigdelset): Likewise.
9843         * signal/sigempty.c (sigemptyset): Likewise.
9844         * signal/sigfillset.c (sigfillset): Likewise.
9845         * signal/sighold.c (sighold): Likewise.
9846         * signal/sigignore.c (sigignore): Likewise.
9847         * signal/sigintr.c (siginterrupt): Likewise.
9848         * signal/sigisempty.c (sigisemptyset): Likewise.
9849         * signal/sigismem.c (sigismember): Likewise.
9850         * signal/signal.c (signal): Likewise.
9851         * signal/sigorset.c (sigorset): Likewise.
9852         * signal/sigpause.c (__sigpause): Likewise.
9853         * signal/sigpending.c (sigpending): Likewise.
9854         * signal/sigprocmask.c (__sigprocmask): Likewise.
9855         * signal/sigrelse.c (sigrelse): Likewise.
9856         * signal/sigreturn.c (__sigreturn): Likewise.
9857         * signal/sigset.c (sigset): Likewise.
9858         * signal/sigsetmask.c (__sigsetmask): Likewise.
9859         * signal/sigstack.c (sigstack): Likewise.
9860         * signal/sigsuspend.c (__sigsuspend): Likewise.
9861         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
9862         * signal/sysv_signal.c (__sysv_signal): Likewise.
9863         * socket/accept.c (accept): Likewise.
9864         * socket/accept4.c (__libc_accept4): Likewise.
9865         * socket/bind.c (__bind): Likewise.
9866         * socket/connect.c (__connect): Likewise.
9867         * socket/getpeername.c (getpeername): Likewise.
9868         * socket/getsockname.c (__getsockname): Likewise.
9869         * socket/getsockopt.c (getsockopt): Likewise.
9870         * socket/listen.c (__listen): Likewise.
9871         * socket/recv.c (__recv): Likewise.
9872         * socket/recvmsg.c (__recvmsg): Likewise.
9873         * socket/send.c (__send): Likewise.
9874         * socket/sendmsg.c (__sendmsg): Likewise.
9875         * socket/shutdown.c (shutdown): Likewise.
9876         * socket/sockatmark.c (sockatmark): Likewise.
9877         * socket/socket.c (__socket): Likewise.
9878         * stdio-common/ctermid.c (ctermid): Likewise.
9879         * stdio-common/cuserid.c (cuserid): Likewise.
9880         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
9881         * stdio-common/remove.c (remove): Likewise.
9882         * stdio-common/rename.c (rename): Likewise.
9883         * stdio-common/renameat.c (renameat): Likewise.
9884         * stdio-common/tempname.c (__gen_tempname): Likewise.
9885         * stdio-common/xbug.c (InitBuffer): Likewise.
9886         (AppendToBuffer): Likewise.
9887         (ReadFile): Likewise.
9888         * stdlib/a64l.c (a64l): Likewise.
9889         * stdlib/drand48_r.c (drand48_r): Likewise.
9890         * stdlib/getcontext.c (getcontext): Likewise.
9891         * stdlib/getenv.c (getenv): Likewise.
9892         * stdlib/l64a.c (l64a): Likewise.
9893         * stdlib/llabs.c (llabs): Likewise.
9894         * stdlib/lldiv.c (lldiv): Likewise.
9895         * stdlib/lrand48_r.c (lrand48_r): Likewise.
9896         * stdlib/mrand48_r.c (mrand48_r): Likewise.
9897         * stdlib/putenv.c (putenv): Likewise.
9898         * stdlib/random.c (__srandom): Likewise.
9899         (__initstate): Likewise.
9900         (__setstate): Likewise.
9901         * stdlib/random_r.c (__srandom_r): Likewise.
9902         (__setstate_r): Likewise.
9903         (__random_r): Likewise.
9904         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
9905         * stdlib/setcontext.c (setcontext): Likewise.
9906         * stdlib/setenv.c (setenv): Likewise.
9907         (unsetenv): Likewise.
9908         * stdlib/srand48.c (srand48): Likewise.
9909         * stdlib/srand48_r.c (__srand48_r): Likewise.
9910         * stdlib/swapcontext.c (swapcontext): Likewise.
9911         * stdlib/system.c (__libc_system): Likewise.
9912         * stdlib/tst-strtod.c (expand): Likewise.
9913         * stdlib/tst-strtol.c (expand): Likewise.
9914         * stdlib/tst-strtoll.c (expand): Likewise.
9915         * streams/fattach.c (fattach): Likewise.
9916         * streams/fdetach.c (fdetach): Likewise.
9917         * streams/getmsg.c (getmsg): Likewise.
9918         * streams/isastream.c (isastream): Likewise.
9919         * string/ffs.c (__ffs): Likewise.
9920         * string/ffsll.c (ffsll): Likewise.
9921         * string/memcmp.c (memcmp_common_alignment): Likewise.
9922         (memcmp_not_common_alignment): Likewise.
9923         (MEMCMP): Likewise.
9924         * string/memcpy.c (memcpy): Likewise.
9925         * string/memmove.c (MEMMOVE): Likewise.
9926         * string/memset.c (memset): Likewise.
9927         * string/rawmemchr.c (RAWMEMCHR): Likewise.
9928         * string/strchrnul.c (STRCHRNUL): Likewise.
9929         * string/strerror.c (strerror): Likewise.
9930         * string/strndup.c (__strndup): Likewise.
9931         * string/strverscmp.c (__strverscmp): Likewise.
9932         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
9933         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
9934         (clnttcp_freeres): Likewise.
9935         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
9936         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
9937         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
9938         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
9939         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
9940         (xdr_callhdr): Likewise.
9941         * sunrpc/rpcinfo.c (udpping): Likewise.
9942         (tcpping): Likewise.
9943         (pstatus): Likewise.
9944         (pmapdump): Likewise.
9945         (brdcst): Likewise.
9946         (deletereg): Likewise.
9947         (getprognum): Likewise.
9948         (getvers): Likewise.
9949         (get_inet_address): Likewise.
9950         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
9951         * sunrpc/svc_udp.c (svcudp_create): Likewise.
9952         (svcudp_stat): Likewise.
9953         (svcudp_recv): Likewise.
9954         (svcudp_reply): Likewise.
9955         (svcudp_getargs): Likewise.
9956         (svcudp_freeargs): Likewise.
9957         (svcudp_destroy): Likewise.
9958         * sunrpc/xdr.c (xdr_bytes): Likewise.
9959         (xdr_netobj): Likewise.
9960         (xdr_string): Likewise.
9961         (xdr_wrapstring): Likewise.
9962         * sunrpc/xdr_float.c (xdr_float): Likewise.
9963         (xdr_double): Likewise.
9964         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
9965         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
9966         * sysvipc/ftok.c (ftok): Likewise.
9967         * sysvipc/msgctl.c (msgctl): Likewise.
9968         * sysvipc/msgget.c (msgget): Likewise.
9969         * sysvipc/msgrcv.c (msgrcv): Likewise.
9970         * sysvipc/msgsnd.c (msgsnd): Likewise.
9971         * sysvipc/semget.c (semget): Likewise.
9972         * sysvipc/semop.c (semop): Likewise.
9973         * sysvipc/shmat.c (shmat): Likewise.
9974         * sysvipc/shmctl.c (shmctl): Likewise.
9975         * sysvipc/shmdt.c (shmdt): Likewise.
9976         * sysvipc/shmget.c (shmget): Likewise.
9977         * termios/cfmakeraw.c (cfmakeraw): Likewise.
9978         * termios/speed.c (cfgetospeed): Likewise.
9979         (cfgetispeed): Likewise.
9980         (cfsetospeed): Likewise.
9981         (cfsetispeed): Likewise.
9982         * termios/tcflow.c (tcflow): Likewise.
9983         * termios/tcflush.c (tcflush): Likewise.
9984         * termios/tcgetattr.c (__tcgetattr): Likewise.
9985         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
9986         * termios/tcgetsid.c (tcgetsid): Likewise.
9987         * termios/tcsendbrk.c (tcsendbreak): Likewise.
9988         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
9989         * time/adjtime.c (__adjtime): Likewise.
9990         * time/dysize.c (dysize): Likewise.
9991         * time/ftime.c (ftime): Likewise.
9992         * time/getitimer.c (__getitimer): Likewise.
9993         * time/gettimeofday.c (__gettimeofday): Likewise.
9994         * time/gmtime.c (__gmtime_r): Likewise.
9995         (gmtime): Likewise.
9996         * time/localtime.c (__localtime_r): Likewise.
9997         (localtime): Likewise.
9998         * time/offtime.c (__offtime): Likewise.
9999         * time/settimeofday.c (__settimeofday): Likewise.
10000         * time/stime.c (stime): Likewise.
10001         * time/strftime_l.c (tm_diff): Likewise.
10002         (iso_week_days): Likewise.
10003         * time/strptime.c (strptime): Likewise.
10004         * time/time.c (time): Likewise.
10005         * time/timespec_get.c (timespec_get): Likewise.
10006         * time/tzset.c (tzset_internal): Likewise.
10007         (compute_change): Likewise.
10008         (__tz_compute): Likewise.
10009         * wcsmbs/btowc.c (__btowc): Likewise.
10010         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
10011         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
10012         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
10013         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
10014         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
10015         * wcsmbs/wcscat.c (__wcscat): Likewise.
10016         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
10017         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
10018         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
10019         * wcsmbs/wcscspn.c (wcscspn): Likewise.
10020         * wcsmbs/wcsdup.c (wcsdup): Likewise.
10021         * wcsmbs/wcslen.c (__wcslen): Likewise.
10022         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
10023         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
10024         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
10025         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
10026         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
10027         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
10028         * wcsmbs/wcsspn.c (wcsspn): Likewise.
10029         * wcsmbs/wcsstr.c (wcsstr): Likewise.
10030         * wcsmbs/wcstok.c (wcstok): Likewise.
10031         * wcsmbs/wctob.c (wctob): Likewise.
10032         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
10033         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
10034         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
10035         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
10036         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
10037         * wcsmbs/wmemset.c (__wmemset): Likewise.
10038         * wctype/wcfuncs.c (__towlower): Likewise.
10039         (__towupper): Likewise.
10041         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
10042         (lll_unlock_elision): Add adapt_count parameter.
10044 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
10046         * sysdeps/nptl/configure.ac: Do not give errors based on the
10047         results of top-level configure tests.
10048         * sysdeps/nptl/configure: Regenerated.
10050         * configure.ac (libc_cv_Bgroup): Remove configure test.
10051         * configure: Regenerated.
10052         * config.make.in (have-Bgroup): Remove variable.
10054         * configure.ac (sizeof_long_double): Remove configure test.
10055         * configure: Regenerated.
10056         * config.make.in (sizeof-long-double): Remove variable.
10058         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
10059         * configure: Regenerated.
10060         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
10061         variable.
10062         (exceptions): Likewise.
10063         * sysdeps/arm/configure: Regenerated.
10064         * config.make.in (exceptions): Remove variable.
10065         * Makeconfig (uses-callbacks): Use -fexceptions instead of
10066         $(exceptions).
10067         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
10068         (CFLAGS-vdprintf_chk.c): Likewise.
10069         (CFLAGS-printf_chk.c): Likewise.
10070         (CFLAGS-fprintf_chk.c): Likewise.
10071         (CFLAGS-vprintf_chk.c): Likewise.
10072         (CFLAGS-vfprintf_chk.c): Likewise.
10073         (CFLAGS-gets_chk.c): Likewise.
10074         (CFLAGS-fgets_chk.c): Likewise.
10075         (CFLAGS-fgets_u_chk.c): Likewise.
10076         (CFLAGS-fread_chk.c): Likewise.
10077         (CFLAGS-fread_u_chk.c): Likewise.
10078         (CFLAGS-wprintf_chk.c): Likewise.
10079         (CFLAGS-fwprintf_chk.c): Likewise.
10080         (CFLAGS-vwprintf_chk.c): Likewise.
10081         (CFLAGS-vfwprintf_chk.c): Likewise.
10082         (CFLAGS-fgetws_chk.c): Likewise.
10083         (CFLAGS-fgetws_u_chk.c): Likewise.
10084         * libio/Makefile (CFLAGS-fileops.c): Likewise.
10085         (CFLAGS-fputc.c): Likewise.
10086         (CFLAGS-fputwc.c): Likewise.
10087         (CFLAGS-freopen64.c): Likewise.
10088         (CFLAGS-freopen.c): Likewise.
10089         (CFLAGS-fseek.c): Likewise.
10090         (CFLAGS-fseeko64.c): Likewise.
10091         (CFLAGS-fseeko.c): Likewise.
10092         (CFLAGS-ftello64.c): Likewise.
10093         (CFLAGS-ftello.c): Likewise.
10094         (CFLAGS-fwide.c): Likewise.
10095         (CFLAGS-genops.c): Likewise.
10096         (CFLAGS-getc.c): Likewise.
10097         (CFLAGS-getchar.c): Likewise.
10098         (CFLAGS-getwc.c): Likewise.
10099         (CFLAGS-getwchar.c): Likewise.
10100         (CFLAGS-iofclose.c): Likewise.
10101         (CFLAGS-iofflush.c): Likewise.
10102         (CFLAGS-iofgetpos64.c): Likewise.
10103         (CFLAGS-iofgetpos.c): Likewise.
10104         (CFLAGS-iofgets.c): Likewise.
10105         (CFLAGS-iofgetws.c): Likewise.
10106         (CFLAGS-iofputs.c): Likewise.
10107         (CFLAGS-iofputws.c): Likewise.
10108         (CFLAGS-iofread.c): Likewise.
10109         (CFLAGS-iofsetpos64.c): Likewise.
10110         (CFLAGS-iofsetpos.c): Likewise.
10111         (CFLAGS-ioftell.c): Likewise.
10112         (CFLAGS-iofwrite.c): Likewise.
10113         (CFLAGS-iogetdelim.c): Likewise.
10114         (CFLAGS-iogetline.c): Likewise.
10115         (CFLAGS-iogets.c): Likewise.
10116         (CFLAGS-iogetwline.c): Likewise.
10117         (CFLAGS-ioputs.c): Likewise.
10118         (CFLAGS-ioseekoff.c): Likewise.
10119         (CFLAGS-ioseekpos.c): Likewise.
10120         (CFLAGS-iosetbuffer.c): Likewise.
10121         (CFLAGS-iosetvbuf.c): Likewise.
10122         (CFLAGS-ioungetc.c): Likewise.
10123         (CFLAGS-ioungetwc.c): Likewise.
10124         (CFLAGS-oldfileops.c): Likewise.
10125         (CFLAGS-oldiofclose.c): Likewise.
10126         (CFLAGS-oldiofgetpos64.c): Likewise.
10127         (CFLAGS-oldiofgetpos.c): Likewise.
10128         (CFLAGS-oldiofsetpos64.c): Likewise.
10129         (CFLAGS-oldiofsetpos.c): Likewise.
10130         (CFLAGS-peekc.c): Likewise.
10131         (CFLAGS-putc.c): Likewise.
10132         (CFLAGS-putchar.c): Likewise.
10133         (CFLAGS-putwc.c): Likewise.
10134         (CFLAGS-putwchar.c): Likewise.
10135         (CFLAGS-rewind.c): Likewise.
10136         (CFLAGS-wfileops.c): Likewise.
10137         (CFLAGS-wgenops.c): Likewise.
10138         (CFLAGS-oldiofopen.c): Likewise.
10139         (CFLAGS-iofopen.c): Likewise.
10140         (CFLAGS-iofopen64.c): Likewise.
10141         (CFLAGS-oldtmpfile.c): Likewise.
10142         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
10143         (CFLAGS-fprintf.c): Likewise.
10144         (CFLAGS-printf.c): Likewise.
10145         (CFLAGS-vfwprintf.c): Likewise.
10146         (CFLAGS-vfscanf.c): Likewise.
10147         (CFLAGS-vfwscanf.c): Likewise.
10148         (CFLAGS-fscanf.c): Likewise.
10149         (CFLAGS-scanf.c): Likewise.
10150         (CFLAGS-isoc99_vfscanf.c): Likewise.
10151         (CFLAGS-isoc99_vscanf.c): Likewise.
10152         (CFLAGS-isoc99_fscanf.c): Likewise.
10153         (CFLAGS-isoc99_scanf.c): Likewise.
10154         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
10155         (CFLAGS-isoc99_fwscanf.c): Likewise.
10156         (CFLAGS-isoc99_vwscanf.c): Likewise.
10157         (CFLAGS-isoc99_vfwscanf.c): Likewise.
10159         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
10160         after mkstemp64.
10161         * login/tst-utmp.c (do_prepare): Likewise.
10162         * rt/tst-aio.c (do_prepare): Likewise.
10163         * rt/tst-aio64.c (do_prepare): Likewise.
10165 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10167         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
10168         (__lll_lock_elision): Remove adapt_count decrement...
10169         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
10170         (__lll_trylock_elision): Likewise.
10171         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
10172         (__lll_unlock_elision): ... to here. And utilize
10173         new adapt_count parameter.
10174         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
10175         (__lll_unlock_elision): Update to include adapt_count
10176         parameter.
10177         (lll_unlock_elision): Pass pointer to adapt_count
10178         variable.
10180 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10182         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
10183         Add elision adapt_count parameter to list of arguments.
10184         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
10185         (lll_unlock_elision): Update with new parameter list
10186         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
10187         (lll_unlock_elision): Likewise.
10188         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
10189         (lll_unlock_elision): Likewise.
10191 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
10193         [BZ #19122]
10194         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
10195         attribute_hidden.
10197         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
10198         attribute_hidden.
10199         [IS_IN (rtld)] (__strdup): Likewise.
10200         [IS_IN (rtld)] (__strerror_r): Likewise.
10201         [IS_IN (rtld)] (__strsep_g): Likewise.
10202         [IS_IN (rtld)] (memchr): Likewise.
10203         [IS_IN (rtld)] (memcmp): Likewise.
10204         [IS_IN (rtld)] (memcpy): Likewise.
10205         [IS_IN (rtld)] (memmove): Likewise.
10206         [IS_IN (rtld)] (memset): Likewise.
10207         [IS_IN (rtld)] (rawmemchr): Likewise.
10208         [IS_IN (rtld)] (stpcpy): Likewise.
10209         [IS_IN (rtld)] (strchr): Likewise.
10210         [IS_IN (rtld)] (strcmp): Likewise.
10211         [IS_IN (rtld)] (strlen): Likewise.
10212         [IS_IN (rtld)] (strnlen): Likewise.
10213         [IS_IN (rtld)] (strsep): Likewise.
10215         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
10216         attribute_hidden.
10217         [IS_IN (rtld)] (__strtoul_internal): Likewise.
10219         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
10220         attribute_hidden.
10221         [IS_IN (rtld)] (__libc_sigaction): Likewise.
10223         * include/setjmp.h (__longjmp): Add attribute_hidden.
10224         [IS_IN (rtld)] (__sigsetjmp): Likewise.
10226         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
10227         Add attribute_hidden.
10229         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
10230         [IS_IN (rtld)] (__open): Likewise.
10231         [IS_IN (rtld)] (__fcntl): Likewise.
10233         * include/dirent.h (__opendirat): Add attribute_hidden.
10234         (__getdents): Likewise.
10235         (__getdents64): Likewise.
10236         (__alloc_dir): Likewise.
10237         [IS_IN (rtld)] (__closedir): Likewise.
10238         [IS_IN (rtld)] (__fdopendir): Likewise.
10239         [IS_IN (rtld)] (__readdir): Likewise.
10240         [IS_IN (rtld)] (__readdir64): Likewise.
10241         [IS_IN (rtld)] (__rewinddir): Likewise.
10243         * include/dlfcn.h (_dl_catch_error): Moved to ...
10244         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
10245         attribute_hidden.
10247         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
10248         (_itoa_word): Likewise.
10250         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
10251         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
10252         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
10253         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
10254         (_dl_higher_prime_number): Likewise.
10255         (_dl_debug_printf_c): Likewise.
10256         (_dl_signal_cerror): Likewise.
10257         (_dl_receive_error): Likewise.
10258         (_dl_reloc_bad_type): Likewise.
10259         (_dl_resolve_conflicts): Likewise.
10260         (_dl_check_all_versions): Likewise.
10261         (_dl_check_map_versions): Likewise.
10262         (_dl_sort_fini): Likewise.
10263         (_dl_debug_initialize): Likewise.
10264         (_dl_init_paths): Likewise.
10265         (_dl_show_auxv): Likewise.
10266         (_dl_next_ld_env_entry): Likewise.
10267         (_dl_important_hwcaps): Likewise.
10268         (_dl_load_cache_lookup): Likewise.
10269         (_dl_update_slotinfo): Likewise.
10270         (_dl_show_scope): Likewise.
10272         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
10273         attribute_hidden.
10274         (_wordcopy_fwd_dest_aligned): Likewise.
10275         (_wordcopy_bwd_aligned): Likewise.
10276         (_wordcopy_bwd_dest_aligned): Likewise.
10278         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
10279         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
10280         Likewise.
10281         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
10282         Likewise.
10283         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
10285 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
10287         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
10288         GCC 5 requirement.
10290 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
10292         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
10293         test.
10294         * sysdeps/i386/configure: Regenerated.
10295         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
10296         code unconditional.
10298         * configure.ac (libc_cv_asm_previous_directive): Remove configure
10299         test.
10300         (libc_cv_asm_popsection_directive): Likewise.
10301         * configure: Regenerated.
10302         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
10303         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
10304         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
10305         (__make_section_unallocated): Make definition unconditional.
10306         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
10307         Remove conditional definition.
10308         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
10309         (__make_section_unallocated): Likewise.
10311         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
10312         * configure: Regenerated.
10313         * config.make.in (static-libgcc): Remove variable.
10314         * Makerules (build-shlib-helper): Use -static-libgcc instead of
10315         $(static-libgcc).
10316         (build-module-helper): Likewise.
10318         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
10319         * configure: Regenerated.
10321 2015-10-15  Florian Weimer  <fweimer@redhat.com>
10323         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
10324         (struct char_buffer): New type.
10325         (char_buffer_start, char_buffer_size, char_buffer_error)
10326         (char_buffer_rewind, char_buffer_add): New functions.
10327         (ADDW): Remove macro, replaced by the char_buffer_add function.
10328         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
10329         of extend_alloca.  Make control flow more explicit.
10331 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
10333         [BZ #19137]
10334         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
10335         Add -fomit-frame-pointer.
10336         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
10338 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
10340         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
10341         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
10342         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
10343         only if !__GNUC_PREREQ (5,0).
10344         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
10345         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
10346         (INTERNAL_SYSCALL_NCS): Likewise.
10347         (LOADREGS_0): New macro for GCC 5.
10348         (ASMARGS_0): Likewise.
10349         (LOADREGS_1): Likewise.
10350         (ASMARGS_1): Likewise.
10351         (LOADREGS_2): Likewise.
10352         (ASMARGS_2): Likewise.
10353         (LOADREGS_3): Likewise.
10354         (ASMARGS_3): Likewise.
10355         (LOADREGS_4): Likewise.
10356         (ASMARGS_4): Likewise.
10357         (LOADREGS_5): Likewise.
10358         (ASMARGS_5): Likewise.
10359         (LOADREGS_6): Likewise.
10360         (ASMARGS_6): Likewise.
10362 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
10364         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
10365         -fomit-frame-pointer.
10366         (CFLAGS-mmap64.c): Likewise.
10367         (CFLAGS-semtimedop.c): Likewise.
10368         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
10369         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
10370         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10371         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
10373 2015-10-15  Florian Weimer  <fweimer@redhat.com>
10375         [BZ #18928]
10376         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
10377         _dl_pointer_guard member.
10378         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
10379         initializer.
10380         (security_init): Always set up pointer guard.
10381         (process_envvars): Do not process LD_POINTER_GUARD.
10383 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
10385         [BZ #19134]
10386         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
10387         (.LC2): Likewise.
10388         (.LC3): Likewise.
10389         (__lround): Do not add 0.5 to integer or out-of-range arguments.
10391 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10393         [BZ #19129]
10394         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
10395         r0 and r1.
10397 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
10399         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
10401 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
10403         * include/stap-probe.h: Fix macro definition formatting.
10405 2015-10-14  Florian Weimer  <fweimer@redhat.com>
10407         [BZ #19074]
10408         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
10409         load and store num_ifs.
10411 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
10413         [BZ #18822]
10414         * sysdeps/unix/sysv/linux/sched_getaffinity.c
10415         (__sched_getaffinity_new): Add libc_hidden_proto and
10416         libc_hidden_def.
10418 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
10420         [BZ #19007]
10421         * scripts/localplt.awk: Also allow GOT references.
10422         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
10423         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
10424         with "+ REL R_386_GLOB_DAT".
10425         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
10426         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
10428 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
10430         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
10431         INLINE_SYSCALL_ERROR_RETURN_VALUE.
10432         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
10433         Likewise.
10434         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
10435         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
10436         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
10437         INTERNAL_SYSCALLINTERNAL_SYSCALL and
10438         INLINE_SYSCALL_ERROR_RETURN_VALUE.
10439         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
10440         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
10441         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
10442         Likewise.
10443         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
10445 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
10447         [BZ #19125]
10448         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
10449         <math_private.h> and <stdint.h>.
10450         (__llround): Avoid conversions to and from long long int, and
10451         subtractions, where those might raise spurious exceptions.
10452         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
10453         <math_private.h> and <stdint.h>.
10454         (__llroundf): Avoid conversions to and from long long int, and
10455         subtractions, where those might raise spurious exceptions.
10457 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
10459         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
10460         INLINE_SYSCALL_ERROR_RETURN_VALUE.
10461         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
10462         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
10463         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
10464         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
10465         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
10466         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
10467         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
10468         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
10469         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
10470         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10471         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
10472         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
10473         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
10474         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
10475         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
10476         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
10477         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
10478         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
10479         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
10480         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
10481         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
10482         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
10483         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
10484         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
10485         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
10486         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
10487         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
10488         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
10489         (__xstat64_conv): Likewise.
10490         (__xstat32_conv): Likewise.
10492 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
10494         * sysdeps/unix/sysv/linux/sysdep.h: New file.
10495         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
10496         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
10497         <sysdeps/unix/sysv/linux/sysdep.h>.
10498         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
10499         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
10500         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
10501         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10502         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
10503         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
10504         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
10505         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
10506         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
10507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
10508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10509         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10510         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10511         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10512         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
10513         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10514         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
10515         (sysdep-dl-routines): Add sysdep.
10516         [$(subdir) == nptl] (libpthread-routines): Likewise.
10517         [$(subdir) == rt] (librt-routines): Likewise.
10518         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
10519         PIC when branching to SYSCALL_ERROR_LABEL.
10520         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
10521         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
10522         <sysdeps/unix/sysv/linux/sysdep.h>.
10523         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
10524         (SYSCALL_ERROR_ERRNO): Removed.
10525         (SYSCALL_ERROR_HANDLER): Changed to empty.
10526         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
10527         (__syscall_error): New prototype.
10528         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
10529         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
10531 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
10533         [BZ #19124]
10534         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
10535         (_dl_runtime_resolve_avx512): Make it a hidden alias of
10536         _dl_runtime_resolve_avx.
10537         (_dl_runtime_profile_avx512): Make it a hidden alias of
10538         _dl_runtime_profile_avx.
10540 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
10542         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
10543         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
10544         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
10545         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
10547         [BZ #16422]
10548         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
10549         New configure test.
10550         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
10551         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
10552         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
10553         <math_private.h> and <stdint.h>.
10554         (__llrint): Avoid conversions to long long int where those might
10555         raise spurious exceptions.
10556         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
10557         <math_private.h> and <stdint.h>.
10558         (__llrintf): Avoid conversions to long long int where those might
10559         raise spurious exceptions.
10561 2015-10-12  Andreas Schwab  <schwab@suse.de>
10563         [BZ #18969]
10564         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
10565         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
10566         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
10567         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
10568         $(gen-locales).
10569         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
10570         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
10571         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
10572         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
10573         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
10574         $(gen-locales).
10575         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
10576         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
10577         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
10578         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
10579         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
10580         ($(objpfx)tst-ftell-active-handler.out)
10581         ($(objpfx)tst-ftell-append.out)
10582         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
10583         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
10584         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
10585         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
10586         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
10587         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
10588         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
10589         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
10590         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
10591         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
10592         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
10593         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
10594         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
10595         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
10596         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
10597         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
10598         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
10599         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
10600         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
10601         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
10602         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
10603         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
10604         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
10605         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
10606         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
10607         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
10608         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
10609         $(gen-locales).
10610         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
10611         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
10612         $(gen-locales).
10613         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
10614         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
10615         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
10616         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
10617         $(gen-locales).
10618         * libio/tst_wprintf2.c (main): Use explicit locale.
10619         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
10621 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10623         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
10624         __msg_sig_post.
10625         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
10627 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
10629         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
10630         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10632         * sysdeps/arm/libm-test-ulps: Regenerated.
10634         [BZ #15470]
10635         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
10637         [BZ #16399]
10638         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
10639         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
10640         and <fix-fp-int-convert-overflow.h>.
10641         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
10642         FIX_DBL_LLONG_CONVERT_OVERFLOW.
10643         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
10644         and <fix-fp-int-convert-overflow.h>.
10645         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
10646         FIX_DBL_LLONG_CONVERT_OVERFLOW.
10647         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
10648         <fix-fp-int-convert-overflow.h>.
10649         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
10650         FIX_DBL_LLONG_CONVERT_OVERFLOW.
10651         * sysdeps/ieee754/dbl-64/s_lround.c: Include
10652         <fix-fp-int-convert-overflow.h>.
10653         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
10654         FIX_DBL_LLONG_CONVERT_OVERFLOW.
10655         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
10656         and <fix-fp-int-convert-overflow.h>.
10657         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
10658         FIX_DBL_LLONG_CONVERT_OVERFLOW.
10659         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
10660         <limits.h> and <fix-fp-int-convert-overflow.h>.
10661         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
10662         FIX_DBL_LLONG_CONVERT_OVERFLOW.
10663         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
10664         and <fix-fp-int-convert-overflow.h>.
10665         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
10666         FIX_DBL_LLONG_CONVERT_OVERFLOW.
10667         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
10668         and <fix-fp-int-convert-overflow.h>.
10669         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
10670         FIX_DBL_LLONG_CONVERT_OVERFLOW.
10671         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
10673 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
10675         [BZ #18589]
10676         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
10677         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
10678         $(gen-locales).
10680 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10681             Phil Blundell <pb@pbcl.net>
10683         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
10684         * nptl/tst-cancel26.c: New file.
10685         * nptl/tst-cancel27.c: Likewise.
10687 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
10689         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
10690         __ILP32__ isn't defined.
10691         (lrint): Likewise.
10692         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
10693         (lrintf): Likewise.
10694         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
10695         (lrintl): Likewise.
10696         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
10697         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
10698         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
10700 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10702         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
10703         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
10705         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
10706         file.
10707         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
10708         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
10710 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
10712         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
10713         configure test.
10714         * sysdeps/i386/configure: Regenerated.
10715         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
10716         configure test.
10717         * sysdeps/x86_64/configure: Regenerated.
10718         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
10719         Make code unconditional.
10721         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
10722         test.
10723         * sysdeps/i386/configure: Regenerated.
10724         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
10725         test.
10726         * sysdeps/x86_64/configure: Regenerated.
10727         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
10728         Make code unconditional.
10729         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
10730         Likewise.
10731         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
10732         Likewise.
10733         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10734         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
10735         code unconditional.
10736         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10737         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
10738         code unconditional.
10739         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10740         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
10741         code unconditional.
10742         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
10743         code unconditional.
10744         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10745         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
10746         code unconditional.
10747         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10748         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
10749         code unconditional.
10750         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10751         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
10752         code unconditional.
10753         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10754         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
10755         code unconditional.
10756         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10757         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
10759         [BZ #19095]
10760         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
10761         mantissa to long int before shifting left.
10763 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
10765         [BZ #19094]
10766         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
10767         <limits.h>.
10768         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
10769         when result overflows but exception would not result from cast.
10770         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
10771         <limits.h>.
10772         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
10773         when result overflows but exception would not result from cast.
10774         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
10775         <limits.h>.
10776         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
10777         when result overflows but exception would not result from cast.
10778         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
10779         <limits.h>.
10780         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
10781         when result overflows but exception would not result from cast.
10782         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
10783         <limits.h>.
10784         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
10785         when result overflows but exception would not result from cast.
10786         * math/libm-test.inc (lrint_test_data): Add more tests.
10787         (llrint_test_data): Likewise.
10789 2015-10-08  Roland McGrath  <roland@hack.frob.com>
10791         [BZ #18872]
10792         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
10793         Move out from under [$(run-built-tests) = yes] conditional.
10794         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
10795         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
10797 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
10799         [BZ #18589]
10800         * string/Makefile (tests): Add bug-strcoll2.
10801         (LOCALES): Add cs_CZ.UTF-8.
10802         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
10804         [BZ #18589]
10805         * string/bug-strcoll2.c: New file.
10806         * locale/categories.def: Revert commit
10807         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
10808         * locale/langinfo.h: Likewise.
10809         * locale/localeinfo.h: Likewise.
10810         * locale/C-collate.c: Likewise.
10811         * locale/programs/ld-collate.c (collate_output): Likewise.
10812         * string/strcoll_l.c (STRDIFF): Likewise.
10813         (STRCOLL): Likewise.
10814         * wcsmbs/wcscoll_l.c: Likewise.
10816 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
10818         * math/libm-test.inc (lround_test_data): Do not expect the absence
10819         of "inexact" for some tests with non-integer arguments.
10820         (llround_test_data): Likewise.
10822         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
10823         test.
10824         (libc_cv_cc_sse2avx): Likewise.
10825         * sysdeps/i386/configure: Regenerated.
10826         * sysdeps/i386/i686/multiarch/Makefile
10827         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
10828         [$(subdir) = math].
10829         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
10830         code unconditional.
10831         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
10832         Likewise.
10833         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
10834         Likewise.
10835         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
10836         Likewise.
10837         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
10838         test.
10839         (libc_cv_cc_sse2avx): Likewise.
10840         * sysdeps/x86_64/configure: Regenerated.
10841         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
10842         unconditional.
10843         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
10844         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
10845         unconditional.
10846         (_dl_runtime_profile)
10847         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
10848         conditional code.
10849         * sysdeps/x86_64/fpu/multiarch/Makefile
10850         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
10851         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
10852         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10853         * sysdeps/x86_64/fpu/multiarch/e_exp.c
10854         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10855         * sysdeps/x86_64/fpu/multiarch/e_log.c
10856         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10857         * sysdeps/x86_64/fpu/multiarch/s_atan.c
10858         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10859         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
10860         Likewise.
10861         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
10862         Likewise.
10863         * sysdeps/x86_64/fpu/multiarch/s_sin.c
10864         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10865         * sysdeps/x86_64/fpu/multiarch/s_tan.c
10866         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10867         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
10868         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
10869         (HAVE_SSE2AVX_SUPPORT): Likewise.
10871 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
10873         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
10874         instead of #pragma optimize.
10876 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
10878         [BZ #17195]
10879         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
10880         as is similarly done in systrim and _int_free already.
10882 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10884         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
10886 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
10888         [BZ #19088]
10889         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
10890         <limits.h>.
10891         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
10892         overflows but exception would not result from cast.
10893         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
10894         and <limits.h>.
10895         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
10896         overflows but exception would not result from cast.
10897         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
10898         <limits.h>.
10899         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
10900         overflows but exception would not result from cast.
10901         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
10902         <limits.h>.
10903         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
10904         overflows but exception would not result from cast.
10905         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
10906         <limits.h>.
10907         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
10908         overflows but exception would not result from cast.
10909         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
10910         <limits.h>.
10911         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
10912         overflows but exception would not result from cast.
10913         * math/libm-test.inc (lround_test_data): Add more tests.
10914         (llround_test_data): Likewise.
10916 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
10918         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
10919         (CFLAGS-ialloc.c): Ditto.
10920         (CFLAGS-scheck.c): Ditto.
10922 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
10924         [BZ #19086]
10925         * manual/filesys.texi (Storage Allocation): Fix argument order for
10926         posix_fallocate64.
10928 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
10930         [BZ #19085]
10931         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
10932         exponent below 48 inside case for non-overflowing exponent.
10933         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
10935 2015-10-07  Florian Weimer  <fweimer@redhat.com>
10937         * iconvdata/cp737.h (from_idx): Add const.
10938         * iconvdata/cp775.h (from_idx): Likewise.
10940 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
10942         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
10943         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
10944         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
10946         [BZ #19079]
10947         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
10948         file, conditioned on [!_LP64].
10949         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
10950         [!_LP64] (__lround): Do not define as function or alias.
10951         [!_LP64] (lround): Likewise.
10952         [!_LP64] (__lroundl): Likewise.
10953         [!_LP64] (lroundl): Likewise.
10954         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
10955         macro.
10956         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
10957         Likewise.
10959 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
10961         * math/libm-test.inc (lrint_test_data): Add more tests.
10962         (llrint_test_data): Likewise.
10963         (lround_test_data): Likewise.
10964         (llround_test_data): Likewise.
10966         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
10967         (llrint_test_data): Add tests used for lrint.
10969         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
10970         test.
10971         * sysdeps/i386/configure: Regenerated.
10972         * sysdeps/i386/i686/multiarch/Makefile
10973         [$(config-cflags-sse4) = yes]: Make code unconditional.
10974         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
10975         Likewise.
10976         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
10977         Likewise.
10978         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
10979         test.
10980         * sysdeps/x86_64/configure: Regenerated.
10981         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
10982         Make code unconditional.
10983         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
10984         Likewise.
10985         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
10986         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
10988         * scripts/rpm2dynsym.sh: Remove file.
10990 2015-10-06  Florian Weimer  <fweimer@redhat.com>
10992         * configure.ac (libc_cv_cxx_thread_local): Define.
10993         * configure: Regenerate.
10994         * config.make.in (have-cxx-thread_local): Define.
10995         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
10996         (LDLIBS-tst-thread_local1): Define.
10997         (tests): Add tst-thread_local1.
10998         [have-cxx-thread_local != yes] (tests-unsupported): Add
10999         tst-thread_local1.
11000         * nptl/tst-thread_local1.cc: New file.
11002 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
11004         [BZ #19078]
11005         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
11006         (u_thres): Likewise.
11007         (__expl): Determine whether to call __kernel_standard_l based on
11008         value of result, not argument.
11010         * math/libm-test.inc (scalb_test_data): Add more expectations for
11011         the "inexact" exception.
11013         [BZ #19077]
11014         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
11015         0.0L for argument 1.0L.
11017         [BZ #19076]
11018         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
11019         constant 0.0L when computing infinite result.
11021 2015-10-06  Florian Weimer  <fweimer@redhat.com>
11023         [BZ #10432]
11024         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
11025         malloc_usable_size.
11027 2015-10-06  Florian Weimer  <fweimer@redhat.com>
11029         [BZ #19018]
11030         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
11031         Mangle function pointer before storing it.
11032         (__call_tls_dtors): Demangle function pointer before calling it.
11034 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
11036         [BZ #19012]
11037         * iconv/gconv_db.c (gen_steps): Check for additional errors.
11038         Clean up on failure.
11040 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
11042         [BZ #19071]
11043         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
11044         long int variable to store possibly incremented high part of
11045         mantissa.
11046         * math/libm-test.inc (lround_test_data): Add tests used for
11047         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
11048         for tests requiring 64-bit long.  Do not condition tests on
11049         [TEST_FLOAT] unnecessarily.
11050         (llround_test_data): Add tests used for lround.  Add another
11051         expectation for the "inexact" exception.  Do not condition tests
11052         on [TEST_FLOAT] unnecessarily.
11054         [BZ #887]
11055         [BZ #19049]
11056         [BZ #19050]
11057         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
11058         * sysdeps/ieee754/dbl-64/e_log10.c: Include
11059         <fix-int-fp-convert-zero.h>.
11060         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11061         * sysdeps/ieee754/dbl-64/e_log2.c: Include
11062         <fix-int-fp-convert-zero.h>.
11063         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11064         * sysdeps/ieee754/dbl-64/s_erf.c: Include
11065         <fix-int-fp-convert-zero.h>.
11066         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11067         * sysdeps/ieee754/dbl-64/s_logb.c: Include
11068         <fix-int-fp-convert-zero.h>.
11069         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11070         * sysdeps/ieee754/flt-32/e_log10f.c: Include
11071         <fix-int-fp-convert-zero.h>.
11072         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11073         * sysdeps/ieee754/flt-32/e_log2f.c: Include
11074         <fix-int-fp-convert-zero.h>.
11075         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11076         * sysdeps/ieee754/flt-32/s_erff.c: Include
11077         <fix-int-fp-convert-zero.h>.
11078         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11079         * sysdeps/ieee754/flt-32/s_logbf.c: Include
11080         <fix-int-fp-convert-zero.h>.
11081         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11082         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
11083         <fix-int-fp-convert-zero.h>.
11084         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11085         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
11086         <fix-int-fp-convert-zero.h>.
11087         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11088         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
11089         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
11090         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
11091         file.
11092         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
11094 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
11096         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11098 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
11100         [BZ #19059]
11101         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
11102         overflowing computation.
11103         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
11104         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
11105         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
11106         Likewise.
11107         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
11108         Likewise.
11109         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
11110         Likewise.
11111         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11112         Likewise.
11113         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
11114         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
11115         Likewise.
11116         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
11117         Likewise.
11118         * math/libm-test.inc (nexttoward_test_data): Add more tests.
11120         * nss/rewrite_field.c (__nss_rewrite_field): Use
11121         internal_function.
11122         * nss/valid_field.c (__nss_valid_field): Likewise.
11123         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
11125 2015-10-02  Florian Weimer  <fweimer@redhat.com>
11127         [BZ #18724]
11128         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
11129         (__nss_invalid_field_characters, __nss_valid_field)
11130         (__nss_valid_list_field, __nss_rewrite_field): Declare.
11131         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
11132         tst-field.c: New file.
11133         * nss/Makefile (routines): Add valid_field, rewrite_field.
11134         (tests-static): Define unconditionally.
11135         (tests): Include tests-static.
11136         [build-static-nss] (tests-static): Use append.
11137         [build-static-nss] (tests): Remove modification.
11138         * nss/getent.c (print_group): Call putgrent.  Report error.
11139         (print_gshadow): Call putsgent.  Report error.
11140         (print_passwd): Call putpwent.  Report error.
11141         (print_shadow): Call putspent.  Report error.
11142         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
11143         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
11144         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
11145         name, password, directory, shell fields for valid syntax.  Rewrite
11146         GECOS field to match syntax.
11147         * pwd/Makefile (tests): Add tst-putpwent.
11148         * pwd/tst-putpwent.c: New file.
11149         * grp/putgrent.c (putgrent): Convert to ISO function definition.
11150         Check grName, grpasswd, gr_mem fields for valid syntax.
11151         Change loop variable i to size_t.
11152         * grp/Makefile (tests): Add tst-putgrent.
11153         * grp/tst-putgrent.c: New file.
11154         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
11155         valid syntax.
11156         * shadow/Makefile (tests): Add tst-putspent.
11157         * shadow/tst-putspent.c: New file.
11158         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
11159         sg_mem fields for valid syntax.
11160         * gshadow/Makefile (tests): Add tst-putsgent.
11161         * gshadow/tst-putsgent.c: New file.
11163 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11165         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
11166         assembly instructions.
11168 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11170         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
11171         prefix from operands.
11173 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
11175         [BZ #16347]
11176         [BZ #19046]
11177         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
11178         <libc-internal.h>.
11179         (MAXLGM): Do not use diagnostic control macros.
11180         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
11181         threshold for ldbl-128ibm.
11182         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
11183         instead of multiplying by log then subtracting.
11184         * math/auto-libm-test-in: Add more tests of lgamma.
11185         * math/auto-libm-test-out: Regenerated.
11187         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
11188         (TYPE_HEX_DIG): Likewise.
11189         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
11190         precisions when printing floating-point numbers.
11191         (check_float_internal): Likewise.
11193 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
11195         [BZ #16620]
11196         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
11197         of log (10) rounded downward to 48 bits.
11198         (log10_low): Use corresponding low part of log (10).
11200         [BZ #19032]
11201         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
11202         compute result as (x - x) / (x - x) not as 0 / 0.
11203         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
11204         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
11206         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
11207         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
11208         and expm1.
11209         * math/auto-libm-test-out: Regenerated.
11210         * math/libm-test.inc (acos_test_data): Add more tests.
11211         (asin_test_data): Likewise.
11212         (asinh_test_data): Likewise.
11213         (atan_test_data): Likewise.
11214         (atanh_test_data): Likewise.
11215         (atan2_test_data): Likewise.
11216         (cbrt_test_data): Likewise.
11217         (ceil_test_data): Likewise.
11218         (copysign_test_data): Likewise.
11219         (cos_test_data): Likewise.
11220         (cosh_test_data): Likewise.
11221         (erf_test_data): Likewise.
11222         (erfc_test_data): Likewise.
11223         (exp_test_data): Likewise.
11224         (exp10_test_data): Likewise.
11225         (exp2_test_data): Likewise.
11226         (expm1_test_data): Likewise.
11227         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11229 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
11231         [BZ #19006]
11232         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
11233         to ...
11234         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
11235         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
11236         to ...
11237         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
11238         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
11239         to ...
11240         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
11241         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
11242         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
11243         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
11244         to ...
11245         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
11246         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
11247         Moved to ...
11248         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
11249         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
11250         Moved to ...
11251         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
11252         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
11253         to ...
11254         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
11255         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
11256         Moved to ...
11257         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
11258         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
11259         to ...
11260         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
11261         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
11262         Removed.
11263         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
11264         Likewise.
11265         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
11266         Likewise.
11267         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
11268         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
11269         Likewise.
11270         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
11271         Likewise.
11272         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
11273         Likewise.
11274         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
11275         Likewise.
11276         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
11277         Likewise.
11278         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
11279         Likewise.
11280         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
11281         Likewise.
11282         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
11283         Likewise.
11284         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
11285         Likewise.
11286         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
11287         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
11288         Likewise.
11289         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
11290         Likewise.
11291         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
11292         Likewise.
11293         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
11294         Likewise.
11295         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
11296         Likewise.
11297         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
11298         Replace ../i486/pthread_cond_timedwait.S with
11299         ../pthread_cond_timedwait.S.
11301 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
11303         * math/libm-test.inc (acos_test_data): Refine expectations for
11304         errno and "inexact" exceptions.
11305         (acosh_test_data): Likewise.
11306         (asin_test_data): Likewise.
11307         (asinh_test_data): Likewise.
11308         (atan_test_data): Likewise.
11309         (atanh_test_data): Likewise.
11310         (atan2_test_data): Likewise.
11311         (cbrt_test_data): Likewise.
11312         (ceil_test_data): Likewise.
11313         (copysign_test_data): Likewise.
11314         (cosh_test_data): Likewise.
11315         (erf_test_data): Likewise.
11316         (erfc_test_data): Likewise.
11317         (exp_test_data): Likewise.
11318         (exp10_test_data): Likewise.
11319         (exp2_test_data): Likewise.
11320         (expm1_test_data): Likewise.
11321         (fabs_test_data): Likewise.
11322         (floor_test_data): Likewise.
11323         (fma_test_data): Likewise.
11324         (fmax_test_data): Likewise.
11325         (fmin_test_data): Likewise.
11326         (fmod_test_data): Likewise.
11327         (fpclassify_test_data): Likewise.
11328         (frexp_test_data): Likewise.
11329         (hypot_test_data): Likewise.
11330         (ilogb_test_data): Likewise.
11331         (isgreater_test_data): Likewise.
11332         (isgreaterequal_test_data): Likewise.
11333         (isinf_test_data): Likewise.
11334         (isless_test_data): Likewise.
11335         (islessequal_test_data): Likewise.
11336         (islessgreater_test_data): Likewise.
11337         (isnan_test_data): Likewise.
11338         (isnormal_test_data): Likewise.
11339         (issignaling_test_data): Likewise.
11340         (isunordered_test_data): Likewise.
11341         (j0_test_data): Likewise.
11342         (j1_test_data): Likewise.
11343         (jn_test_data): Likewise.
11344         (lgamma_test_data): Likewise.
11345         (lrint_test_data): Likewise.
11346         (llrint_test_data): Likewise.
11347         (log_test_data): Likewise.
11348         (log10_test_data): Likewise.
11349         (log1p_test_data): Likewise.
11350         (log2_test_data): Likewise.
11351         (logb_test_data): Likewise.
11352         (lround_test_data): Likewise.
11353         (llround_test_data): Likewise.
11354         (modf_test_data): Likewise.
11355         (nearbyint_test_data): Likewise.
11356         (nextafter_test_data): Likewise.
11357         (nexttoward_test_data): Likewise.
11358         (pow_test_data): Likewise.
11359         (remainder_test_data): Likewise.
11360         (remquo_test_data): Likewise.
11361         (rint_test_data): Likewise.
11362         (round_test_data): Likewise.
11363         (signbit_test_data): Likewise.
11364         (sinh_test_data): Likewise.
11365         (sqrt_test_data): Likewise.
11366         (tanh_test_data): Likewise.
11367         (tgamma_test_data): Likewise.
11368         (trunc_test_data): Likewise.
11369         (y0_test_data): Likewise.
11370         (y1_test_data): Likewise.
11371         (yn_test_data): Likewise.
11372         (significand_test_data): Likewise.
11374 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
11376         * manual/filesys.texi (Storage Allocation): Document that
11377         posix_fallocate emulation fails when fd is open with O_WRONLY.
11379 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
11381         [BZ #19016]
11382         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
11383         allow more cases with X^2 + Y^2 >= 0.5.
11384         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
11385         normal element in sum instead of special-casing based on values of
11386         arguments.
11387         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
11388         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
11389         -1 as normal element in sum instead of special-casing based on
11390         values of arguments.
11391         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
11392         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
11393         (__x2y2m1): Update comment.
11394         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
11395         as normal element in sum instead of special-casing based on values
11396         of arguments.
11397         * math/s_clog.c (__clog): Handle more cases using log1p without
11398         hypot.
11399         * math/s_clog10.c (__clog10): Likewise.
11400         * math/s_clog10f.c (__clog10f): Likewise.
11401         * math/s_clog10l.c (__clog10l): Likewise.
11402         * math/s_clogf.c (__clogf): Likewise.
11403         * math/s_clogl.c (__clogl): Likewise.
11404         * math/auto-libm-test-in: Add more tests of clog and clog10.
11405         * math/auto-libm-test-out: Regenerated.
11406         * sysdeps/i386/fpu/libm-test-ulps: Update.
11407         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11409 2015-09-28  Martin Sebor  <msebor@redhat.com>
11411         [BZ #18969]
11412         * string/Makefile (LOCALES): Define.
11413         (gen-locales.mk): Include.
11414         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
11415         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
11416         * string/tst-strxfrm2.c (do_test): Print the name of the locale
11417         on setlocale failure.
11419 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
11421         [BZ #18985]
11422         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
11423         (__strftime_internal): Likewise.
11424         * time/tst-strftime.c (do_bz18985): New test.
11425         (do_test): Call it.
11427 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
11429         [BZ #18956]
11430         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
11431         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
11432         extracting high part.
11433         * math/auto-libm-test-in: Add another test of pow.
11434         * math/auto-libm-test-out: Regenerated.
11435         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11437 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
11439         [BZ #18825]
11440         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
11441         New macro.
11442         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
11443         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
11444         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
11445         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
11446         DBL_NARROW_EVAL, reloading the PIC register as needed.
11447         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
11448         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
11449         FLT_NARROW_EVAL.  Use separate return path for case when first
11450         argument is NaN.
11451         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
11452         DEFINE_LDBL_MIN.
11453         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
11454         PIC register.
11455         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
11456         math_check_force_underflow_nonneg.
11457         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
11458         underflow for subnormal result.
11459         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
11460         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
11461         math_check_force_underflow_nonneg.
11462         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
11463         math_check_force_underflow.
11464         * sysdeps/x86_64/fpu/x86_64-math-asm.h
11465         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
11466         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
11467         DEFINE_LDBL_MIN.
11468         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
11469         * math/auto-libm-test-in: Add more tests of pow.
11470         * math/auto-libm-test-out: Regenerated.
11472 2015-09-25  Florian Weimer  <fweimer@redhat.com>
11474         * nss/bug17079.c (init_test_items): Add diagnostic for
11475         inconsistent entries.
11476         (test_buffer_size): Skip inconsistent entries.
11478 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
11480         [BZ #13304]
11481         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
11482         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
11483         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
11485         [BZ #13304]
11486         * sysdeps/microblaze/s_fma.c: New file.
11487         * sysdeps/microblaze/s_fmaf.c: Likewise.
11488         * sysdeps/microblaze/sfp-machine.h: Likewise.
11490 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
11492         [BZ #17250]
11493         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
11494         member.
11496 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
11498         [BZ #18803]
11499         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
11500         (MO): New macro.
11501         (__ieee754_hypot) [PIC]: Load PIC register.
11502         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
11503         DBL_NARROW_EVAL.
11504         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
11505         math_check_force_underflow_nonneg in case where result might be
11506         tiny.
11507         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
11508         Likewise.
11509         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
11510         Likewise.
11511         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
11512         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
11513         * math/auto-libm-test-in: Add more tests of hypot.
11514         * math/auto-libm-test-out: Regenerated.
11516 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
11518         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
11520 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
11522         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
11523         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
11524         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
11525         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
11526         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
11527         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
11528         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
11530         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
11531         LOAD_PIC_REG.
11533         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
11534         (FLT_CHECK_FORCE_UFLOW): Likewise.
11535         (DBL_CHECK_FORCE_UFLOW): Likewise.
11536         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
11537         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
11538         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
11539         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
11540         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
11541         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
11542         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
11543         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
11544         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
11545         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11546         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
11547         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
11548         (flt_min): Replace with use of DEFINE_FLT_MIN.
11549         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
11550         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
11551         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11552         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
11553         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
11554         (flt_min): Replace with use of DEFINE_FLT_MIN.
11555         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
11556         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
11557         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11558         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
11559         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
11560         (flt_min): Replace with use of DEFINE_FLT_MIN.
11561         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
11562         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
11563         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
11564         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
11565         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
11566         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
11567         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
11568         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
11569         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11570         (__atan): Use DBL_CHECK_FORCE_UFLOW.
11571         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
11572         (flt_min): Replace with use of DEFINE_FLT_MIN.
11573         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
11574         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
11575         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11576         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
11577         main computation.
11578         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
11579         (flt_min): Replace with use of DEFINE_FLT_MIN.
11580         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
11581         main computation.
11582         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
11583         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11584         (MO): New macro.
11585         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
11586         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
11587         (flt_min): Replace with use of DEFINE_FLT_MIN.
11588         (MO): New macro.
11589         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
11590         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
11591         (__log1pl): Use MO.
11593         [BZ #19003]
11594         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
11595         $(config-cflags-nofma).
11597 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11599         * sysdeps/aarch64/libm-test-ulps: Regenerated.
11601 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
11603         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
11604         (TWO127): Likewise.
11606         * sysdeps/generic/math_private.h (fabs_tg): New macro.
11607         (min_of_type): Likewise.
11608         (math_check_force_underflow): Likewise.
11609         (math_check_force_underflow_nonneg): Likewise.
11610         (math_check_force_underflow_complex): Likewise.
11611         * math/e_exp2l.c (__ieee754_exp2l): Use
11612         math_check_force_underflow_nonneg.
11613         * math/k_casinh.c (__kernel_casinh): Likewise.
11614         * math/k_casinhf.c (__kernel_casinhf): Likewise.
11615         * math/k_casinhl.c (__kernel_casinhl): Likewise.
11616         * math/s_catan.c (__catan): Use
11617         math_check_force_underflow_complex.
11618         * math/s_catanf.c (__catanf): Likewise.
11619         * math/s_catanh.c (__catanh): Likewise.
11620         * math/s_catanhf.c (__catanhf): Likewise.
11621         * math/s_catanhl.c (__catanhl): Likewise.
11622         * math/s_catanl.c (__catanl): Likewise.
11623         * math/s_ccosh.c (__ccosh): Likewise.
11624         * math/s_ccoshf.c (__ccoshf): Likewise.
11625         * math/s_ccoshl.c (__ccoshl): Likewise.
11626         * math/s_cexp.c (__cexp): Likewise.
11627         * math/s_cexpf.c (__cexpf): Likewise.
11628         * math/s_cexpl.c (__cexpl): Likewise.
11629         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
11630         * math/s_clog10.c (__clog10): Likewise.
11631         * math/s_clog10f.c (__clog10f): Likewise.
11632         * math/s_clog10l.c (__clog10l): Likewise.
11633         * math/s_clogf.c (__clogf): Likewise.
11634         * math/s_clogl.c (__clogl): Likewise.
11635         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
11636         * math/s_csinf.c (__csinf): Likewise.
11637         * math/s_csinh.c (__csinh): Likewise.
11638         * math/s_csinhf.c (__csinhf): Likewise.
11639         * math/s_csinhl.c (__csinhl): Likewise.
11640         * math/s_csinl.c (__csinl): Likewise.
11641         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
11642         * math/s_csqrtf.c (__csqrtf): Likewise.
11643         * math/s_csqrtl.c (__csqrtl): Likewise.
11644         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
11645         * math/s_ctanf.c (__ctanf): Likewise.
11646         * math/s_ctanh.c (__ctanh): Likewise.
11647         * math/s_ctanhf.c (__ctanhf): Likewise.
11648         * math/s_ctanhl.c (__ctanhl): Likewise.
11649         * math/s_ctanl.c (__ctanl): Likewise.
11650         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
11651         instead of volatile.
11652         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
11653         math_check_force_underflow.
11654         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
11655         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
11656         volatile when forcing underflow.
11657         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
11658         math_check_force_underflow_nonneg.
11659         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
11660         Likewise.
11661         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
11662         math_check_force_underflow.
11663         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
11664         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
11665         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
11666         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
11667         math_check_force_underflow_nonneg.
11668         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
11669         math_check_force_underflow.
11670         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
11671         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
11672         instead of volatile.
11673         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
11674         math_check_force_underflow.
11675         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
11676         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
11677         math_check_force_underflow_nonneg.
11678         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
11679         math_check_force_underflow.
11680         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
11681         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
11682         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
11683         math_check_force_underflow_nonneg.
11684         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
11685         Likewise.
11686         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
11687         math_check_force_underflow.
11688         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
11689         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
11690         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
11691         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
11692         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
11693         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
11694         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
11695         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
11696         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
11697         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
11698         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
11699         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
11700         Likewise.
11701         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
11702         math_check_force_underflow_nonneg.
11703         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
11704         Likewise.
11705         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
11706         math_check_force_underflow.
11707         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
11708         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
11709         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
11710         Likewise.
11711         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
11712         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
11713         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
11714         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
11715         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
11716         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
11717         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
11718         instead of volatile.
11719         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
11720         math_check_force_underflow.
11721         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
11722         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
11723         math_check_force_underflow.
11724         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
11725         Likewise.
11726         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
11727         Use math_check_force_underflow_nonneg.
11728         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
11729         math_check_force_underflow.
11730         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
11731         Likewise.
11732         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
11733         Likewise.
11734         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
11735         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
11736         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
11737         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
11738         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
11739         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
11740         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
11741         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
11742         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
11743         math_check_force_underflow_nonneg.
11744         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
11745         math_check_force_underflow.
11746         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
11747         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
11748         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
11749         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
11750         math_check_force_underflow_nonneg.
11751         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
11752         math_check_force_underflow.
11753         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
11754         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
11755         instead of volatile.
11756         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
11757         math_check_force_underflow.
11759         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
11760         * stdlib/strtod_l.c: Include <math_private.h>.
11761         (overflow_value): Use math_narrow_eval.
11762         (underflow_value): Likewise.
11763         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
11764         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
11765         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
11766         (__ieee754_gamma_r): Likewise.
11767         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
11768         Likewise.
11769         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
11770         Likewise.
11771         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
11772         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
11773         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
11774         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
11775         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
11776         (__ieee754_gammaf_r): Likewise.
11777         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
11778         Likewise.
11779         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
11780         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
11781         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
11782         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
11783         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
11784         volatile.
11785         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
11786         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
11787         math_narrow_eval.
11788         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
11789         Likewise.
11790         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11791         Likewise.
11792         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
11793         Likewise.
11794         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
11795         volatile.
11796         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
11797         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
11798         math_narrow_eval.
11799         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
11800         Likewise.
11801         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
11802         Likewise.
11804 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
11806         * nptl/Versions: Remove ignored symbols.
11808 2015-09-22  Florian Weimer  <fweimer@redhat.com>
11810         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
11811         * nss/Makefile (tests): Update.
11813 2015-09-22  Florian Weimer  <fweimer@redhat.com>
11815         * nss/bug18287.c: New file.
11816         * nss/Makefile (tests): Add bug18287.
11818 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11820         * mach/Versions (__mach_host_self_): Add symbol.
11822 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11824         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
11825         vm_page_size.
11827 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11829         Really fix sysdeps/i386/fpu/s_scalbn.S build
11831         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
11832         (libc: GLIBC_2_22): Remove unused version set.
11834 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
11836         * config.make.in (enable-timezone-tools): New variable.
11837         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
11838         (enable_timezone_tools): Export to generated files.
11839         * configure: Regenerate.
11840         * INSTALL: Regenerate.
11841         * manual/install.texi (--disable-timezone-tools): Document new flag.
11842         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
11843         ifeq ($(enable-timezone-tools),yes) check.
11845 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
11847         * timezone/Makefile: Revert previous change.
11849         [BZ #18980]
11850         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
11851         (DEFINE_DBL_MIN): Likewise.
11852         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
11853         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
11854         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
11855         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
11856         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
11857         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11858         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
11859         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
11860         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
11861         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11862         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
11863         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
11864         (flt_min): Replace with use of DEFINE_FLT_MIN.
11865         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
11866         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
11867         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11868         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
11869         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
11870         (flt_min): Replace with use of DEFINE_FLT_MIN.
11871         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
11872         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
11873         (flt_min): Replace with use of DEFINE_FLT_MIN.
11874         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
11875         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
11876         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
11877         (__ieee754_hypot): Use DBL_NARROW_EVAL.
11878         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
11879         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
11880         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
11881         (__ieee754_pow): Use DBL_NARROW_EVAL.
11882         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
11883         (__ieee754_powf): Use FLT_NARROW_EVAL.
11884         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
11885         (__ieee754_expf_sse2): Convert double-precision result to single
11886         precision.
11887         * sysdeps/i386/fpu/libm-test-ulps: Update.
11889 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
11891         * timezone/Makefile: Ignore unused variable errors due to private.h
11892         (time_t_min) and (time_t_max).
11893         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
11894         Likewise.
11896 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
11898         [BZ #18981]
11899         * sysdeps/i386/fpu/i386-math-asm.h: New file.
11900         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
11901         (__ieee754_scalb): Use DBL_NARROW_EVAL.
11902         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
11903         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
11904         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
11905         (__scalbn): Use DBL_NARROW_EVAL.
11906         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
11907         (__scalbnf): Use FLT_NARROW_EVAL.
11909 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
11911         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
11912         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
11913         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
11914         * stdio-common/printf_fp.c (___printf_fp):
11915         Use signbit to get the sign. Use isinf macro to allow inlining.
11916         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
11917         * stdio-common/printf_size.c (__printf_size): Likewise.
11919 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
11921         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
11923 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
11925         [BZ #18980]
11926         * sysdeps/generic/math_private.h: Include <float.h>.
11927         (math_narrow_eval): New macro.
11928         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
11929         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
11930         math_narrow_eval on overflowing return value.
11931         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
11932         Likewise.
11933         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
11934         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
11935         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
11936         Likewise.
11937         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
11939 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
11941         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
11942         * math/Makefile: Remove isinf_ns.c.
11943         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
11944         * math/multc3.c (__multc3): Likewise.
11945         * math/s_casin.c (__casin): Likewise.
11946         * math/s_casinf.c (__casinf): Likewise.
11947         * math/s_casinl.c (__casinl): Likewise.
11948         * math/s_cproj.c (__cproj): Likewise.
11949         * math/s_cprojf.c (__cprojf): Likewise.
11950         * math/s_cprojl.c (__cprofl): Likewise.
11951         * math/s_ctan.c (__ctan): Likewise.
11952         * math/s_ctanf.c (__ctanf): Likewise.
11953         * math/s_ctanh.c (__ctanh): Likewise.
11954         * math/s_ctanhf.c (__ctanhf): Likewise.
11955         * math/s_ctanhl.c (__ctanhl): Likewise.
11956         * math/s_ctanl.c (__ctanl): Likewise.
11957         * math/w_fmod.c (__fmod): Likewise.
11958         * math/w_fmodf.c (__fmodf): Likewise.
11959         * math/w_fmodl.c (_fmodl): Likewise.
11960         * math/w_remainder.c (__remainder): Likewise.
11961         * math/w_remainderf.c (__remainderf): Likewise.
11962         * math/w_remainderl.c (__remainderl): Likewise.
11963         * math/w_scalb.c (__scalb): Likewise.
11964         * math/w_scalbf.c (__scalbf): Likewise.
11965         * math/w_scalbl.c (__scalbl): Likewise.
11966         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
11967         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
11968         with isinf.
11969         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
11970         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
11971         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
11972         __isinf_nsf with isinf.
11973         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
11974         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
11975         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
11976         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
11977         with isinf.
11978         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
11979         __isinf_nsl with isinf.
11980         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
11981         with isinf.
11982         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
11983         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
11984         __isinf_nsl with isinf.
11985         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
11986         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
11987         with isinf.
11989 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
11991         * resolv/base64.c (rcsid): Remove unused static.
11992         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
11993         static.  (tqpi1): Likewise.
11994         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
11995         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
11996         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
11997         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
11998         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
11999         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
12000         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
12001         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
12002         Likewise.
12004 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
12006         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
12007         <nptl/pthreadP.h>.
12008         (_longjmp_unwind): Use __libc_ptf_call.
12009         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
12011 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
12013         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
12014         * sysdeps/arm/__longjmp.S: Likewise.
12016 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
12018         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
12019         Use __builtin_signbit.
12020         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
12021         Use __builtin_signbitf.
12022         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
12023         Use __builtin_signbitl.
12024         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
12025         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
12027 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
12029         [BZ #15367]
12030         [BZ #17441]
12032         * math/Makefile: Build test-snan.c with -fsignaling-nans.
12033         * math/math.h (fpclassify): Use __builtin_fpclassify when
12034         available.  (signbit): Use __builtin_signbit(f/l).
12035         (isfinite): Use__builtin_isfinite.  (isnormal): Use
12036         __builtin_isnormal.  (isnan): Use __builtin_isnan.
12037         (isinf): Use __builtin_isinf_sign.
12039 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
12041         * benchtests/Makefile: Add bench-math-inlines, link with libm.
12042         * benchtests/bench-math-inlines.c: New benchmark.
12043         * benchtests/bench-util.h: New file.
12044         * benchtests/bench-util.c: New file.
12045         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
12047 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
12049         * elf/tst-dlmopen1.c: Define TEST_SO.
12050         (do_test): Use TEST_SO.
12052         * elf/dl-load.c: Include libc-internal.h.
12053         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
12055 2015-09-18  Vincent Bernat  <vincent@bernat.im>
12057         [BZ #17887]
12058         * time/strptime_l.c (__strptime_internal): Make %z accept
12059         [+-]HH:MM time zones.
12061 2015-09-18  Vincent Bernat  <vincent@bernat.im>
12063         [BZ #17886]
12064         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
12065         valid time zone.
12067 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
12069         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
12070         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
12071         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12072         (__ASSUME_FDATASYNC): Delete.
12074 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
12076         * conform/linknamespace.pl: Require weak undefined symbols to be
12077         in the standard namespace.
12078         (%strong_syms): Rename to %seen_syms.
12079         (%strong_seen): Rename to %seen_where.
12081 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
12083         [BZ #18970]
12084         * misc/error.c (error): Replace pthread_setcancelstate with
12085         __pthread_setcancelstate.
12086         (error_at_line): Likewise.
12087         * posix/wordexp.c (parse_comm): Likewise.
12088         * stdlib/fmtmsg.c (fmtmsg): Likewise.
12089         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
12090         (__pthread_setcancelstate): This.
12091         (pthread_setcancelstate): Add an alias.
12092         * nptl/nptl-init.c (pthread_functions): Replace
12093         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
12094         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
12095         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
12096         hidden_proto.
12097         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
12098         it with hidden_def.
12099         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
12100         (pthread_setcancelstate): Renamed to ...
12101         (__pthread_setcancelstate): This.
12102         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
12103         __libc_ptf_call with __pthread_setcancelstate.
12105 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
12106             Andreas Schwab  <schwab@suse.de>
12108         [BZ #17118]
12109         * math/s_ctan.c (__ctan): Determine sign of zero real part of
12110         result when imaginary part of argument is infinite using sine and
12111         cosine.
12112         * math/s_ctanf.c (__ctanf): Likewise.
12113         * math/s_ctanl.c (__ctanl): Likewise.
12114         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
12115         of result when real part of argument is infinite using sine and
12116         cosine.
12117         * math/s_ctanhf.c (__ctanhf): Likewise.
12118         * math/s_ctanhl.c (__ctanhl): Likewise.
12119         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
12120         (ctanh_test_data): Add more tests of ctanh.
12122 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
12124         [BZ #15384]
12125         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
12126         bit-mask as in subtraction.
12127         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
12128         Likewise.
12129         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
12130         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
12131         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
12133         [BZ #18951]
12134         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
12135         underflow exception for small results.
12136         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
12137         Likewise.
12138         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
12139         Likewise.
12140         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12141         Likewise.
12142         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
12143         Likewise.
12144         * math/auto-libm-test-in: Add more tests of tgamma.
12145         * math/auto-libm-test-out: Regenerated.
12147 2015-09-17  Andreas Schwab  <schwab@suse.de>
12149         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
12151 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
12153         [BZ #18977]
12154         * math/bits/mathcalls.h
12155         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
12156         not declare.
12157         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
12158         Likewise.
12159         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
12160         Likewise.
12161         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
12162         Likewise.
12163         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
12164         Likewise.
12165         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
12166         Likewise.
12167         * conform/data/math.h-data
12168         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
12169         function.
12170         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
12171         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
12172         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
12173         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
12174         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
12175         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
12176         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
12177         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
12178         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
12179         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
12180         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
12182         [BZ #6803]
12183         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
12184         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
12185         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
12186         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
12187         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
12188         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
12189         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
12190         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
12191         [NO_LONG_DOUBLE] (scalbnl): Likewise.
12192         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
12193         Likewise.
12194         [NO_LONG_DOUBLE] (scalbnl): Likewise.
12195         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
12196         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
12197         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
12198         long_double_symbol calls.
12199         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
12200         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
12201         strong alias of __ldexpl.
12202         (scalbnl): Define using long_double_symbol.
12203         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
12204         Remove alias.
12205         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
12206         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
12207         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
12208         (scalbln_test_data): Add more errno expectations.
12210 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
12212         Cache the host port like we cache the task port.  This way we do not
12213         need to call the kernel just to get the port.  Furthermore, we no
12214         longer increase the reference count on every invocation of
12215         `mach_host_self'.
12217         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
12218         Protect declarations against the macro expansion.
12219         * mach/mach_init.c (__mach_host_self_): New variable.
12220         (mach_init): Initialize `__mach_host_self_'.
12221         * mach/mach_init.h (__mach_host_self_): New declaration.
12222         (__mach_host_self, mach_host_self): New macros.
12223         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
12224         Release reference.
12226 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
12228         [BZ #4404]
12229         * po/de.po: Update from Translation Project.
12231         [BZ #16415]
12232         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
12233         (__expm1l): Remove code to handle positive infinity and overflow.
12234         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
12235         variable.
12236         (__expm1l): Remove code to handle positive infinity and overflow.
12238 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
12239             Paul Pluzhnikov  <ppluzhnikov@google.com>
12241         [BZ #18872]
12242         * stdio-common/Makefile (tst-printf-bz18872): New test.
12243         (tst-printf-bz18872-mem.out): Likewise.
12244         * stdio-common/tst-printf-bz18872.sh: Generate new test.
12245         * stdio-common/vfprintf.c: Fix memory leaks.
12247 2015-09-16  Andreas Schwab  <schwab@suse.de>
12249         [BZ #17244]
12250         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
12251         Remove extra va_start/va_end calls.
12253         [BZ #17243]
12254         * posix/execl.c (execl): Add missing va_end.
12255         * posix/execle.c (execle): Likewise.
12256         * posix/execlp.c (execlp): Likewise.
12258 2015-09-15  Roland McGrath  <roland@hack.frob.com>
12260         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
12261         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
12263 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
12265         [BZ #18967]
12266         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
12267         undefine around includes of <bits/mathcalls.h>.
12268         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
12269         not declare function.
12270         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
12271         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
12272         (scalb): Likewise.
12273         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
12274         not define macro.
12275         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
12276         variable.
12277         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
12278         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
12279         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
12281         [BZ #18857]
12282         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
12283         return non-finite argument without doing ordered comparisons on
12284         it.
12286         [BZ #16296]
12287         * math/fenv.h (fegetround): Use __attribute_pure__.
12288         * include/fenv.h (__fegetround): Likewise.
12290         [BZ #18595]
12291         * math/s_ctan.c (__ctan): Force underflow exception for results
12292         whose real or imaginary part has small absolute value.
12293         * math/s_ctanf.c (__ctanf): Likewise.
12294         * math/s_ctanh.c (__ctanh): Likewise.
12295         * math/s_ctanhf.c (__ctanhf): Likewise.
12296         * math/s_ctanhl.c (__ctanhl): Likewise.
12297         * math/s_ctanl.c (__ctanl): Likewise.
12298         * math/auto-libm-test-in: Do not allow missing underflow for ctan
12299         and ctanh.  Add more tests of ctan and ctanh.
12301         [BZ #15918]
12302         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
12303         handling of cases where one argument is an infinity.
12305         [BZ #18875]
12306         [BZ #18966]
12307         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
12308         (MO): New macro.
12309         (__ieee754_exp10): For small results, force underflow exception
12310         and remove excess range and precision from return value.
12311         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
12312         (MO): New macro.
12313         (__ieee754_exp10f): For small results, force underflow exception
12314         and remove excess range and precision from return value.
12315         * math/auto-libm-test-in: Add more tests of exp10.
12316         * math/auto-libm-test-out: Regenerated.
12318 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
12320         [BZ #18875]
12321         [BZ #18961]
12322         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
12323         (MO): New macro.
12324         (__ieee754_exp): For small results, force underflow exception and
12325         remove excess range and precision from return value.
12326         (__exp_finite): Likewise.
12327         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
12328         (MO): New macro.
12329         (__ieee754_expf): For small results, force underflow exception and
12330         remove excess range and precision from return value.
12331         (__expf_finite): Likewise.
12332         * math/auto-libm-test-in: Add more tests of exp.
12333         * math/auto-libm-test-out: Regenerated.
12335         [BZ #16521]
12336         [BZ #18875]
12337         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
12338         small results.
12339         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
12340         (MO): New macro.
12341         (__ieee754_exp2): For small results, force underflow exception and
12342         remove excess range and precision from return value.
12343         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
12344         (MO): New macro.
12345         (__ieee754_exp2f): For small results, force underflow exception
12346         and remove excess range and precision from return value.
12347         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
12348         (MO): New macro.
12349         (__ieee754_exp2l): Force underflow exception for small results.
12350         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
12351         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
12352         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
12353         (MO): New macro.
12354         (__ieee754_exp2l): Force underflow exception for small results.
12355         * math/auto-libm-test-in: Add more tests or exp2.
12356         * math/auto-libm-test-out: Regenerated.
12358 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
12360         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
12362         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
12363         /dev/null.
12365 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12367         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
12368         io fs process)): Drop spurious backslash.
12370 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
12372         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
12373         Use sysinfo system call instead of parsing /proc/meminfo.
12374         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
12375         Likewise.
12377 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
12379         [BZ #16985]
12380         * programs/localedef.c (main): Display argv[remaining] when
12381         output_path is NULL.
12383 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
12385         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
12386         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
12387         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
12388         tanh.
12389         * math/auto-libm-test-out: Regenerated.
12390         * sysdeps/i386/fpu/libm-test-ulps: Update.
12391         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
12392         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12393         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12395 2015-09-11  Roland McGrath  <roland@hack.frob.com>
12397         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
12398         Use 'override' keyword to freeze the value here, preventing
12399         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
12401 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
12403         [BZ #14912]
12404         * sysdeps/aarch64/bits/atomic.h: Move to ...
12405         * sysdeps/aarch64/atomic-machine.h: ...here.
12406         (_AARCH64_BITS_ATOMIC_H): Rename macro to
12407         _AARCH64_ATOMIC_MACHINE_H.
12408         * sysdeps/alpha/bits/atomic.h: Move to ...
12409         * sysdeps/alpha/atomic-machine.h: ...here.
12410         * sysdeps/arm/bits/atomic.h: Move to ...
12411         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
12412         * bits/atomic.h: Move to ...
12413         * sysdeps/generic/atomic-machine.h: ...here.
12414         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12415         * sysdeps/i386/bits/atomic.h: Move to ...
12416         * sysdeps/i386/atomic-machine.h: ...here.
12417         * sysdeps/ia64/bits/atomic.h: Move to ...
12418         * sysdeps/ia64/atomic-machine.h: ...here.
12419         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
12420         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
12421         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12422         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
12423         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
12424         * sysdeps/microblaze/bits/atomic.h: Move to ...
12425         * sysdeps/microblaze/atomic-machine.h: ...here.
12426         * sysdeps/mips/bits/atomic.h: Move to ...
12427         * sysdeps/mips/atomic-machine.h: ...here.
12428         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
12429         * sysdeps/powerpc/bits/atomic.h: Move to ...
12430         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
12431         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
12432         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
12433         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
12434         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
12435         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
12436         <atomic-machine.h> instead of <bits/atomic.h>.
12437         * sysdeps/s390/bits/atomic.h: Move to ...
12438         * sysdeps/s390/atomic-machine.h: ...here.
12439         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
12440         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
12441         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12442         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
12443         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
12444         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
12445         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
12446         * sysdeps/tile/bits/atomic.h: Move to ...
12447         * sysdeps/tile/atomic-machine.h: ...here.
12448         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
12449         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
12450         <sysdeps/tile/atomic-machine.h> instead of
12451         <sysdeps/tile/bits/atomic.h>.
12452         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12453         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
12454         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
12455         <sysdeps/tile/atomic-machine.h> instead of
12456         <sysdeps/tile/bits/atomic.h>.
12457         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12458         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
12459         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
12460         <sysdeps/arm/atomic-machine.h> instead of
12461         <sysdeps/arm/bits/atomic.h>.
12462         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
12463         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
12464         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12465         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
12466         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
12467         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12468         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
12469         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
12470         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
12471         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
12472         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
12473         * sysdeps/x86_64/bits/atomic.h: Move to ...
12474         * sysdeps/x86_64/atomic-machine.h: ...here.
12475         * include/atomic.h: Include <atomic-machine.h> instead of
12476         <bits/atomic.h>.
12478         * sysdeps/mips/mips32/libm-test-ulps: Update.
12479         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12481         [BZ #18952]
12482         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
12483         not convert non-integer negative arguments to int to determine the
12484         value of signgam.
12485         * math/auto-libm-test-in: Add more tests of lgamma.
12486         * math/auto-libm-test-out: Regenerated.
12488         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
12489         cosh, csqrt, erfc, expm1 and lgamma.
12490         * math/auto-libm-test-out: Regenerated.
12491         * sysdeps/i386/fpu/libm-test-ulps: Update.
12492         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12494 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
12496         [BZ #2542]
12497         [BZ #2543]
12498         [BZ #2558]
12499         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
12500         __lgamma_neg for arguments from -28.0 to -2.0.
12501         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
12502         __lgamma_negf for arguments from -15.0 to -2.0.
12503         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12504         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
12505         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
12506         Call __lgamma_negl for arguments from -33.0 to -2.0.
12507         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
12508         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
12509         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
12510         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
12511         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
12512         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
12513         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
12514         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
12515         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
12516         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
12517         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
12518         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
12519         (__lgamma_neg): Likewise.
12520         (__lgamma_negl): Likewise.
12521         (__lgamma_product): Likewise.
12522         (__lgamma_productl): Likewise.
12523         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
12524         * math/auto-libm-test-in: Add more tests of lgamma.
12525         * math/auto-libm-test-out: Regenerated.
12526         * sysdeps/i386/fpu/libm-test-ulps: Update.
12527         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12529 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
12531         [BZ #18675]
12532         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
12534 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
12536         [BZ #14912]
12537         * bits/libc-lock.h: Move to ...
12538         * sysdeps/generic/libc-lock.h: ...here.
12539         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
12540         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
12541         * sysdeps/mach/hurd/libc-lock.h: ...here.
12542         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
12543         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
12544         * sysdeps/mach/bits/libc-lock.h: Move to ...
12545         * sysdeps/mach/libc-lock.h: ...here.
12546         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
12547         * sysdeps/nptl/bits/libc-lock.h: Move to ...
12548         * sysdeps/nptl/libc-lock.h: ...here.
12549         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
12550         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
12551         * sysdeps/nptl/libc-lockP.h: ...here.
12552         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
12553         * crypt/crypt_util.c: Include <libc-lock.h> instead of
12554         <bits/libc-lock.h>.
12555         * dirent/scandir-tail.c: Likewise.
12556         * dlfcn/dlerror.c: Likewise.
12557         * elf/dl-close.c: Likewise.
12558         * elf/dl-iteratephdr.c: Likewise.
12559         * elf/dl-lookup.c: Likewise.
12560         * elf/dl-open.c: Likewise.
12561         * elf/dl-support.c: Likewise.
12562         * elf/dl-writev.h: Likewise.
12563         * elf/rtld.c: Likewise.
12564         * grp/fgetgrent.c: Likewise.
12565         * gshadow/fgetsgent.c: Likewise.
12566         * gshadow/sgetsgent.c: Likewise.
12567         * iconv/gconv_conf.c: Likewise.
12568         * iconv/gconv_db.c: Likewise.
12569         * iconv/gconv_dl.c: Likewise.
12570         * iconv/gconv_int.h: Likewise.
12571         * iconv/gconv_trans.c: Likewise.
12572         * include/link.h: Likewise.
12573         * inet/getnameinfo.c: Likewise.
12574         * inet/getnetgrent.c: Likewise.
12575         * inet/getnetgrent_r.c: Likewise.
12576         * intl/bindtextdom.c: Likewise.
12577         * intl/dcigettext.c: Likewise.
12578         * intl/finddomain.c: Likewise.
12579         * intl/gettextP.h: Likewise.
12580         * intl/loadmsgcat.c: Likewise.
12581         * intl/localealias.c: Likewise.
12582         * intl/textdomain.c: Likewise.
12583         * libidn/idn-stub.c: Likewise.
12584         * libio/libioP.h: Likewise.
12585         * locale/duplocale.c: Likewise.
12586         * locale/freelocale.c: Likewise.
12587         * locale/newlocale.c: Likewise.
12588         * locale/setlocale.c: Likewise.
12589         * login/getutent_r.c: Likewise.
12590         * login/getutid_r.c: Likewise.
12591         * login/getutline_r.c: Likewise.
12592         * login/utmp-private.h: Likewise.
12593         * login/utmpname.c: Likewise.
12594         * malloc/mtrace.c: Likewise.
12595         * misc/efgcvt.c: Likewise.
12596         * misc/error.c: Likewise.
12597         * misc/fstab.c: Likewise.
12598         * misc/getpass.c: Likewise.
12599         * misc/mntent.c: Likewise.
12600         * misc/syslog.c: Likewise.
12601         * nis/nis_call.c: Likewise.
12602         * nis/nis_callback.c: Likewise.
12603         * nis/nss-default.c: Likewise.
12604         * nis/nss_compat/compat-grp.c: Likewise.
12605         * nis/nss_compat/compat-initgroups.c: Likewise.
12606         * nis/nss_compat/compat-pwd.c: Likewise.
12607         * nis/nss_compat/compat-spwd.c: Likewise.
12608         * nis/nss_nis/nis-alias.c: Likewise.
12609         * nis/nss_nis/nis-ethers.c: Likewise.
12610         * nis/nss_nis/nis-grp.c: Likewise.
12611         * nis/nss_nis/nis-hosts.c: Likewise.
12612         * nis/nss_nis/nis-network.c: Likewise.
12613         * nis/nss_nis/nis-proto.c: Likewise.
12614         * nis/nss_nis/nis-pwd.c: Likewise.
12615         * nis/nss_nis/nis-rpc.c: Likewise.
12616         * nis/nss_nis/nis-service.c: Likewise.
12617         * nis/nss_nis/nis-spwd.c: Likewise.
12618         * nis/nss_nisplus/nisplus-alias.c: Likewise.
12619         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
12620         * nis/nss_nisplus/nisplus-grp.c: Likewise.
12621         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
12622         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
12623         * nis/nss_nisplus/nisplus-network.c: Likewise.
12624         * nis/nss_nisplus/nisplus-proto.c: Likewise.
12625         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
12626         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
12627         * nis/nss_nisplus/nisplus-service.c: Likewise.
12628         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
12629         * nis/ypclnt.c: Likewise.
12630         * nptl/libc_pthread_init.c: Likewise.
12631         * nss/getXXbyYY.c: Likewise.
12632         * nss/getXXent.c: Likewise.
12633         * nss/getXXent_r.c: Likewise.
12634         * nss/nss_db/db-XXX.c: Likewise.
12635         * nss/nss_db/db-netgrp.c: Likewise.
12636         * nss/nss_db/nss_db.h: Likewise.
12637         * nss/nss_files/files-XXX.c: Likewise.
12638         * nss/nss_files/files-alias.c: Likewise.
12639         * nss/nsswitch.c: Likewise.
12640         * posix/regex_internal.h: Likewise.
12641         * posix/wordexp.c: Likewise.
12642         * pwd/fgetpwent.c: Likewise.
12643         * resolv/res_hconf.c: Likewise.
12644         * resolv/res_libc.c: Likewise.
12645         * shadow/fgetspent.c: Likewise.
12646         * shadow/lckpwdf.c: Likewise.
12647         * shadow/sgetspent.c: Likewise.
12648         * socket/opensock.c: Likewise.
12649         * stdio-common/reg-modifier.c: Likewise.
12650         * stdio-common/reg-printf.c: Likewise.
12651         * stdio-common/reg-type.c: Likewise.
12652         * stdio-common/vfprintf.c: Likewise.
12653         * stdio-common/vfscanf.c: Likewise.
12654         * stdlib/abort.c: Likewise.
12655         * stdlib/cxa_atexit.c: Likewise.
12656         * stdlib/fmtmsg.c: Likewise.
12657         * stdlib/random.c: Likewise.
12658         * stdlib/setenv.c: Likewise.
12659         * string/strsignal.c: Likewise.
12660         * sunrpc/auth_none.c: Likewise.
12661         * sunrpc/bindrsvprt.c: Likewise.
12662         * sunrpc/create_xid.c: Likewise.
12663         * sunrpc/key_call.c: Likewise.
12664         * sunrpc/rpc_thread.c: Likewise.
12665         * sysdeps/arm/backtrace.c: Likewise.
12666         * sysdeps/generic/ldsodefs.h: Likewise.
12667         * sysdeps/generic/stdio-lock.h: Likewise.
12668         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
12669         * sysdeps/i386/backtrace.c: Likewise.
12670         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
12671         * sysdeps/m68k/backtrace.c: Likewise.
12672         * sysdeps/mach/hurd/cthreads.c: Likewise.
12673         * sysdeps/mach/hurd/dirstream.h: Likewise.
12674         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
12675         * sysdeps/nptl/malloc-machine.h: Likewise.
12676         * sysdeps/nptl/stdio-lock.h: Likewise.
12677         * sysdeps/posix/dirstream.h: Likewise.
12678         * sysdeps/posix/getaddrinfo.c: Likewise.
12679         * sysdeps/posix/system.c: Likewise.
12680         * sysdeps/pthread/aio_suspend.c: Likewise.
12681         * sysdeps/s390/s390-32/backtrace.c: Likewise.
12682         * sysdeps/s390/s390-64/backtrace.c: Likewise.
12683         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
12684         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
12685         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
12686         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
12687         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
12688         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
12689         * sysdeps/unix/sysv/linux/system.c: Likewise.
12690         * sysdeps/x86_64/backtrace.c: Likewise.
12691         * time/alt_digit.c: Likewise.
12692         * time/era.c: Likewise.
12693         * time/tzset.c: Likewise.
12694         * wcsmbs/wcsmbsload.c: Likewise.
12695         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
12696         instead of <bits/libc-lock.h> in comment.
12698 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
12700         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
12701         Only use .set mips2 if the current ISA is below mips2.
12702         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
12703         Likewise.
12704         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
12705         mips32r2 if the current ISA is below mips32r2.
12706         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
12707         (TLS_IE): Updated to use the TLD_RDHWR macro.
12708         (TLS_LE): Likewise.
12709         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
12710         __ASSEMBLER__ condition.
12712 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12714         Fix parallel build of before-compile targets.
12716         * sysdeps/mach/Makefile ($(patsubst
12717         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
12718         mach-before-compile target.
12719         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
12720         io fs process)): Move rule to dedicated hurd-before-compile target.
12722 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12724         Fix rules generating headers in hurd/ and mach/ when initial make call
12725         has subdir= explicitly set.
12727         * sysdeps/mach/Makefile ($(patsubst
12728         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
12729         calling $(MAKE).
12730         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
12731         io fs process)): Force subdir to hurd when calling $(MAKE).
12732         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
12733         subdir to mach when calling $(MAKE).
12735 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
12737         Check sysheaders when looking for Mach and Hurd headers
12739         * sysdeps/mach/configure.ac: Add sysheaders check.
12740         * sysdeps/mach/configure: Regenerate.
12741         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
12742         * sysdeps/mach/hurd/configure: Regenerate.
12744 2015-09-04  Roland McGrath  <roland@hack.frob.com>
12746         [BZ #18921]
12747         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
12748         Fix inverted sense of test of 'o_directory_works' value.
12749         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
12750         Bernhard Voelker <mail@bernhard-voelker.de>.
12752 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
12754         [BZ #14912]
12755         * bits/linkmap.h: Move to ...
12756         * sysdeps/generic/linkmap.h: ...here.
12757         * sysdeps/aarch64/bits/linkmap.h: Move to ...
12758         * sysdeps/aarch64/linkmap.h: ...here.
12759         * sysdeps/arm/bits/linkmap.h: Move to ...
12760         * sysdeps/arm/linkmap.h: ...here.
12761         * sysdeps/hppa/bits/linkmap.h: Move to ...
12762         * sysdeps/hppa/linkmap.h: ...here.
12763         * sysdeps/ia64/bits/linkmap.h: Move to ...
12764         * sysdeps/ia64/linkmap.h: ...here.
12765         * sysdeps/mips/bits/linkmap.h: Move to ...
12766         * sysdeps/mips/linkmap.h: ...here.
12767         * sysdeps/s390/bits/linkmap.h: Move to ...
12768         * sysdeps/s390/linkmap.h: ...here.
12769         * sysdeps/sh/bits/linkmap.h: Move to ...
12770         * sysdeps/sh/linkmap.h: ...here.
12771         * sysdeps/x86/bits/linkmap.h: Move to ...
12772         * sysdeps/x86/linkmap.h: ...here.
12773         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
12775 2015-09-04  Andreas Schwab  <schwab@suse.de>
12777         [BZ #18635]
12778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
12779         (__makecontext): Terminate FDE before return label.
12780         (__novec_makecontext): Likewise.
12782 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12784         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
12785         first member of struct sv in syscall macro.
12787 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
12789         [BZ #14912]
12790         * bits/stdio-lock.h: Move to ...
12791         * sysdeps/generic/stdio-lock.h: ...here.
12792         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
12793         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
12794         * sysdeps/nptl/stdio-lock.h: ...here.
12795         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
12796         * include/libio.h: Include <stdio-lock.h> instead of
12797         <bits/stdio-lock.h>.
12798         * sysdeps/nptl/fork.c: Likewise.
12799         * sysdeps/pthread/flockfile.c: Likewise.
12800         * sysdeps/pthread/ftrylockfile.c: Likewise.
12801         * sysdeps/pthread/funlockfile.c: Likewise.
12803         [BZ #14912]
12804         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
12805         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
12806         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
12807         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
12808         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
12809         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
12810         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
12812 2015-09-03  Roland McGrath  <roland@hack.frob.com>
12814         * elf/Makefile (test-xfail-tst-protected1a): New variable.
12815         (test-xfail-tst-protected1b): New variable.
12817 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
12819         [BZ #14912]
12820         * bits/libc-tsd.h: Move to ...
12821         * sysdeps/generic/libc-tsd.h: ...here.
12822         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
12823         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
12824         * sysdeps/mach/hurd/libc-tsd.h: ...here.
12825         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
12826         * include/ctype.h: Include <libc-tsd.h> instead of
12827         <bits/libc-tsd.h>.
12828         * include/rpc/rpc.h: Likewise.
12829         * locale/localeinfo.h: Likewise.
12830         * sunrpc/rpc_thread.c: Likewise.
12831         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
12832         * sysdeps/nptl/malloc-machine.h: Likewise.
12834         * Makefile (headers): Remove bits/libc-lock.h.
12835         * libio/Makefile (headers): Remove bits/stdio-lock.h.
12837         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
12838         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
12839         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
12840         <bits/stdio-lock.h>.
12841         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
12842         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
12844 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
12846         [BZ #18757]
12847         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
12848         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
12849         BZ #18757.
12851 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
12853         * malloc/mtrace.pl: Filter out NULL entries.
12855 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
12857         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
12858         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
12859         macro.
12861         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
12862         (TCP_CC_INFO): Likewise.
12863         (TCP_SAVE_SYN): Likewise.
12864         (TCP_SAVED_SYN): Likewise.
12866 2015-08-31  Brett Neumeier <brett@neumeier.us>
12868         [BZ #18870]
12869         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
12871 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
12873         [BZ #18873]
12874         Fix broken overflow check in posix_fallocate
12875         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
12876         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
12877         Fix parenthesization typo.
12879 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
12881         [BZ #18887]
12882         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
12883         tst-mntent-blank-passno.
12884         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
12885         * misc/tst-mntent-blank-corrupt.c: New test.
12886         * misc/tst-mntent-blank-passno.c: New test ripped from ...
12887         * misc/tst-mntent.c (do_test): ... here.
12889 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
12891         [BZ #4404]
12892         * po/de.po: Fix SIGALRM typo.
12894 2015-08-28  James Perkins  <james@loowit.net>
12896         * time/tst-strptime2.c (tests): Replace short list of test
12897         strings for strptime %z specifier with code which exhaustively
12898         tests every combination of sign and 0 to 5 digits. Tests for
12899         rejection of invalid strings.
12901 2015-08-28  James Perkins  <james@loowit.net>
12903         [BZ #16141]
12904         * time/strptime_l.c (__strptime_internal): Fix %z minutes
12905         calculation, removing incorrect decimal time rounding, so that
12906         all minute values result in a valid seconds value.
12907         * time/strptime_l.c (__strptime_internal): Extend %z time zone
12908         offset range limits to UTC-99:59 through UTC+99:59 to parse
12909         current and historical use cases.
12910         * time/tst-strptime2.c (tests): Modify and add tests for the
12911         strptime %z input field descriptor, specifically conversion of
12912         minutes to seconds and validating an offset range of -9959 to
12913         +9959.
12915 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12916             Dmitry V. Levin  <ldv@altlinux.org>
12918         [BZ #18877]
12919         * posix/Makefile (tests): Add tst-mmap-offset.
12920         * posix/tst-mmap.c: New file.
12921         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
12922         offset calculation for negative values.
12924 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12926         * sysdeps/i386/init-arch.h: New file.
12927         * sysdeps/i386/i586/init-arch.h: Likewise.
12928         * sysdeps/i386/i686/init-arch.h: Likewise.
12929         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
12930         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
12931         * sysdeps/x86/cpu-features.h (bit_I586): New.
12932         (bit_I686): Likewise.
12933         (bit_CX8): Likewise.
12934         (bit_CMOV): Likewise.
12935         (index_CX8): Likewise.
12936         (index_CMOV): Likewise.
12937         (index_I586): Likewise.
12938         (index_I686): Likewise.
12939         (reg_CX8): Likewise.
12940         (reg_CMOV): Likewise.
12941         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
12942         available at compile-time.
12943         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
12944         available at compile-time.
12945         * sysdeps/x86/init-arch.h (USE_I586): New macro.
12946         (USE_I686): Likewise.
12948 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12950         * sysdeps/i386/bcopy.S: New file.
12951         * sysdeps/i386/bzero.S: Likewise.
12952         * sysdeps/i386/memcpy.S: Likewise.
12953         * sysdeps/i386/memmove.S: Likewise.
12954         * sysdeps/i386/mempcpy.S: Likewise.
12955         * sysdeps/i386/memset.S: Likewise.
12956         * sysdeps/i386/bzero.c: Removed.
12957         * sysdeps/i386/memset.c: Likewise.
12958         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
12959         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
12960         * sysdeps/i386/i586/memset_chk.S: Likewise.
12961         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
12962         * sysdeps/i386/memcpy_chk.S: Here.
12963         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
12964         * sysdeps/i386/memmove_chk.S: Here.
12965         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
12966         * sysdeps/i386/mempcpy_chk.S: Likewise.
12967         * sysdeps/i386/i686/memset_chk.S: Moved to ...
12968         * sysdeps/i386/memset_chk.S: Likewise.
12970 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
12972         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
12973         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
12974         file, move DIAG_POP_NEEDS_COMMENT to end of file.
12975         * soft-fp/fmadf4.c: Ditto.
12976         * soft-fp/fmatf4.c: Ditto.
12978 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12980         * sysdeps/i386/i586/Implies: Removed.
12981         * sysdeps/i386/i686/Implies: Likewise.
12983 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12985         * sysdeps/i386/i486/strlen.S: Moved to ...
12986         * sysdeps/i386/strlen.S: Here.
12988 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12990         * sysdeps/i386/i486/strcat.S: Moved to ...
12991         * sysdeps/i386/strcat.S: Here.
12993 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12995         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
12996         * sysdeps/i386/pthread_spin_trylock.S: Here.
12997         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
12998         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
13000 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13002         * sysdeps/i386/i486/string-inlines.c: Moved to ...
13003         * sysdeps/i386/string-inlines.c: Here.
13005 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13007         * sysdeps/i386/i486/htonl.S: Moved ...
13008         * sysdeps/i386/htonl.S: here.
13010 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13012         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
13013         * sysdeps/i386/bits/atomic.h: Here.
13015 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13017         * sysdeps/i386/i486/Versions: Removed.
13019 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
13021         [BZ #2898]
13022         * misc/mktemp.c: Add mkdtemp to the link_warning message.
13023         Based on patch by Aurelien Jarno.
13025 2015-08-26  Stan Shebs  <stanshebs@google.com>
13027         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
13028         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
13030 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
13032         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
13033         * sysdeps/powerpc/dl-procinfo.c:
13034         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
13035         feature so it shows when LD_SHOW_AUXV=1.
13037 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13039         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
13040         (__arch_compare_and_exchange_val_32_acq): Remove and use common
13041         definition.  ISA 2.07B no longer requires full sync.
13043 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
13045         [BZ #18863]
13046         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
13047         (si_call_addr): Define.
13048         (si_syscall): Define.
13049         (si_arch): Define.
13051 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
13053         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
13054         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
13055         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
13056         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
13057         (__memset_zero_constant_len_parameter): New.
13058         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
13059         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
13060         (__memset_zero_constant_len_parameter): Don't define if
13061         __memset_chk or USE_AS_BZERO are defined.
13063         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
13064         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
13065         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
13067         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
13068         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
13069         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
13070         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
13071         comments.
13072         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
13073         -mno-mmx for $(all-rtld-routines).
13074         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
13075         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
13076         i386.
13078 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
13080         * sysdeps/generic/unwind.h
13081         (_Unwind_Word): Use __mode__(__unwind_word__)
13082         instead of __mode__(__word__).
13083         (_Unwind_Sword): Likewise.
13085         * sysdeps/s390/s390-64/utf8-utf16-z9.c
13086         (MAX_NEEDED_INPUT): New define.
13087         (MAX_NEEDED_OUTPUT): New define.
13089         * NEWS: New item for IBM z13 string optimizations.
13091         * sysdeps/s390/multiarch/memrchr-c.c: New File.
13092         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
13093         * sysdeps/s390/multiarch/memrchr.c: Likewise.
13094         * sysdeps/s390/multiarch/Makefile
13095         (sysdep_routines): Add memrchr functions.
13096         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
13097         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
13099         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
13100         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
13101         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
13102         * sysdeps/s390/multiarch/Makefile
13103         (sysdep_routines): Add wmemcmp functions.
13104         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
13105         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
13106         * benchtests/bench-wmemcmp.c: New File.
13107         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
13109         * sysdeps/s390/multiarch/wmemset-c.c: New File.
13110         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
13111         * sysdeps/s390/multiarch/wmemset.c: Likewise.
13112         * sysdeps/s390/multiarch/Makefile
13113         (sysdep_routines): Add wmemset functions.
13114         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
13115         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
13116         * wcsmbs/wmemset.c: Use WMEMSET if defined.
13117         * string/test-memset.c: Add wmemset support.
13118         * wcsmbs/test-wmemset.c: New File.
13119         * wcsmbs/Makefile (strop-tests): Add wmemset.
13120         * benchtests/bench-memset.c: Add wmemset support.
13121         * benchtests/bench-wmemset.c: New File.
13122         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
13124         * sysdeps/s390/multiarch/memccpy-c.c: New File.
13125         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
13126         * sysdeps/s390/multiarch/memccpy.c: Likewise.
13127         * sysdeps/s390/multiarch/Makefile
13128         (sysdep_routines): Add memccpy functions.
13129         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
13130         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
13131         * string/memccpy.c: Use MEMCCPY if defined.
13133         * sysdeps/s390/multiarch/memchr-vx.S: New File.
13134         * sysdeps/s390/multiarch/memchr.c: Likewise.
13135         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
13136         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
13137         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
13138         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
13139         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
13140         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
13141         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
13142         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
13143         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
13144         and rawmemchr functions.
13145         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
13146         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
13147         and wmemchr.
13148         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
13149         * string/test-memchr.c: Add wmemchr support.
13150         * wcsmbs/test-wmemchr.c: New File.
13151         * wcsmbs/Makefile (strop-tests): Add wmemchr.
13152         * benchtests/bench-memchr.c: Add wmemchr support.
13153         * benchtests/bench-wmemchr.c: New File.
13154         * benchtests/Makefile (wcsmbs-bench): wmemchr.
13156         * sysdeps/s390/multiarch/strcspn-c.c: New File.
13157         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
13158         * sysdeps/s390/multiarch/strcspn.c: Likewise.
13159         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
13160         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
13161         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
13162         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
13163         wcscspn functions.
13164         * sysdeps/s390/multiarch/ifunc-impl-list.c
13165         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
13166         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
13167         * string/test-strcspn.c: Add wcscspn support.
13168         * wcsmbs/test-wcscspn.c: New File.
13169         * wcsmbs/Makefile (strop-tests): Add wcscspn.
13170         * benchtests/bench-strcspn.c: Add wcscspn support.
13171         * benchtests/bench-wcscspn.c: New File.
13172         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
13174         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
13175         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
13176         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
13177         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
13178         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
13179         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
13180         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
13181         wcspbrk functions.
13182         * sysdeps/s390/multiarch/ifunc-impl-list.c
13183         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
13184         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
13185         * string/test-strpbrk.c: Add wcspbrk support.
13186         * wcsmbs/test-wcspbrk.c: New File.
13187         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
13188         * benchtests/bench-strpbrk.c: Add wcspbrk support.
13189         * benchtests/bench-wcspbrk.c: New File.
13190         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
13192         * sysdeps/s390/multiarch/strspn-c.c: New File.
13193         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
13194         * sysdeps/s390/multiarch/strspn.c: Likewise.
13195         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
13196         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
13197         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
13198         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
13199         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
13200         wcsspn functions.
13201         * sysdeps/s390/multiarch/ifunc-impl-list.c
13202         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
13203         * string/test-strspn.c: Add wcsspn support.
13204         * wcsmbs/test-wcsspn.c: New File.
13205         * wcsmbs/Makefile (strop-tests): Add wcsspn.
13206         * benchtests/bench-strspn.c: Add wcsspn support.
13207         * benchtests/bench-wcsspn.c: New File.
13208         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
13210         * sysdeps/s390/multiarch/strrchr-c.c: New File.
13211         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
13212         * sysdeps/s390/multiarch/strrchr.c: Likewise.
13213         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
13214         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
13215         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
13216         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
13217         wcsrchr functions.
13218         * sysdeps/s390/multiarch/ifunc-impl-list.c
13219         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
13220         * benchtests/bench-wcsrchr.c: New File.
13221         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
13223         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
13224         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
13225         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
13226         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
13227         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
13228         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
13229         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
13230         wcschrnul functions.
13231         * sysdeps/s390/multiarch/ifunc-impl-list.c
13232         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
13233         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
13234         * string/test-strchr.c: Add wcschrnul support.
13235         * wcsmbs/test-wcschrnul.c: New File.
13236         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
13237         * benchtests/bench-strchr.c: Add wcschrnul support.
13238         * benchtests/bench-wcschrnul.c: New File.
13239         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
13241         * sysdeps/s390/multiarch/strchr-c.c: New File.
13242         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
13243         * sysdeps/s390/multiarch/strchr.c: Likewise.
13244         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
13245         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
13246         * sysdeps/s390/multiarch/wcschr.c: Likewise.
13247         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
13248         wcschr functions.
13249         * sysdeps/s390/multiarch/ifunc-impl-list.c
13250         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
13251         * string/strchr.c (STRCHR): Define and use macro.
13252         * benchtests/bench-wcschr.c: New File.
13253         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
13255         * sysdeps/s390/multiarch/strncmp-c.c: New File.
13256         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
13257         * sysdeps/s390/multiarch/strncmp.c: Likewise.
13258         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
13259         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
13260         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
13261         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
13262         wcsncmp functions.
13263         * sysdeps/s390/multiarch/ifunc-impl-list.c
13264         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
13265         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
13266         * benchtests/bench-strncmp.c: Add wcsncmp support.
13267         * benchtests/bench-wcsncmp.c: New File.
13268         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
13270         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
13271         * sysdeps/s390/multiarch/strcmp.c: Likewise.
13272         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
13273         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
13274         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
13275         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
13276         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
13277         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
13278         wcscmp functions.
13279         * sysdeps/s390/multiarch/ifunc-impl-list.c
13280         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
13281         * string/strcmp.c (STRCMP): Define and use macro.
13282         * benchtests/bench-wcscmp.c: New File.
13283         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
13284         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
13285         instead of _HAVE_STRING_ARCH_memchr.
13287         * sysdeps/s390/multiarch/strncat-c.c: New File.
13288         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
13289         * sysdeps/s390/multiarch/strncat.c: Likewise.
13290         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
13291         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
13292         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
13293         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
13294         wcsncat functions.
13295         * sysdeps/s390/multiarch/ifunc-impl-list.c
13296         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
13297         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
13298         * string/test-strncat.c: Add wcsncat support.
13299         * wcsmbs/test-wcsncat.c: New File.
13300         * wcsmbs/Makefile (strop-tests): Add wcsncat.
13301         * benchtests/bench-strncat.c: Add wcsncat support.
13302         * benchtests/bench-wcsncat.c: New File.
13303         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
13305         * sysdeps/s390/multiarch/strcat-c.c: New File.
13306         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
13307         * sysdeps/s390/multiarch/strcat.c: Likewise.
13308         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
13309         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
13310         * sysdeps/s390/multiarch/wcscat.c: Likewise.
13311         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
13312         wcscat functions.
13313         * sysdeps/s390/multiarch/ifunc-impl-list.c
13314         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
13315         * string/strcat.c (STRCAT): Define and use macro.
13316         * wcsmbs/wcscat.c: Use WCSCAT if defined.
13317         * string/test-strcat.c: Add wcscat support.
13318         * wcsmbs/test-wcscat.c: New File.
13319         * wcsmbs/Makefile (strop-tests): Add wcscat.
13320         * benchtests/bench-strcat.c: Add wcscat support.
13321         * benchtests/bench-wcscat.c: New File.
13322         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
13324         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
13325         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
13326         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
13327         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
13328         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
13329         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
13330         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
13331         wcpncpy functions.
13332         * sysdeps/s390/multiarch/ifunc-impl-list.c
13333         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
13334         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
13335         * string/test-stpncpy.c: Add wcpncpy support.
13336         * wcsmbs/test-wcpncpy.c: New File.
13337         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
13338         * benchtests/bench-stpncpy.c: Add wcpncpy support.
13339         * benchtests/bench-wcpncpy.c: New File.
13340         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
13342         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
13343         * sysdeps/s390/multiarch/strncpy.c: Likewise.
13344         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
13345         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
13346         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
13347         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
13348         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
13349         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
13350         wcsncpy functions.
13351         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
13352         * sysdeps/s390/multiarch/ifunc-impl-list.c
13353         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
13354         * string/test-strncpy.c: Add wcsncpy support.
13355         * wcsmbs/test-wcsncpy.c: New File.
13356         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
13357         * benchtests/bench-strncpy.c: Add wcsncpy support.
13358         * benchtests/bench-wcsncpy.c: New File.
13359         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
13361         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
13362         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
13363         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
13364         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
13365         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
13366         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
13367         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
13368         wcpcpy functions.
13369         * string/stpcpy.c: Use STPCPY if defined.
13370         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
13371         * sysdeps/s390/multiarch/ifunc-impl-list.c
13372         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
13373         * string/test-stpcpy.c: Add wcpcpy support.
13374         * wcsmbs/test-wcpcpy.c: New File.
13375         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
13376         * benchtests/bench-stpcpy.c: Add wcpcpy support.
13377         * benchtests/bench-wcpcpy.c: New File.
13378         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
13380         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
13381         * sysdeps/s390/multiarch/strcpy.c: Likewise.
13382         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
13383         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
13384         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
13385         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
13386         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
13387         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
13388         wcscpy functions.
13389         * sysdeps/s390/multiarch/ifunc-impl-list.c
13390         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
13391         * benchtests/bench-wcscpy.c: New File.
13392         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
13394         * sysdeps/s390/multiarch/strnlen-c.c: New File.
13395         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
13396         * sysdeps/s390/multiarch/strnlen.c: Likewise.
13397         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
13398         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
13399         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
13400         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
13401         wcsnlen functions.
13402         * sysdeps/s390/multiarch/ifunc-impl-list.c
13403         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
13404         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
13405         * string/test-strnlen.c: Add wcsnlen support.
13406         * wcsmbs/test-wcsnlen.c: New File.
13407         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
13408         * benchtests/bench-strnlen.c: Add wcsnlen support.
13409         * benchtests/bench-wcsnlen.c: New File.
13410         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
13412         * sysdeps/s390/multiarch/Makefile: New File.
13413         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
13414         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
13415         * sysdeps/s390/multiarch/strlen.c: Likewise.
13416         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
13417         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
13418         * sysdeps/s390/multiarch/wcslen.c: Likewise.
13419         * string/strlen.c (STRLEN): Define and use macro.
13420         * sysdeps/s390/multiarch/ifunc-impl-list.c
13421         (IFUNC_VX_IMPL): New macro function.
13422         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
13423         * benchtests/Makefile (wcsmbs-bench): New variable.
13424         (string-bench-all): Added wcsmbs-bench.
13425         * benchtests/bench-wcslen.c: New File.
13427         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
13428         s390_vx_libc_ifunc2): New macro function.
13430         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
13431         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
13432         assembler support.
13433         * sysdeps/s390/configure: Regenerated.
13435         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
13436         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
13438         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
13439         * sysdeps/s390/dl-procinfo.h: Add vector capability.
13440         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
13442         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
13443         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
13444         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
13445         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
13446         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
13447         (memcmp, bcmp): Use __memcmp_default as alias source.
13448         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
13449         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
13450         Rename to __memcmp_default.
13451         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
13452         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
13453         (memcpy): Use __memcpy_default as alias source.
13454         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
13455         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
13456         Rename to __memcpy_default.
13457         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
13458         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
13459         (memset): Use __memset_default as alias source.
13460         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
13461         * sysdeps/s390/s390-32/memset.S (__memset_g5):
13462         Rename to __memset_default.
13463         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
13464         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
13465         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
13466         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
13467         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
13468         (memcmp, bcmp): Use __memcmp_default as alias source.
13469         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
13470         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
13471         Rename to __memcmp_default.
13472         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
13473         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
13474         (memcpy): Use __memcpy_default as alias source.
13475         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
13476         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
13477         Rename to __memcpy_default.
13478         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
13479         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
13480         (memset): Use __memset_default as alias source.
13481         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
13482         * sysdeps/s390/s390-64/memset.S (__memset_z900):
13483         Rename to __memset_default.
13484         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
13485         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
13487         [BZ #18610]
13488         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
13489         __ieee_instruction_pointer to __unused.
13490         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
13491         __ieee_instruction_pointer.
13492         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
13493         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
13494         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
13495         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
13496         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
13497         Mark dxc-field as reserved.
13499 2015-08-25  Roland McGrath  <roland@hack.frob.com>
13501         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
13502         if the weak reference is not null.
13504 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
13506         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
13508         [BZ #11214]
13509         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
13511 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13513         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
13514         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
13515         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
13516         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
13517         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
13518         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
13519         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
13520         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
13521         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
13522         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
13523         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
13524         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
13525         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
13526         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
13527         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
13528         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
13529         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
13530         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
13532 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13534         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
13535         register other than r0 for tabort, it has special meaning.
13536         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
13537         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
13538         transaction before starting syscall.
13540 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13542         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
13544 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
13546         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
13548         * sysdeps/x86_64/rtld-memcmp.c: Removed.
13549         * sysdeps/x86_64/rtld-memset.S: Likewise.
13550         * sysdeps/x86_64/rtld-strchr.S: Likewise.
13551         * sysdeps/x86_64/rtld-strlen.S: Likewise.
13552         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
13553         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
13555         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
13557 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
13559         * debug/strcpy_chk.c: Improve performance.
13560         * debug/stpcpy_chk.c: Likewise.
13561         * sysdeps/x86_64/strcpy_chk.S: Remove.
13562         * sysdeps/x86_64/stpcpy_chk.S: Remove.
13564         [BZ #18240]
13565         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
13567 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
13569         [BZ #15128]
13570         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
13571         ifuncmain8.
13572         (modules-names): Add ifuncmod8.
13573         ($(objpfx)ifuncmain8): New rule.
13574         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
13575         <cpuid.h>.
13576         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
13577         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
13578         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
13579         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
13580         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
13581         * sysdeps/x86_64/dl-trampoline.h: Likewise.
13582         * sysdeps/x86_64/ifuncmain8.c: New file.
13583         * sysdeps/x86_64/ifuncmod8.c: Likewise.
13584         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
13585         Removed.
13586         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
13587         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
13588         Change rtld_savespace_sse to __glibc_unused2.
13589         (RTLD_CHECK_FOREIGN_CALL): Removed.
13590         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
13591         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
13592         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
13594 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
13596         * sysdeps/aarch64/bzero.S (__bzero): Remove.
13598 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
13600         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
13601         Unconditionally set __fpcr to avoid uninialized warning.
13602         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
13604 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13606         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
13607         is corrupt.
13609         * malloc/arena.c (arena_get2): Drop unused argument.
13610         (arena_lock): Adjust.
13611         (arena_get_retry): Likewise.
13613 2015-08-24  Andreas Schwab  <schwab@suse.de>
13615         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
13616         Don't define.
13617         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
13618         (__ASSUME_IPC64): Don't undef.
13619         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
13620         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
13621         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
13622         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
13623         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
13624         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
13625         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
13626         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
13627         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
13628         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
13629         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
13630         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
13631         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
13632         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
13633         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
13634         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
13635         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
13636         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
13637         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
13638         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
13639         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
13641 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
13643         * manual/Makefile (install): Only build manual when perl is available.
13645 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
13647         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
13648         '#undef memcpy' by '#undef memchr'.
13650 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
13652         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
13653         memchr not point to the internal __GI_memchr implementation.
13655 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
13657         * timezone/Makefile (CFLAGS-zdump.c): Remove
13658         -Wno-strict-prototypes.
13659         (CFLAGS-zic.c): Likewise.
13660         (CFLAGS-ialloc.c): Likewise.
13661         (CFLAGS-scheck.c): Likewise.
13663         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
13664         -Wno-error=undef.
13666 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
13668         * i386/i686/multiarch/strcasestr-c.c: Removed.
13669         * x86_64/multiarch/strcasestr.c: Likewise.
13670         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13671         Remove strcasestr.
13673 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
13675         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
13677         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
13678         variables for high and low parts before possibly modifying them.
13680 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
13682         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
13683         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
13684         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
13685         of "multiarch/init-arch.h".
13686         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
13687         * sysdeps/x86/init-arch.h: This.
13689 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
13691         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
13692         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
13694 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
13696         [BZ #17787]
13697         * manual/macros.texi: Add twoexp macro.
13698         * manual/filesys.texi: Fix exponents.
13699         * manual/llio.texi: Likewise.
13700         * manual/stdio.texi: Likewise.
13702 2015-08-20  Florian Weimer  <fweimer@redhat.com>
13704         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
13705         incorrect use.
13707 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
13709         [BZ #18370]
13710         * math/s_csqrt.c (__csqrt): Force underflow exception for results
13711         whose real or imaginary part has small absolute value.
13712         * math/s_csqrtf.c (__csqrtf): Likewise.
13713         * math/s_csqrtl.c (__csqrtl): Likewise.
13714         * math/auto-libm-test-in: Add more tests of csqrt.
13715         * math/auto-libm-test-out: Regenerated.
13716         * sysdeps/i386/fpu/libm-test-ulps: Update.
13718 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13720         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
13721         __ppc_set_ppr_very_low): New functions.
13722         * manual/platform.texi: Add documentation about
13723         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
13725 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
13727         * string/stpncpy.c (stpncpy): Improve performance using
13728         __strnlen/memcpy/memset.
13730 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
13732         [BZ #18796]
13733         * scripts/test-installation.pl: Don't add -lmvec to build options if
13734         libmvec wasn't built.
13736 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
13738         [BZ #14341]
13739         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
13740         case when there is a gap between DT_REL and DT_JMPREL sections.
13741         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
13742         (LDFLAGS-tst-split-dynreloc): New.
13743         (tst-split-dynreloc-ENV): Likewise.
13744         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
13745         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
13747 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
13749         [BZ #18822]
13750         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
13751         attribute_hidden.
13752         (__xstat64_conv): Likewise.
13753         (__xstat32_conv): Likewise.
13755 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
13757         [BZ #18822]
13758         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
13759         Don't load %ebx when calling __setcontext.  Call __setcontext
13760         with HIDDEN_JUMPTARGET.
13761         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
13762         libc_hidden_def.
13764 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
13766         * sysdeps/i386/i686/Makefile
13767         [$(subdir) == string] (sysdep_routines): Moved to ...
13768         * sysdeps/i386/Makefile: Here.
13769         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
13770         * sysdeps/i386/cacheinfo.c: Here.
13771         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
13772         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
13773         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
13774         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
13776 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
13778         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
13779         __i586__ is defined.
13780         (HAS_I686): Defined to 1 if __i686__ is defined.
13782 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
13784         * elf/Makefile [$(have-z-execstack) = yes]
13785         (CPPFLAGS-tst-execstack.c): New variable.
13787         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
13788         conditional to [defined UTMPX || _HAVE_UT_TYPE].
13789         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
13790         UTMPX || _HAVE_UT_TV].
13791         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
13792         UTMPX || _HAVE_UT_TV - 0].
13794 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
13796         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
13797         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
13798         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
13800 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
13802         * sysdeps/powerpc/dl-procinfo.c:
13803         (_dl_powerpc_cap_flags): Added missing strings for some
13804         hwcap features.
13805         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
13807 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
13809         Port the 0x7efe...feff pattern to GCC 6.
13810         See Steve Ellcey's bug report in:
13811         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
13812         * string/memrchr.c (MEMRCHR):
13813         * string/rawmemchr.c (RAWMEMCHR):
13814         * string/strchr.c (strchr):
13815         * string/strchrnul.c (STRCHRNUL):
13816         Rewrite code to avoid issues with signed shift overflow.
13818 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
13820         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
13821         whether cpuid is available only if HAS_CPUID is 0.
13822         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
13823         (HAS_I586): Likewise.
13824         (HAS_I686): Likewise.
13826 2015-08-18  Zack Weinberg  <zackw@panix.com>
13828         * misc/Versions (libc): Add GLIBC_2.23.
13830 2015-08-18  Alan Modra  <amodra@gmail.com>
13832         [BZ #18421]
13833         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
13834         .Lp__global.
13835         (_start): Load %dp via .Lp__global.
13836         [!SHARED]: Use .section .rodata.
13838 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13840         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
13841         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
13843 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13845         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
13846         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
13848 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13850         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
13851         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
13853 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13855         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
13856         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
13858 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13860         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
13861         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
13863 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13865         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
13866         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
13868 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13870         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
13872 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13874         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
13875         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
13876         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
13877         (__ASSUME_LWS_CAS): Delete.
13879 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13881         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
13882         * sysdeps/hppa/configure: Regenerated.
13883         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
13884         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
13885         * sysdeps/hppa/nptl/tls.h: Likewise.
13887 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
13889         [BZ #18823]
13890         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
13891         for scaling up small arguments.
13892         * math/s_csqrtf.c (__csqrtf): Likewise.
13893         * math/s_csqrtl.c (__csqrtl): Likewise.
13894         * math/auto-libm-test-in: Add more tests of csqrt.
13895         * math/auto-libm-test-out: Regenerated.
13897 2015-08-17  Andreas Schwab  <schwab@suse.de>
13899         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
13900         version set GLIBC_2.19.
13902 2015-08-16  Zack Weinberg  <zackw@panix.com>
13904         [BZ #18681]
13905         * misc/regexp.h: This interface is no longer supported.
13906         Remove all contents, leaving only an #error directive.
13907         * misc/regexp.c (loc1, loc2, locs, step, advance):
13908         Demote to compatibility symbols.
13910 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
13912         [BZ #18084]
13913         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
13914         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
13915         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
13916         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
13917         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
13918         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
13919         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
13920         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
13921         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
13923 2015-08-15  Zack Weinberg  <zackw@panix.com>
13925         [BZ #18795]
13926         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
13927         buffer length is known to be too large, not if it's known to be
13928         small enough.
13929         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
13930         overflow at runtime, involving a length parameter, twice: once
13931         with a compile-time constant length parameter, once without.
13933 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
13935         [BZ #18824]
13936         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
13937         scaling x * y up instead of down.
13938         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13939         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13940         * math/auto-libm-test-in: Add more tests of fma.
13941         * math/auto-libm-test-out: Regenerated.
13943 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
13945         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13947 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
13949         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
13950         unnecessary movq.
13951         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
13952         Likewise.
13954 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
13956         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
13957         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
13958         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
13959         and tgamma.
13960         * math/auto-libm-test-out: Regenerated.
13961         * sysdeps/i386/fpu/libm-test-ulps: Update.
13962         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13964         [BZ #16520]
13965         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
13966         (__tanh): Force underflow exception for arguments with small
13967         absolute value.
13968         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
13969         (__tanhf): Force underflow exception for arguments with small
13970         absolute value.
13971         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
13972         (__tanhl): Force underflow exception for arguments with small
13973         absolute value.
13974         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
13975         (__tanhl): Force underflow exception for arguments with small
13976         absolute value.
13977         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
13978         (__tanhl): Force underflow exception for arguments with small
13979         absolute value.
13980         * math/auto-libm-test-in: Add more tests of tanh.
13981         * math/auto-libm-test-out: Regenerated.
13982         * sysdeps/i386/fpu/libm-test-ulps: Update.
13984 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
13986         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
13987         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
13989 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
13991         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
13992         <cpuid.h>.
13994 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
13996         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
13997         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
13999 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
14001         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
14002         Remove $(objpfx)init-arch.o.
14003         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
14004         init-arch.
14005         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
14006         (INIT_ARCH_EXT): Defined as empty.
14007         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
14008         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
14009         __init_cpu_features call.  Replace HAS_XXX with
14010         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
14011         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
14012         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
14013         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
14014         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
14015         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
14016         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
14017         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
14018         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
14019         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
14020         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
14021         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
14022         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
14023         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
14024         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
14025         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
14026         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
14027         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
14028         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
14029         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
14030         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
14031         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
14032         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
14033         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
14034         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
14035         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
14036         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
14037         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
14038         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
14039         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
14040         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
14041         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
14042         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
14043         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
14044         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
14045         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
14047 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
14049         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
14050         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
14051         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
14052         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
14053         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
14054         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
14055         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
14056         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
14057         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
14058         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
14059         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
14060         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
14061         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
14062         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
14063         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
14064         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
14065         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
14066         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
14067         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
14068         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
14069         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
14070         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
14071         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
14072         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
14073         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
14074         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
14075         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14076         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
14077         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
14078         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14079         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
14080         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
14081         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
14082         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14083         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
14084         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
14085         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
14086         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
14087         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
14088         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
14089         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
14090         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
14091         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
14093 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
14095         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
14096         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
14097         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
14098         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
14099         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
14100         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
14101         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
14102         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
14103         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
14104         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
14105         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
14106         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
14107         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
14108         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
14109         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
14110         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
14111         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
14112         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
14113         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
14114         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
14115         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
14116         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
14117         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
14118         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
14119         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14120         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
14121         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
14122         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
14123         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
14124         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
14125         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
14126         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
14127         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
14128         * sysdeps/x86_64/multiarch/memset.S: Likewise.
14129         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14130         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
14131         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
14132         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
14133         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
14134         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
14135         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
14136         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
14137         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
14139 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
14141         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
14142         (dl_platform_init): Call init_cpu_features.
14143         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
14144         * sysdeps/i386/i686/cacheinfo.c
14145         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
14146         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
14147         * sysdeps/i386/i686/multiarch/Versions: Removed.
14148         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
14149         Removed.
14150         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
14151         * sysdeps/unix/sysv/linux/x86/Makefile
14152         (libpthread-sysdep_routines): Remove init-arch.
14153         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
14154         <sysdeps/x86_64/dl-procinfo.c> instead of
14155         sysdeps/generic/dl-procinfo.c>.
14156         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
14157         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
14158         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
14159         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
14160         [$(subdir) == elf] (tests-static): Add
14161         tst-get-cpu-features-static.
14162         * sysdeps/x86/Versions: New file.
14163         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
14164         * sysdeps/x86/cpu-features.c: Likewise.
14165         * sysdeps/x86/cpu-features.h: Likewise.
14166         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
14167         * sysdeps/x86/libc-start.c: Likewise.
14168         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
14169         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
14170         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
14171         * sysdeps/x86_64/dl-procinfo.c: Likewise.
14172         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
14173         Assume USE_MULTIARCH is defined and don't check it.
14174         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
14175         (is_amd): Likewise.
14176         (max_cpuid): Likewise.
14177         (intel_check_word): Likewise.
14178         (__cache_sysconf): Don't call __init_cpu_features.
14179         (__x86_preferred_memory_instruction): Removed.
14180         (init_cacheinfo): Don't call __init_cpu_features. Replace
14181         __cpu_features with GLRO(dl_x86_cpu_features).
14182         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
14183         (dl_platform_init): Call init_cpu_features.
14184         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
14185         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
14186         * sysdeps/x86_64/multiarch/Versions: Removed.
14187         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
14188         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
14189         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
14190         Removed.
14191         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
14193 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
14195         [BZ #18820]
14196         * libio/Makefile (test-fmemopen-mem): New test.
14197         * libio/test-fmemopen.c (do_bz18820): New test.
14198         * libio/fmemopen.c (__fmemopen): Fix memory leak.
14199         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
14201 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
14203         [BZ #16734]
14204         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
14205         (FREE_BUF): Delete.
14206         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
14207         * libio/genops.c (_IO_setb): Use malloc and free directly.
14208         (_IO_default_doallocate, _IO_default_finish): Likewise.
14209         ( _IO_unbuffer_all): Likewise.
14210         ( libc_freeres_fn): Likewise.
14211         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
14212         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
14213         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
14214         (_IO_wdefault_doallocate): Likewise.
14216 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
14218         [BZ #18086]
14219         * sysdeps/posix/nice.c (nice): Restore old errno.
14220         * posix/tst-nice.c (do_test): Add test for BZ #18086.
14222 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
14224         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
14226 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14228         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
14229         __bcopy and add a weak_alias to bcopy.
14230         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
14231         for static build.
14233         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
14234         cleanup macro usage.
14235         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
14236         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
14237         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
14238         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
14239         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
14240         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
14241         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
14242         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
14243         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
14244         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
14245         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
14246         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
14247         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
14248         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
14249         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
14250         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
14251         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
14252         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
14253         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
14255         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
14256         libc_hidden_def.
14257         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
14259         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
14260         (sysdep_routines): Add strstr-ppc64.
14261         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
14263 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
14265         [BZ #18778]
14266         * elf/Makefile (tests): Add Add tst-nodelete2.
14267         (modules-names): Add tst-nodelete2mod.
14268         (tst-nodelete2mod.so-no-z-defs): New.
14269         ($(objpfx)tst-nodelete2): Likewise.
14270         ($(objpfx)tst-nodelete2.out): Likewise.
14271         (LDFLAGS-tst-nodelete2): Likewise.
14272         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
14273         out of loop through all loaded libraries.
14274         * elf/tst-nodelete2.c: New file.
14275         * elf/tst-nodelete2mod.c: Likewise.
14276         * elf/tst-znodelete-zlib.cc: Delete.
14278 2015-08-11  Andreas Schwab  <schwab@suse.de>
14280         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
14281         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
14282         (__openat64_nocancel): Likewise.
14284 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
14286         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
14287         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
14288         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
14289         * math/auto-libm-test-out: Regenerated.
14290         * sysdeps/i386/fpu/libm-test-ulps: Update.
14291         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14293 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
14295         [BZ #18790]
14296         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
14297         threshold for returning +/- 1.
14298         * math/auto-libm-test-in: Add more tests of tanh.
14299         * math/auto-libm-test-out: Regenerated.
14300         * sysdeps/i386/fpu/libm-test-ulps: Update.
14302 2015-08-10  Andreas Schwab  <schwab@suse.de>
14304         [BZ #18781]
14305         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
14306         MORE_OFLAGS to oflag.
14307         * io/test-lfs.c (do_test): Test openat64.
14309 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
14311         [BZ #18789]
14312         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
14313         smaller threshold for returning the argument.
14314         * math/auto-libm-test-in: Add more tests of sinh.
14315         * math/auto-libm-test-out: Regenerated.
14316         * sysdeps/i386/fpu/libm-test-ulps: Update.
14318 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
14320         [BZ #18674]
14321         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
14322         break.
14324 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
14326         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
14327         (generated): Don't add $(addprefix z.,$(tzfiles)).
14329 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
14331         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
14332         * scripts/sysd-rules.awk: Likewise.
14334 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
14336         * iconvdata/tst-tables.sh: Change echo -n to printf.
14337         * nss/db-Makefile: Likewise.
14338         * posix/tst-getconf.sh: Likewise.
14339         * stdio-common/tst-unbputc.sh: Likewise.
14341 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
14343         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
14344         MADV_*_PAGES defines behind this feature check.
14346 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
14348         [BZ #18480]
14349         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
14350         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
14351         Define.
14352         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
14353         LOAD_REGS_5, LOAD_REGS_6): Update.
14354         (INTERNAL_SYSCALL): Update using new LOAD defines.
14355         (INTERNAL_SYSCALL_NCS): Likewise.
14356         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
14358 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
14360         [BZ #16734]
14361         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
14363 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
14365         [BZ #17905]
14366         * catgets/Makefile (tst-catgets-mem): New test.
14367         * catgets/catgets.c (catopen): Don't use unbounded alloca.
14368         * catgets/open_catalog.c (__open_catalog): Likewise.
14369         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
14371 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
14373         [BZ #18787]
14374         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
14375         clobber registers.
14376         (atomic_compare_and_exchange_val_acq): Use register asms to assign
14377         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
14378         Cast return to __typeof (oldval).
14380 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
14382         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
14383         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
14384         and delete sys/syscall.h include.
14386 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
14388         [BZ #16517]
14389         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
14390         (tan): Force underflow exception for arguments with small absolute
14391         value.
14392         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
14393         (__kernel_tanf): Force underflow exception for arguments with
14394         small absolute value.
14395         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
14396         (__kernel_tanl): Force underflow exception for arguments with
14397         small absolute value.
14398         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
14399         (__kernel_tanl): Force underflow exception for arguments with
14400         small absolute value.
14401         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
14402         (__kernel_tanl): Force underflow exception for arguments with
14403         small absolute value.
14404         * math/auto-libm-test-in: Add more tests of tan.
14405         * math/auto-libm-test-out: Regenerated.
14407 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14409         Fix sysdeps/i386/fpu/s_scalbn.S build
14411         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
14413 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
14415         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
14417 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14419         Fix gcrt0.o compilation
14421         When static-start-installed-name is different from
14422         start-installed-name, we must not use the shared objects.
14424         * csu/Makefile
14425         (extra-objs): Add gmon-start.o when building shared library and
14426         $(static-start-installed-name) is different from
14427         $(start-installed-name).
14428         $(objpfx)g$(static-start-installed-name): When building shared
14429         library and $(static-start-installed-name) is different from
14430         $(static-start-installed-name), revert to non-shared rule,
14431         i.e. using $(objpfx)% and gmon-start.o.
14433 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
14435         [BZ #16519]
14436         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
14437         (__ieee754_sinh): Force underflow exception for arguments with
14438         small absolute value.
14439         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
14440         (__ieee754_sinhf): Force underflow exception for arguments with
14441         small absolute value.
14442         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
14443         (__ieee754_sinhl): Force underflow exception for arguments with
14444         small absolute value.
14445         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
14446         (__ieee754_sinhl): Force underflow exception for arguments with
14447         small absolute value.
14448         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
14449         (__ieee754_sinhl): Force underflow exception for arguments with
14450         small absolute value.
14451         * math/auto-libm-test-in: Add more tests of sinh.
14452         * math/auto-libm-test-out: Regenerated.
14453         * sysdeps/i386/fpu/libm-test-ulps: Update.
14455 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
14457         * libio/oldfileops.c: Include unistd.h.
14459 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
14461         * stdlib/isomac.c: Include ctype.h.
14463 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
14465         * dirent/tst-seekdir.c (main): Converted to ...
14466         (do_test): ... this.
14467         (TEST_FUNCTION): New macro.
14468         Include test-skeleton.c.
14469         * elf/tst-dlmodcount.c (main): Converted to ...
14470         (do_test): ... this.
14471         (TEST_FUNCTION): New macro.
14472         Include test-skeleton.c.
14473         * elf/tst-order-main.c (main): Converted to ...
14474         (do_test): ... this.
14475         (TEST_FUNCTION): New macro.
14476         Include test-skeleton.c.
14477         * elf/tst-pie2.c (main): Converted to ...
14478         (do_test): ... this.
14479         (TEST_FUNCTION): New macro.
14480         Include test-skeleton.c.
14481         * inet/tst-ether_aton.c (main): Converted to ...
14482         (do_test): ... this.
14483         (TEST_FUNCTION): New macro.
14484         Include test-skeleton.c.
14485         * misc/tst-mntent.c (main): Converted to ...
14486         (do_test): ... this.
14487         (TEST_FUNCTION): New macro.
14488         Include test-skeleton.c.
14489         * misc/tst-tsearch.c (main): Converted to ...
14490         (do_test): ... this.
14491         (TEST_FUNCTION): New macro.
14492         Include test-skeleton.c.
14493         * posix/tst-regexloc.c (main): Converted to ...
14494         (do_test): ... this.
14495         (TEST_FUNCTION): New macro.
14496         Include test-skeleton.c.
14497         * resolv/tst-aton.c (main): Converted to ...
14498         (do_test): ... this.
14499         (TEST_FUNCTION): New macro.
14500         Include test-skeleton.c.
14501         * stdio-common/test-fwrite.c (main): Converted to ...
14502         (do_test): ... this.
14503         (TEST_FUNCTION): New macro.
14504         Include test-skeleton.c.
14505         * stdio-common/tst-ferror.c (main): Converted to ...
14506         (do_test): ... this.
14507         (TEST_FUNCTION): New macro.
14508         Include test-skeleton.c.
14509         * stdio-common/tst-printf.c (main): Converted to ...
14510         (do_test): ... this.
14511         (TEST_FUNCTION): New macro.
14512         Include test-skeleton.c.
14513         * stdio-common/tst-printfsz.c (main): Converted to ...
14514         (do_test): ... this.
14515         (TEST_FUNCTION): New macro.
14516         Include test-skeleton.c.
14517         * stdlib/tst-strtod.c (main): Converted to ...
14518         (do_test): ... this.
14519         (TEST_FUNCTION): New macro.
14520         Include test-skeleton.c.
14521         * string/tst-strlen.c (main): Converted to ...
14522         (do_test): ... this.
14523         (TEST_FUNCTION): New macro.
14524         Include test-skeleton.c.
14525         * string/tst-svc.c (main): Converted to ...
14526         (do_test): ... this.
14527         (TEST_FUNCTION): New macro.
14528         Include test-skeleton.c.
14529         * time/tst-strptime.c (main): Converted to ...
14530         (do_test): ... this.
14531         (TEST_FUNCTION): New macro.
14532         Include test-skeleton.c.
14533         * timezone/tst-timezone.c (main): Converted to ...
14534         (do_test): ... this.
14535         (TEST_FUNCTION): New macro.
14536         Include test-skeleton.c.
14538 2015-08-05  Zack Weinberg  <zackw@panix.com>
14540         * misc/regexp.h: Update comments.
14542 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
14544         [BZ #18635]
14545         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
14546         before return label.
14548 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
14550         [BZ #18661]
14551         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
14552         when calling __errno_location.
14553         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
14554         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
14556 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
14558         [BZ #18661]
14559         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
14560         (__lll_timedwait_tid): Align stack to 16 bytes when calling
14561         __gettimeofday.
14563 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
14565         [BZ #18661]
14566         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
14567         (__start_context): Don't use pop to restore %rdi so that stack
14568         is aligned to 16 bytes when calling __setcontext.
14570 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
14572         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
14573         only for libc.
14574         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
14576 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
14578         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
14579         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
14580         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
14582 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
14584         * string/memccpy.c (memccpy):
14585         Improve performance by using memchr/memcpy/__mempcpy.
14587 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
14589         * string/strncpy.c (strncpy):
14590         Improve performance by using __strnlen/memcpy.
14592 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
14594         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
14595         Optimize to avoid an unnecessary FPCR read.
14597 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
14599         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
14600         Optimize to reduce FPCR/FPSR accesses.
14602 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
14604         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
14605         dead->data[category] != NULL.
14607 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
14609         [BZ #18647]
14610         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
14611         and |x| close to 1, use absolute value of x when computing log.
14612         * math/auto-libm-test-in: Add more tests of pow.
14613         * math/auto-libm-test-out: Regenerated.
14615 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14617         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
14618         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
14619         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
14621 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
14623         [BZ #18525]
14624         * locales/km_KH: Remove timezone definition.
14625         * locales/lo_LA: Likewise.
14626         * locales/my_MM: Likewise.
14627         * locales/nan_TW@latin: Likewise.
14628         * locales/th_TH: Likewise.
14629         * locales/uk_UA: Likewise.
14631 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
14633         [BZ #18265]
14634         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
14635         (wcsncat): Likewise.
14636         (wcscmp): Likewise.
14637         (wcsncmp): Likewise.
14639 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
14641         * test-skeleton.c (usage): New function.
14642         (main): Call usage when opt is '?'.
14644 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
14646         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
14647         before first use.
14649 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
14651         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
14652         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
14653         in there too.
14655 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
14657         * version.h (RELEASE): Set to "development".
14658         (VERSION): Set to "2.22.90"
14660         * version.h (RELEASE): Set to "stable".
14661         (VERSION): Set to "2.22"
14662         * include/features.h (__GLIBC_MINOR__): Set to 22.
14664 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
14666         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
14667         Restructure macro to avoid "value computed is not used" warning.
14668         (atomic_compare_and_exchange_val_acq): Likewise.
14670 2015-08-04  Andreas Schwab  <schwab@suse.de>
14672         [BZ #18635]
14673         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
14674         ret.
14675         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
14677 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
14679         * po/pl.po: Updated translation.
14680         * po/uk.po: Likewise.
14681         * po/fi.po: Likewise.
14682         * po/ko.po: Likewise.
14683         * po/ru.po: Likewise.
14684         * po/vi.po: Likewise.
14686 2015-07-31  Zack Weinberg  <zackw@panix.com>
14688         [BZ #18681]
14689         * regexp.h: Add unconditional #warning stating that this header
14690         will be removed soon.  Revise banner comment to match.
14691         (compile): Consistently use ERROR instead of RETURN to report
14692         errors (partial fix for bz#18681).
14693         * regexp.c: Don't include regexp.h. Remove some unnecessary
14694         declarations.
14696 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
14698         * po/libc.pot: Regenerated.
14700 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
14702         [BZ #18740]
14703         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
14704         float-vlen4-arch-ext-cflags): Removed.
14705         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
14706         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
14708 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
14710         [BZ #14113]
14711         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
14712         aligned to __aligned__.
14713         (pthread_cond_t, pthread_rwlock_t): Likewise.
14715 2015-07-30  Torvald Riegel  <triegel@redhat.com>
14717         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
14719 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
14721         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
14722         (struct sigaction): Change sa_flags from a long to an int, and add
14723         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
14725 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
14727         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
14728         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
14729         sysdeps/generic/sysdep.h include.
14730         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
14731         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
14732         sysdeps/hppa/sysdep.h.
14733         (ENTRY, PSEUDO): Undefine before defining.
14735 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
14737         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
14738         from scratch to use INTERNAL_SYSCALL.
14740 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
14742         [BZ #18078]
14743         * scripts/check-localplt.awk: Support alternate relocations.
14744         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
14745         sections.
14746         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
14747         malloc entries with + REL R_386_GLOB_DAT.
14748         * sysdeps/x86_64/localplt.data: New file.
14750 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
14752         [BZ #18731]
14753         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
14754         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
14755         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
14757 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
14759         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
14761 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
14763         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
14764         directly in terms of __sync_fetch_and_add and delete (int) cast.
14766 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
14768         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
14769         the -D_ASM_IA64_CURRENT_H flag.
14771 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
14773         [BZ #18641]
14774         * pwd/pwd.h (putpwent): Delete __nonnull markings.
14776 2015-07-27  Andreas Schwab  <schwab@suse.de>
14778         * conform/conformtest.pl (checknamespace): Filter out string
14779         literals while tokenizing.
14781 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
14783         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
14784         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
14785         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
14787 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
14789         * nptl/tst-join7mod.c: Add #include <string.h>.
14791 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
14793         * sysdeps/nios2/libm-test-ulps: Update.
14795 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
14797         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
14798         Fix order of arguments to the rt_sigprocmask syscall.
14799         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
14800         Likewise.
14802 2015-07-24  Roland McGrath  <roland@hack.frob.com>
14804         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
14806 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14808         [BZ #18457]
14809         * nptl/Makefile (tests): New test case tst-join7.
14810         (modules-names): New test case module tst-join7mod.
14811         * nptl/tst-join7.c: New file.
14812         * nptl/tst-join7mod.c: New file.
14813         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
14814         all translation units in libc.so, libpthread.so and rtld.
14816 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14818         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14820 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
14822         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
14823         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
14824         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
14825         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
14826         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
14827         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
14828         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
14829         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
14830         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
14831         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
14832         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
14833         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
14834         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
14835         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
14836         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
14837         implementation.
14839 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14841         [BZ #17711]
14842         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
14843         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
14844         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
14845         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
14846         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
14847         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
14849 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14851         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
14852         instead of just saying load lock in the comments.
14854 2015-07-23  Roland McGrath  <roland@hack.frob.com>
14856         * sysdeps/unix/Subdirs: Moved ...
14857         * sysdeps/posix/Subdirs: ... here.
14858         * login/pty.h (struct termios, struct winsize): Add forward decls.
14859         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
14860         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
14861         * sysdeps/arm/nacl/libc.abilist: Updated.
14862         * sysdeps/nacl/libutil.abilist: New file.
14864         * bits/signum.h: Update comments to mention 1003.1-2013 too.
14865         (SIGWINCH): New macro.
14867         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
14868         * sysdeps/arm/nacl/libc.abilist: Add it.
14870 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
14872         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
14874 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
14876         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
14877         Swap __glibc_reserved0 and sa_flags order.
14879 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
14881         [BZ #18657]
14882         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
14883         are pending TLS destructor calls.
14884         * include/link.h (struct link_map): Add concurrency note for
14885         L_TLS_DTOR_COUNT.
14886         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
14887         Don't touch the link map flag.  Atomically increment
14888         l_tls_dtor_count.
14889         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
14890         Avoid taking the load lock and don't touch the link map flag.
14891         * stdlib/tst-tls-atexit-nodelete.c: New test case.
14892         * stdlib/Makefile (tests): Use it.
14893         * stdlib/tst-tls-atexit.c (do_test): dlopen
14894         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
14895         to allow tst-tls-atexit-nodelete test case to use it.
14897 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
14899         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
14900         to bits/types.h.
14901         (msgqnum_t): New typedef.
14902         (msglen_t): Likewise.
14903         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
14904         and msg_qbytes type to msglen_t.
14906 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
14908         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
14909         pad0 to __glibc_reserved0.
14910         (struct stat64): Likewise.
14912 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
14914         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
14915         Change sa_flags from a long to an int and add __glibc_reserved0 before
14916         it for padding.
14918 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
14920         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
14921         anonymous by deleting "siginfo" name.
14923 2015-07-21  Roland McGrath  <roland@hack.frob.com>
14925         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
14926         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
14927         rather than __nacl_irt_filename.
14928         * sysdeps/nacl/xstat.c (__xstat): Likewise.
14930         * NEWS: New item for arm-nacl port.
14931         * sysdeps/arm/nacl/libc.abilist: New file.
14932         * sysdeps/nacl/ld.abilist: New file.
14933         * sysdeps/nacl/libBrokenLocale.abilist: New file.
14934         * sysdeps/nacl/libanl.abilist: New file.
14935         * sysdeps/nacl/libcrypt.abilist: New file.
14936         * sysdeps/nacl/libdl.abilist: New file.
14937         * sysdeps/nacl/libm.abilist: New file.
14938         * sysdeps/nacl/libpthread.abilist: New file.
14939         * sysdeps/nacl/libresolv.abilist: New file.
14940         * sysdeps/nacl/librt.abilist: New file.
14942 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
14944         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
14945         __startcontext to initialize the new context.
14946         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
14947         up CFI directive to forbid further backtracing.
14949 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
14951         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
14952         reference.
14953         * charmaps/ANSI_X3.4-1968: Likewise.
14954         * charmaps/BS_4730: Likewise.
14955         * charmaps/BS_VIEWDATA: Likewise.
14956         * charmaps/CP1250: Likewise.
14957         * charmaps/CP1251: Likewise.
14958         * charmaps/CP1252: Likewise.
14959         * charmaps/CP1253: Likewise.
14960         * charmaps/CP1254: Likewise.
14961         * charmaps/CP1255: Likewise.
14962         * charmaps/CP1256: Likewise.
14963         * charmaps/CSN_369103: Likewise.
14964         * charmaps/EBCDIC-DK-NO: Likewise.
14965         * charmaps/GB_1988-80: Likewise.
14966         * charmaps/GREEK-CCITT: Likewise.
14967         * charmaps/GREEK7: Likewise.
14968         * charmaps/INIS-8: Likewise.
14969         * charmaps/ISIRI-3342: Likewise.
14970         * charmaps/ISO_2033-1983: Likewise.
14971         * charmaps/ISO_5427-EXT: Likewise.
14972         * locales/POSIX: Likewise.
14973         * locales/ar_SA: Likewise.
14974         * locales/be_BY: Likewise.
14975         * locales/be_BY@latin: Likewise.
14976         * locales/ca_ES: Likewise.
14977         * locales/cs_CZ: Likewise.
14978         * locales/da_DK: Likewise.
14979         * locales/de_BE: Likewise.
14980         * locales/de_CH: Likewise.
14981         * locales/de_LU: Likewise.
14982         * locales/en_AU: Likewise.
14983         * locales/en_BW: Likewise.
14984         * locales/en_CA: Likewise.
14985         * locales/en_DK: Likewise.
14986         * locales/en_GB: Likewise.
14987         * locales/en_IE: Likewise.
14988         * locales/en_NZ: Likewise.
14989         * locales/en_ZA: Likewise.
14990         * locales/en_ZW: Likewise.
14991         * locales/es_AR: Likewise.
14992         * locales/es_BO: Likewise.
14993         * locales/es_CL: Likewise.
14994         * locales/es_CO: Likewise.
14995         * locales/es_DO: Likewise.
14996         * locales/es_EC: Likewise.
14997         * locales/es_ES: Likewise.
14998         * locales/es_HN: Likewise.
14999         * locales/es_MX: Likewise.
15000         * locales/es_PA: Likewise.
15001         * locales/es_PE: Likewise.
15002         * locales/es_PY: Likewise.
15003         * locales/es_SV: Likewise.
15004         * locales/es_US: Likewise.
15005         * locales/es_UY: Likewise.
15006         * locales/es_VE: Likewise.
15007         * locales/et_EE: Likewise.
15008         * locales/fa_IR: Likewise.
15009         * locales/fo_FO: Likewise.
15010         * locales/fr_CA: Likewise.
15011         * locales/fr_CH: Likewise.
15012         * locales/gv_GB: Likewise.
15013         * locales/he_IL: Likewise.
15014         * locales/hr_HR: Likewise.
15015         * locales/id_ID: Likewise.
15016         * locales/is_IS: Likewise.
15017         * locales/it_CH: Likewise.
15018         * locales/iw_IL: Likewise.
15019         * locales/kl_GL: Likewise.
15020         * locales/ko_KR: Likewise.
15021         * locales/kw_GB: Likewise.
15022         * locales/lg_UG: Likewise.
15023         * locales/lt_LT: Likewise.
15024         * locales/lv_LV: Likewise.
15025         * locales/mi_NZ: Likewise.
15026         * locales/nhn_MX: Likewise.
15027         * locales/nl_BE: Likewise.
15028         * locales/pl_PL: Likewise.
15029         * locales/sk_SK: Likewise.
15030         * locales/sl_SI: Likewise.
15031         * locales/sv_FI: Likewise.
15032         * locales/tl_PH: Likewise.
15033         * locales/tr_TR: Likewise.
15034         * locales/vi_VN: Likewise.
15036 2015-07-21  Khem Raj  <raj.khem@gmail.com>
15038         [BZ #17475]
15039         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
15040         of tu_IN and bh_IN.
15042 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
15044         [BZ #18694]
15045         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
15046         bits/wordsize.h.
15047         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
15049 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
15051         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
15052         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
15053         (spawn_thread): New function.
15054         (load): Rename to reg_dtor_and_close.  Move dlopen to...
15055         (do_test): ... here.  Use IS_LOADED to test for its
15056         availability.
15058 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
15060         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
15062 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
15064         [BZ #18696]
15065         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
15066         si_addr_bnd.
15067         (si_lower): New.
15068         (si_upper): Likewise.
15070 2015-07-16  David S. Miller  <davem@davemloft.net>
15072         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
15074 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15076         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
15077         buffer.
15078         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
15079         fail output information.
15081 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15083         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
15084         and strstr-ppc64..
15085         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
15086         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
15087         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
15088         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
15089         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
15091 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
15093         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
15094         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
15095         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
15096         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
15098 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
15100         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
15101         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
15102         rtld_hidden_proto.
15103         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
15105 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
15107         * tst-nodelete-opened.c (do_test): Add comment to clarify how
15108         the test can fail.
15110         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
15112         [BZ #18676]
15113         * elf/tst-nodelete-opened.c: New test case.
15114         * elf/tst-nodelete-opened-lib.c: New test case module.
15115         * elf/Makefile (tests, modules-names): Use them.
15116         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
15117         early.
15119 2015-07-15  David S. Miller  <davem@davemloft.net>
15121         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
15122         futex-intenal.h
15123         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
15124         * sysdeps/sparc/sparc64/Makefile: Likewise.
15125         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
15126         Remove space from macro define.
15127         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
15129 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
15131         [BZ #17475]
15132         * locale/iso-639.def: Update Bhili and Tulu language codes as
15133         per iso639-3.
15135 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
15137         * elf/tst-leaks1.c (main): Converted to ...
15138         (do_test): ... this.
15139         (TEST_FUNCTION): New macro.
15140         Include test-skeleton.c.
15141         * localedata/tst-langinfo.c (main): Converted to ...
15142         (do_test): ... this.
15143         (TEST_FUNCTION): New macro.
15144         Include test-skeleton.c.
15145         * math/test-fpucw.c (main): Converted to ...
15146         (do_test): ... this.
15147         (TEST_FUNCTION): New macro.
15148         Include test-skeleton.c.
15149         * math/test-tgmath.c (main): Converted to ...
15150         (do_test): ... this.
15151         (TEST_FUNCTION): New macro.
15152         Include test-skeleton.c.
15153         * math/test-tgmath2.c (main): Converted to ...
15154         (do_test): ... this.
15155         (TEST_FUNCTION): New macro.
15156         Include test-skeleton.c.
15157         * setjmp/tst-setjmp.c (main): Converted to ...
15158         (do_test): ... this.
15159         (TEST_FUNCTION): New macro.
15160         Include test-skeleton.c.
15161         * stdio-common/tst-sscanf.c (main): Converted to ...
15162         (do_test): ... this.
15163         (TEST_FUNCTION): New macro.
15164         Include test-skeleton.c.
15165         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
15166         (do_test): ... this.
15167         (TEST_FUNCTION): New macro.
15168         Include test-skeleton.c.
15170         * elf/tst-audit9.c (main): Converted to ...
15171         (do_test): ... this.
15172         (TEST_FUNCTION): New macro.
15173         Include test-skeleton.c.
15175 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
15177         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
15179 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
15181         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
15182         New variable.
15184 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
15186         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15188 2015-07-14  Roland McGrath  <roland@hack.frob.com>
15190         * sysdeps/generic/dl-fileid.h: New file.
15191         * sysdeps/posix/dl-fileid.h: New file.
15192         * sysdeps/nacl/dl-fileid.h: New file.
15193         * include/link.h: Include <dl-fileid.h>.
15194         (struct link_map): Replace l_dev and l_ino with l_file_id.
15195         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
15196         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
15197         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
15199 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
15201         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
15203 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15205         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
15206         Add iff $CXX is set.
15207         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
15208         Likewise.
15209         (tst-nodelete-zmodiff): Likewise.
15210         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
15212 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
15214         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
15216 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
15218         * sysdeps/aarch64/fpu/math_private.h
15219         (define math_opt_barrier): Add AArch64 version.
15220         (math_force_eval): Likewise.
15222 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
15224         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
15226 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
15228         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
15229         %ld with %jd and cast to intmax_t.
15230         (do_test_length_zero): Likewise.
15232 2015-07-10  Roland McGrath  <roland@hack.frob.com>
15234         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
15236 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
15238         * sysdeps/tile/libm-test-ulps: Regenerated.
15240         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
15241         Comment out the whole function, not just its body.
15243 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
15245         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
15246         locks.
15248         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
15250 2015-07-10  Torvald Riegel  <triegel@redhat.com>
15252         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
15253         (sem_assume_only_signals_cause_futex_EINTR): Remove.
15255 2015-07-10  Torvald Riegel  <triegel@redhat.com>
15257         * sysdeps/nptl/futex-internal.h: New file.
15258         * sysdeps/nacl/futex-internal.h: New file.
15259         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
15260         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
15261         error checking.
15262         (setxid_unmark_thread): Likewise.
15263         (__nptl_setxid): Likewise.
15264         (__wait_lookup_done): Likewise.
15265         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
15266         * nptl/nptl-init.c (sighandler_setxid): Likewise.
15267         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
15268         * nptl/pthread_once.c (clear_once_control): Likewise.
15269         (__pthread_once_slow): Likewise.
15270         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
15271         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
15272         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
15273         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
15274         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
15275         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
15276         Likewise.
15277         (__pthread_rwlock_rdlock): Likewise.
15278         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
15279         Likewise.
15280         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
15281         Likewise.
15282         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
15283         Likewise.
15284         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
15285         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
15286         Likewise.
15287         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
15288         __ASSUME_PRIVATE_FUTEX check.
15289         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
15290         Check that shared futexes are supported.
15291         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
15292         wrappers with error checking.
15293         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
15294         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
15295         * nptl/pthread_barrierattr_setpshared.c
15296         (pthread_barrierattr_setpshared): Check that shared futexes are
15297         supported.
15298         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
15299         Likewise.
15300         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
15301         Likewise.
15302         * nptl/sem_init.c (futex_private_if_supported): Remove.
15303         (__new_sem_init): Adapt and check that shared futexes are supported.
15304         * nptl/sem_open.c (sem_open): Likewise.
15305         * nptl/sem_post.c (futex_wake): Remove.
15306         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
15307         (do_futex_wait): Use futex wrappers with error checking.
15308         * nptl/sem_wait.c: Include lowlevellock.h.
15309         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
15310         Use futex_supports_pshared.
15311         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
15312         Use futex wrappers with error checking.
15313         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
15314         Likewise.
15315         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
15316         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
15317         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
15318         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
15319         (futex_wake): Likewise.
15320         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
15321         (do_futex_wait): Use futex wrappers with error checking.
15322         (__new_sem_wait_slow): Update EINTR handling.
15323         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
15325 2015-07-09  Martin Sebor  <msebor@redhat.com>
15327         [BZ #18435]
15328         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
15329         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
15330         * nptl/Makefile (test-xfail-tst-once5): Define.
15332 2015-07-09  Roland McGrath  <roland@hack.frob.com>
15334         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
15335         * elf/dl-minimal.c: For readability, reorder some definitions and
15336         introduce more page breaks.  Include <stdio.h>.
15337         (__libc_fatal): New function.
15339         * include/unistd.h: Add rtld_hidden_proto for _exit.
15340         * posix/_exit.c: Add rtld_hidden_def.
15341         * sysdeps/mach/hurd/_exit.c: Likewise.
15342         * sysdeps/nacl/_exit.c: Likewise.
15343         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
15344         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
15346 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
15348         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
15349         bndmov encoding with zero displacement.
15351 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
15352             H.J. Lu  <hongjiu.lu@intel.com>
15354         [BZ #18134]
15355         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
15356         * sysdeps/i386/configure: Regenerated.
15357         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
15358         (_dl_runtime_profile): Save and restore Intel MPX return bound
15359         registers when calling _dl_call_pltexit.  Add
15360         PRESERVE_BND_REGS_PREFIX before return.
15361         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
15362         (LRV_BND1_OFFSET): Likewise.
15363         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
15364         lrv_bnd1.
15365         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
15366         typo in bndmov encoding.
15367         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
15368         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
15369         branch instructions to preserve bounds.
15371 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
15374         [GLIBC_2.22]: Add fmemopen.
15376 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15378         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
15379         returns an error, also try to use host port from __mach_host_self for
15380         the __vm_wire call.
15381         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
15383 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15385         [BZ #18400]
15386         [BZ #18648]
15387         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
15388         Fix pr_uid and pr_gid members.
15389         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
15390         definition to elf_greg_t.
15392 2015-07-08  Roland McGrath  <roland@hack.frob.com>
15394         [BZ #18383]
15395         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
15396         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
15397         * sysdeps/arm/configure: Regenerated.
15398         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
15399         (test-xfail-tst-tlsalign-static): Variable removed.
15401         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
15402         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
15403         rather than explicit 'ln -s'.
15405         * resolv/rpc/netdb.h: New file.
15406         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
15408 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15410         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
15411         length buffers.
15412         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
15413         test-skeleton.c.
15415         [BZ #6544]
15416         [BZ #11216]
15417         [BZ #12836]
15418         [BZ #13151]
15419         [BZ #13152]
15420         [BZ #14292]
15421         * include/stdio.h (fmemopen): Remove hidden prototype.
15422         (__fmemopen): Add new hidden prototype.
15423         * libio/Makefile: Add oldfmemopen object.
15424         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
15425         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
15426         compliance.
15427         * libio/oldfmemopen.c: New file: old fmemopen implementation for
15428         symbol compatibility.
15429         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
15430         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
15431         fmemopen.
15432         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
15433         on append and read mode.
15434         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
15435         fmemopen.
15436         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
15437         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
15438         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
15439         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
15440         Likewise.
15441         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
15442         [GLIBC_2.22]: Likewise.
15443         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
15444         Likewise.
15445         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
15446         Likewise.
15447         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
15448         [GLIBC_2.22]: Likewise.
15449         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
15450         [GLIBC_2.22]: Likewise.
15451         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
15452         [GLIBC_2.22]: Likewise.
15453         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
15454         [GLIBC_2.22]: Likewise.
15455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
15456         [GLIBC_2.22]: Likewise.
15457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
15458         [GLIBC_2.22]: Likewise.
15459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
15460         [GLIBC_2.22]: Likewise.
15461         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
15462         Likewise.
15463         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
15464         Likewise.
15465         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
15466         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
15467         [GLIBC_2.22]: Likewise.
15468         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
15469         [GLIBC_2.22]: Likewise.
15470         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
15471         [GLIBC_2.22]: Likewise.
15472         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
15473         [GLIBC_2.22]: Likewise.
15474         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
15475         Likewise.
15476         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
15477         Likewise.
15478         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
15479         Likewise.
15480         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
15481         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
15483 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
15485         [BZ #18643]
15486         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
15487         IPV6_PATHMTU, and IPV6_DONTFRAG.
15489 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
15491         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
15492         and _IO_UNBUFFERED.
15493         * libio/oldfileops.c: Likewise.
15494         * libio/wfileops.c: Likewise.
15496 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
15498         * nscd/selinux.c: Delete selinux/flask.h include.
15500 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
15502         [BZ #18641]
15503         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
15504         (putpwent): Likewise.
15505         (getpwnam): Likewise.
15506         (getpwent_r): Likewise.
15507         (getpwuid_r): Likewise.
15508         (getpwnam_r): Likewise.
15509         (fgetpwent_r): Likewise.
15511 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
15513         [BZ #18557]
15514         * inet/rcmd.c (__validuser2_sa): Check user first to
15515         short-circuit host check.
15517 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
15518             Mikhail Ilin  <m.ilin@samsung.com>
15520         [BZ #17833]
15521         * elf/Makefile (tests): Add tst-nodelete.
15522         (modules-names): Add tst-nodelete-uniquemod.
15523         (tst-nodelete-uniquemod.so-no-z-defs): New.
15524         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
15525         (tst-nodelete-zmod.so-no-z-defs): Likewise.
15526         ($(objpfx)tst-nodelete): Likewise.
15527         ($(objpfx)tst-nodelete.out): Likewise.
15528         (LDFLAGS-tst-nodelete): Likewise.
15529         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
15530         * elf/dl-close.c (_dl_close_worker): Add a parameter to
15531         implement forced object deletion.
15532         (_dl_close): Pass false to _dl_close_worker.
15533         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
15534         * elf/tst-nodelete.cc: New file.
15535         * elf/tst-nodeletelib.cc: Likewise.
15536         * elf/tst-znodeletelib.cc: Likewise.
15537         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
15539 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
15541         [BZ #18508]
15542         * stdlib/Makefile ($(objpfx)tst-makecontext3):
15543         Depend on $(libdl).
15544         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
15545         is not called infinitely times.
15546         (backtrace_helper): New function.
15547         (trace_arg): New struct.
15548         (st1): Enlarge stack size.
15549         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
15550         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
15551         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
15552         Likewise.
15554 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
15556         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15558 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
15560         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
15561         Include sys/types.h instead of bits/types.h.
15562         Remove inclusion of bits/wordsize.h.
15564 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
15566         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
15567         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
15568         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
15569         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
15570         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
15571         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
15573 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
15575         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
15576         link-defines.sym.
15577         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
15578         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
15579         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
15580         and LR_SIZE.
15581         * sysdeps/i386/link-defines.sym: New file.
15583 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
15585         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
15586         (modules-names): Add tst-auditmod3a tst-auditmod3b.
15587         ($(objpfx)tst-audit3): New rule.
15588         ($(objpfx)tst-audit3.out): Likewise.
15589         * sysdeps/i386/tst-audit3.c: New file.
15590         * sysdeps/i386/tst-audit3.h: Likewise.
15591         * sysdeps/i386/tst-auditmod3a.c: Likewise.
15592         * sysdeps/i386/tst-auditmod3b.c: Likewise.
15594 2015-07-07  Torvald Riegel  <triegel@redhat.com>
15596         [BZ #18633]
15597         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
15598         pointer in C code.
15599         (__strcat_c): Likewise.
15600         (__strcat_g): Likewise.
15602 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
15604         [BZ #18592]
15605         * misc/sbrk.c: Set errno to ENOMEM on overflow.
15607 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
15609         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
15610         New function.  (__ieee754_sqrtf): New function.
15611         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
15612         New function.
15613         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
15614         New function.
15616 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
15618         * sysdeps/ieee754/support.c: Remove unused file.
15620 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15622         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
15623         registers instead of d ones so the layout is kernel abi compatible.
15624         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
15625         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
15626         Likewise.
15628 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15630         * sysdeps/aarch64/libm-test-ulps: Regenerated.
15632 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
15634         [BZ #18619]
15635         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
15636         and return argument in case of subnormal argument.
15638 2015-07-01  Martin Sebor  <msebor@redhat.com>
15640         [BZ #18435]
15641         * nptl/Makefile: Add tst-once5.cc.
15642         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
15643         Remove macro redefinitions.
15644         * nptl/tst-once5.cc: New test.
15646 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
15648         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
15650         * sysdeps/arm/libm-test-ulps: Regenerated.
15652         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
15653         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15655 2015-06-30  Torvald Riegel  <triegel@redhat.com>
15657         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
15658         lll_lock_wait_private and lll_futex_wake probes.
15660         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
15661         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
15662         Likewise.
15663         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
15664         atomic_spin_nop.
15665         * sysdeps/x86_64/bits/atomic.h: Likewise.
15666         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
15667         to atomic_spin_nop and move ...
15668         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
15669         ... here and ...
15670         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
15671         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
15672         atomic_spin_nop instead of BUSY_WAIT_NOP.
15673         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
15674         Likewise.
15675         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
15676         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
15677         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
15678         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
15679         instead of atomic_delay.
15681 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
15683         [BZ #18613]
15684         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
15685         X_ADJ not X when adjusting exponent.
15686         (__ieee754_gamma_r): Do intermediate computations in
15687         round-to-nearest then adjust overflowing and underflowing results
15688         as needed.
15689         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
15690         of X_ADJ not X when adjusting exponent.
15691         (__ieee754_gammaf_r): Do intermediate computations in
15692         round-to-nearest then adjust overflowing and underflowing results
15693         as needed.
15694         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
15695         log of X_ADJ not X when adjusting exponent.
15696         (__ieee754_gammal_r): Do intermediate computations in
15697         round-to-nearest then adjust overflowing and underflowing results
15698         as needed.  Use 1.0L not 1.0f as numerator of division.
15699         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
15700         log of X_ADJ not X when adjusting exponent.
15701         (__ieee754_gammal_r): Do intermediate computations in
15702         round-to-nearest then adjust overflowing and underflowing results
15703         as needed.  Use 1.0L not 1.0f as numerator of division.
15704         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
15705         of X_ADJ not X when adjusting exponent.
15706         (__ieee754_gammal_r): Do intermediate computations in
15707         round-to-nearest then adjust overflowing and underflowing results
15708         as needed.  Use 1.0L not 1.0f as numerator of division.
15709         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
15710         to auto-libm-test-in.
15711         (tgamma_test): Use ALL_RM_TEST.
15712         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
15713         tests of tgamma with spurious-overflow.
15714         * math/auto-libm-test-out: Regenerated.
15715         * math/gen-libm-have-vector-test.sh: Do not check for START.
15716         * sysdeps/i386/fpu/libm-test-ulps: Update.
15717         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15719         [BZ #18612]
15720         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
15721         arguments, just return 0.5 times the argument, with underflow
15722         forced as needed.
15723         * math/auto-libm-test-in: Add more tests of j1.
15724         * math/auto-libm-test-out: Regenerated.
15726         [BZ #16559]
15727         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
15728         (__ieee754_j1): Force underflow exception for small results.
15729         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
15730         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
15731         (__ieee754_j1f): Force underflow exception for small results.
15732         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
15733         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
15734         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
15735         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
15736         (__ieee754_j1l): Force underflow exception for small results.
15737         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
15738         * math/auto-libm-test-in: Add more tests of j1 and jn.
15739         * math/auto-libm-test-out: Regenerated.
15741         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
15742         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
15743         (PF_MPLS): Likewise.
15744         (AF_IB): Likewise.
15745         (AF_MPLS): Likewise.
15746         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
15747         value and macro.
15748         (MS_RMT_MASK): Include MS_LAZYTIME.
15750 2015-06-26  Mel Gorman  <mgorman@suse.de>
15752         [BZ #18502]
15753         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
15754         already minimal.
15756 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
15758         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
15759         (DT_MIPS_NUM): Update.
15760         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
15761         DT_MIPS_RLD_MAP_REL.
15763 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
15765         [BZ #16559]
15766         [BZ #18602]
15767         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
15768         round-to-nearest internally then recompute results that
15769         underflowed to zero in the original rounding mode.
15770         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
15771         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
15772         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
15773         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
15774         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
15775         * sysdeps/i386/fpu/libm-test-ulps: Update.
15776         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15778 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
15780         * NEWS: Fixed description of link with vector math library.
15782 2015-06-25  Andreas Schwab  <schwab@suse.de>
15784         [BZ #18549]
15785         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
15786         * libio/test-fmemopen.c (do_test): Add test for it.
15788 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
15790         [BZ #17841]
15791         * Makeconfig (no-pie-ldflag): New.
15792         (+link): Set to $(+link-pie) if default to PIE.
15793         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
15794         * config.make.in (build-pie-default): New.
15795         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
15796         is default.  AC_SUBST.
15797         * configure: Regenerated.
15798         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
15800 2015-06-24  Roland McGrath  <roland@hack.frob.com>
15802         * nptl/descr.h (struct pthread): Change type of field setxid_futex
15803         to 'unsigned int'.
15805         * resolv/gai_misc.h (struct waitlist): Change type of field
15806         counterp to 'volatile unsigned int *'.
15807         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
15808         FUTEXADDR and OLDVAL.
15809         * resolv/getaddrinfo_a.c (getaddrinfo_a):
15810         Give local variable TOTAL type 'volatile unsigned int'.
15811         (struct async_waitlist): Change type of field counter to 'unsigned int'.
15812         * resolv/gai_suspend.c (gai_suspend):
15813         Give local variable CNTR type 'unsigned int'.
15815         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
15816         counterp to 'volatile unsigned int *'.
15817         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
15818         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
15819         (aio_suspend): Give local variable CNTR type 'unsigned int'.
15820         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
15821         Give local variable TOTAL type 'volatile unsigned int'.
15822         (struct async_waitlist): Change type of field counter to 'unsigned int'.
15824 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
15826         [BZ #18383]
15827         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
15828         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
15829         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
15830         comment for i386/x86-64.
15831         (test-xfail-tst-tlsalign-extern-static): Removed.
15833 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
15835         * math/test-double.h: New file.
15836         * math/test-float.h: Likewise.
15837         * math/test-ldouble.h: Likewise.
15838         * math/test-math-inline.h: Likewise.
15839         * math/test-math-no-inline.h: Likewise.
15840         * math/test-math-scalar.h: Likewise.
15841         * math/test-math-vector.h: Likewise.
15842         * math/test-vec-loop.h: Remove file.  Contents moved into
15843         test-math-vector.h.
15844         * math/libm-test.inc (MATHCONST): Do not document macro.
15845         * math/test-double.c: Include test-double.h, test-math-no-inline.h
15846         and test-math-scalar.h.
15847         (FUNC): Remove macro.
15848         (FUNC_TEST): Likewise.
15849         (FLOAT): Likewise.
15850         (MATHCONST): Likewise.
15851         (PRINTF_EXPR): Likewise.
15852         (PRINTF_XEXPR): Likewise.
15853         (PRINTF_NEXPR): Likewise.
15854         (TEST_DOUBLE): Likewise.
15855         (TEST_MATHVEC): Likewise.
15856         (__NO_MATH_INLINES): Likewise.
15857         * math/test-float.c: Include test-float.h, test-math-no-inline.h
15858         and test-math-scalar.h.
15859         (FUNC): Remove macro.
15860         (FUNC_TEST): Likewise.
15861         (FLOAT): Likewise.
15862         (MATHCONST): Likewise.
15863         (PRINTF_EXPR): Likewise.
15864         (PRINTF_XEXPR): Likewise.
15865         (PRINTF_NEXPR): Likewise.
15866         (TEST_FLOAT): Likewise.
15867         (TEST_MATHVEC): Likewise.
15868         (__NO_MATH_INLINES): Likewise.
15869         * math/test-idouble.c: Include test-double.h, test-math-inline.h
15870         and test-math-scalar.h.
15871         (FUNC): Remove macro.
15872         (FUNC_TEST): Likewise.
15873         (FLOAT): Likewise.
15874         (MATHCONST): Likewise.
15875         (PRINTF_EXPR): Likewise.
15876         (PRINTF_XEXPR): Likewise.
15877         (PRINTF_NEXPR): Likewise.
15878         (TEST_DOUBLE): Likewise.
15879         (TEST_MATHVEC): Likewise.
15880         (TEST_INLINE): Likewise.
15881         (__NO_MATH_INLINES): Likewise.
15882         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
15883         test-math-scalar.h.
15884         (FUNC): Remove macro.
15885         (FUNC_TEST): Likewise.
15886         (FLOAT): Likewise.
15887         (MATHCONST): Likewise.
15888         (PRINTF_EXPR): Likewise.
15889         (PRINTF_XEXPR): Likewise.
15890         (PRINTF_NEXPR): Likewise.
15891         (TEST_FLOAT): Likewise.
15892         (TEST_MATHVEC): Likewise.
15893         (TEST_INLINE): Likewise.
15894         (__NO_MATH_INLINES): Likewise.
15895         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
15896         and test-math-scalar.h.
15897         (FUNC): Remove macro.
15898         (FUNC_TEST): Likewise.
15899         (FLOAT): Likewise.
15900         (MATHCONST): Likewise.
15901         (PRINTF_EXPR): Likewise.
15902         (PRINTF_XEXPR): Likewise.
15903         (PRINTF_NEXPR): Likewise.
15904         (TEST_LDOUBLE): Likewise.
15905         (TEST_MATHVEC): Likewise.
15906         (TEST_INLINE): Likewise.
15907         (__NO_MATH_INLINES): Likewise.
15908         * math/test-ldouble.c: Include test-ldouble.h,
15909         test-math-no-inline.h and test-math-scalar.h.
15910         (FUNC): Remove macro.
15911         (FUNC_TEST): Likewise.
15912         (FLOAT): Likewise.
15913         (MATHCONST): Likewise.
15914         (PRINTF_EXPR): Likewise.
15915         (PRINTF_XEXPR): Likewise.
15916         (PRINTF_NEXPR): Likewise.
15917         (TEST_LDOUBLE): Likewise.
15918         (TEST_MATHVEC): Likewise.
15919         (__NO_MATH_INLINES): Likewise.
15920         * math/test-double-vlen2.h: Include test-double.h,
15921         test-math-no-inline.h and test-math-vector.h.
15922         (FLOAT): Remove macro.
15923         (FUNC): Likewise.
15924         (MATHCONST): Likewise.
15925         (PRINTF_EXPR): Likewise.
15926         (PRINTF_XEXPR): Likewise.
15927         (PRINTF_NEXPR): Likewise.
15928         (TEST_DOUBLE): Likewise.
15929         (TEST_MATHVEC): Likewise.
15930         (__NO_MATH_INLINES): Likewise.
15931         (CNCT): Likewise.
15932         (CONCAT): Likewise.
15933         (WRAPPER_NAME): Likewise.
15934         (WRAPPER_DECL): Likewise.
15935         (WRAPPER_DECL_ff): Likewise.
15936         (WRAPPER_DECL_fFF): Likewise.
15937         (VECTOR_WRAPPER): Likewise.
15938         (VECTOR_WRAPPER_ff): Likewise.
15939         (VECTOR_WRAPPER_fFF): Likewise.
15940         (VEC_LEN): New macro.
15941         * math/test-double-vlen4.h: Include test-double.h,
15942         test-math-no-inline.h and test-math-vector.h.
15943         (FLOAT): Remove macro.
15944         (FUNC): Likewise.
15945         (MATHCONST): Likewise.
15946         (PRINTF_EXPR): Likewise.
15947         (PRINTF_XEXPR): Likewise.
15948         (PRINTF_NEXPR): Likewise.
15949         (TEST_DOUBLE): Likewise.
15950         (TEST_MATHVEC): Likewise.
15951         (__NO_MATH_INLINES): Likewise.
15952         (CNCT): Likewise.
15953         (CONCAT): Likewise.
15954         (WRAPPER_NAME): Likewise.
15955         (WRAPPER_DECL): Likewise.
15956         (WRAPPER_DECL_ff): Likewise.
15957         (WRAPPER_DECL_fFF): Likewise.
15958         (VECTOR_WRAPPER): Likewise.
15959         (VECTOR_WRAPPER_ff): Likewise.
15960         (VECTOR_WRAPPER_fFF): Likewise.
15961         (VEC_LEN): New macro.
15962         * math/test-double-vlen8.h: Include test-double.h,
15963         test-math-no-inline.h and test-math-vector.h.
15964         (FLOAT): Remove macro.
15965         (FUNC): Likewise.
15966         (MATHCONST): Likewise.
15967         (PRINTF_EXPR): Likewise.
15968         (PRINTF_XEXPR): Likewise.
15969         (PRINTF_NEXPR): Likewise.
15970         (TEST_DOUBLE): Likewise.
15971         (TEST_MATHVEC): Likewise.
15972         (__NO_MATH_INLINES): Likewise.
15973         (CNCT): Likewise.
15974         (CONCAT): Likewise.
15975         (WRAPPER_NAME): Likewise.
15976         (WRAPPER_DECL): Likewise.
15977         (WRAPPER_DECL_ff): Likewise.
15978         (WRAPPER_DECL_fFF): Likewise.
15979         (VECTOR_WRAPPER): Likewise.
15980         (VECTOR_WRAPPER_ff): Likewise.
15981         (VECTOR_WRAPPER_fFF): Likewise.
15982         (VEC_LEN): New macro.
15983         * math/test-float-vlen4.h: Include test-float.h,
15984         test-math-no-inline.h and test-math-vector.h.
15985         (FLOAT): Remove macro.
15986         (FUNC): Likewise.
15987         (MATHCONST): Likewise.
15988         (PRINTF_EXPR): Likewise.
15989         (PRINTF_XEXPR): Likewise.
15990         (PRINTF_NEXPR): Likewise.
15991         (TEST_FLOAT): Likewise.
15992         (TEST_MATHVEC): Likewise.
15993         (__NO_MATH_INLINES): Likewise.
15994         (CNCT): Likewise.
15995         (CONCAT): Likewise.
15996         (WRAPPER_NAME): Likewise.
15997         (WRAPPER_DECL): Likewise.
15998         (WRAPPER_DECL_ff): Likewise.
15999         (WRAPPER_DECL_fFF): Likewise.
16000         (VECTOR_WRAPPER): Likewise.
16001         (VECTOR_WRAPPER_ff): Likewise.
16002         (VECTOR_WRAPPER_fFF): Likewise.
16003         (VEC_LEN): New macro.
16004         * math/test-float-vlen8.h: Include test-float.h,
16005         test-math-no-inline.h and test-math-vector.h.
16006         (FLOAT): Remove macro.
16007         (FUNC): Likewise.
16008         (MATHCONST): Likewise.
16009         (PRINTF_EXPR): Likewise.
16010         (PRINTF_XEXPR): Likewise.
16011         (PRINTF_NEXPR): Likewise.
16012         (TEST_FLOAT): Likewise.
16013         (TEST_MATHVEC): Likewise.
16014         (__NO_MATH_INLINES): Likewise.
16015         (CNCT): Likewise.
16016         (CONCAT): Likewise.
16017         (WRAPPER_NAME): Likewise.
16018         (WRAPPER_DECL): Likewise.
16019         (WRAPPER_DECL_ff): Likewise.
16020         (WRAPPER_DECL_fFF): Likewise.
16021         (VECTOR_WRAPPER): Likewise.
16022         (VECTOR_WRAPPER_ff): Likewise.
16023         (VECTOR_WRAPPER_fFF): Likewise.
16024         (VEC_LEN): New macro.
16025         * math/test-float-vlen16.h: Include test-float.h,
16026         test-math-no-inline.h and test-math-vector.h.
16027         (FLOAT): Remove macro.
16028         (FUNC): Likewise.
16029         (MATHCONST): Likewise.
16030         (PRINTF_EXPR): Likewise.
16031         (PRINTF_XEXPR): Likewise.
16032         (PRINTF_NEXPR): Likewise.
16033         (TEST_FLOAT): Likewise.
16034         (TEST_MATHVEC): Likewise.
16035         (__NO_MATH_INLINES): Likewise.
16036         (CNCT): Likewise.
16037         (CONCAT): Likewise.
16038         (WRAPPER_NAME): Likewise.
16039         (WRAPPER_DECL): Likewise.
16040         (WRAPPER_DECL_ff): Likewise.
16041         (WRAPPER_DECL_fFF): Likewise.
16042         (VECTOR_WRAPPER): Likewise.
16043         (VECTOR_WRAPPER_ff): Likewise.
16044         (VECTOR_WRAPPER_fFF): Likewise.
16045         (VEC_LEN): New macro.
16046         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
16047         test-vec-loop.h.
16048         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
16049         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
16050         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
16051         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
16052         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
16053         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
16054         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
16056 2015-06-24  Roland McGrath  <roland@hack.frob.com>
16058         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
16059         (__getlogin_r): ... this.
16061 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
16063         [BZ #18594]
16064         * math/s_ccosh.c (__ccosh): Compare with least normal value
16065         instead of comparing class with FP_SUBNORMAL.
16066         * math/s_ccoshf.c (__ccoshf): Likewise.
16067         * math/s_ccoshl.c (__ccoshl): Likewise.
16068         * math/s_cexp.c (__cexp): Likewise.
16069         * math/s_cexpf.c (__cexpf): Likewise.
16070         * math/s_cexpl.c (__cexpl): Likewise.
16071         * math/s_csin.c (__csin): Likewise.
16072         * math/s_csinf.c (__csinf): Likewise.
16073         * math/s_csinh.c (__csinh): Likewise.
16074         * math/s_csinhf.c (__csinhf): Likewise.
16075         * math/s_csinhl.c (__csinhl): Likewise.
16076         * math/s_csinl.c (__csinl): Likewise.
16077         * math/s_ctan.c (__ctan): Likewise.
16078         * math/s_ctanf.c (__ctanf): Likewise.
16079         * math/s_ctanh.c (__ctanh): Likewise.
16080         * math/s_ctanhf.c (__ctanhf): Likewise.
16081         * math/s_ctanhl.c (__ctanhl): Likewise.
16082         * math/s_ctanl.c (__ctanl): Likewise.
16083         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
16084         csin, csinh, ctan and ctanh.
16085         * math/auto-libm-test-out: Regenerated.
16086         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
16087         * sysdeps/i386/fpu/libm-test-ulps: Update.
16088         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16090 2015-06-24  Roland McGrath  <roland@hack.frob.com>
16092         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
16093         return value is wrong, print the expected value too.
16095 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
16097         [BZ #18585]
16098         * elf/readlib.c (is_gdb_python_file): New.
16099         (process_file): Don't issue errors on filenames with -gdb.py
16100         suffix.
16102 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
16104         * math/auto-libm-test-in: Add more tests of csin and csinh.
16105         * math/auto-libm-test-out: Regenerated.
16106         * math/libm-test.inc (csin_test_data): Remove tests moved to
16107         auto-libm-test-in.
16108         (csinh_test_data): Likewise.
16110         [BZ #18593]
16111         * math/s_csin.c (__csin): Negate before rather than after possibly
16112         overflowing multiplication.
16113         * math/s_csinf.c (__csinf): Likewise.
16114         * math/s_csinh.c (__csinh): Likewise.
16115         * math/s_csinhf.c (__csinhf): Likewise.
16116         * math/s_csinhl.c (__csinhl): Likewise.
16117         * math/s_csinl.c (__csinl): Likewise.
16118         * math/auto-libm-test-in: Add some tests of csin and csinh.
16119         * math/auto-libm-test-out: Regenerated.
16120         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
16121         (csinh_test_data): Likewise.
16122         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16124         [BZ #18586]
16125         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
16126         underflow exception for small results.
16128 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
16130         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
16131         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
16132         variable and included header.
16133         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
16134         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
16135         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
16136         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
16137         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
16138         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
16139         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
16140         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
16141         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
16142         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
16143         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
16144         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
16145         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
16146         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
16147         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
16148         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
16150 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
16152         [BZ #16526]
16153         [BZ #16538]
16154         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
16155         (__sin): Force underflow exception for arguments with small
16156         absolute value.
16157         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
16158         (__kernel_sinf): Force underflow exception for arguments with
16159         small absolute value.
16160         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
16161         (__kernel_sincosl): Force underflow exception for arguments with
16162         small absolute value.
16163         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
16164         (__kernel_sinl): Force underflow exception for arguments with
16165         small absolute value.
16166         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
16167         (__kernel_sincosl): Force underflow exception for arguments with
16168         small absolute value.
16169         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
16170         (__kernel_sinl): Force underflow exception for arguments with
16171         small absolute value.
16172         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
16173         (__kernel_sinl): Force underflow exception for arguments with
16174         small absolute value.
16175         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
16176         (__kernel_sinf): Force underflow exception for arguments with
16177         small absolute value.
16178         * math/auto-libm-test-in: Add more tests of sin and sincos.
16179         * math/auto-libm-test-out: Regenerated.
16181         [BZ #18245]
16182         [BZ #18583]
16183         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
16184         (__kernel_standard_l): Use feholdexcept and fesetenv around
16185         conversion to double instead of special-casing overflow and
16186         underflow.
16187         * math/libm-test.inc (fmod_test_data): Add more tests.
16188         (remainder_test_data): Likewise.
16189         (sqrt_test_data): Likewise.
16191 2015-06-23  Torvald Riegel  <triegel@redhat.com>
16193         [BZ #17403]
16194         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
16195         atomic_read_barrier, atomic_write_barrier): Define.
16196         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
16197         atomic_read_barrier, atomic_write_barrier): Define.
16199 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
16201         * math/Makefile [$(PERL) != no]
16202         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
16203         dependency on libm-test.stmp below the inclusion of Rules.
16205 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
16207         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
16208         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
16209         and included header.
16210         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
16211         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
16212         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
16213         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
16214         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
16215         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
16216         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
16217         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
16218         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
16219         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
16220         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
16221         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
16222         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
16223         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
16224         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
16225         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
16226         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
16227         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
16228         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
16230 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
16232         [BZ #18371]
16233         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
16234         intermediate but not final result might underflow.
16235         * math/s_csqrtf.c (__csqrtf): Likewise.
16236         * math/s_csqrtl.c (__csqrtl): Likewise.
16237         * math/auto-libm-test-in: Add more tests of csqrt.
16238         * math/auto-libm-test-out: Regenerated.
16239         * sysdeps/i386/fpu/libm-test-ulps: Update.
16241         [BZ #18219]
16242         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
16243         threshold on absolute value of exponent for which scaling is used.
16244         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
16245         * math/auto-libm-test-in: Add more tests of exp2.
16246         * math/auto-libm-test-out: Regenerated.
16248 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
16250         [BZ #17977]
16251         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
16252         when initializing interface list, based on the bug analysis
16253         and the patch proposed by Eric Newton.
16254         * resolv/tst-res_hconf_reorder.c: New test.
16255         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
16256         tst-res_hconf_reorder.
16257         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
16258         and $(shared-thread-library).
16259         (tst-res_hconf_reorder-ENV): New variable.
16261         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
16262         in comment.
16264 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
16266         [BZ #16353]
16267         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
16268         (__expm1): Force underflow exception for arguments with small
16269         absolute value.
16270         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
16271         (__expm1f): Force underflow exception for arguments with small
16272         absolute value.
16273         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
16274         (__expm1): Force underflow exception for arguments with small
16275         absolute value.
16276         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
16277         (__expm1f): Force underflow exception for arguments with small
16278         absolute value.
16279         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
16280         Check for small arguments before calling __expm1.
16281         * math/auto-libm-test-in: Do not mark underflow exceptions as
16282         possibly missing for bug 16353.
16283         * math/auto-libm-test-out: Regenerated.
16285 2015-06-22  Andreas Schwab  <schwab@suse.de>
16287         [BZ #18513]
16288         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
16289         PTR queries.
16291 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
16293         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
16295         * string/strcoll_l.c: Remove unused struct element idxnow.
16297 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
16299         [BZ #18569]
16300         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
16301         underflow and return argument in case of subnormal argument.
16302         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
16303         Likewise.
16304         * math/auto-libm-test-in: Add more tests of expm1.
16305         * math/auto-libm-test-out: Regenerated.
16307         [BZ #16361]
16308         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
16309         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
16310         tiny results.
16311         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
16312         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
16313         tiny results.
16314         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
16315         mark underflow exceptions as possibly missing for bug 16361.
16316         * math/auto-libm-test-out: Regenerated.
16318 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
16320         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
16321         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
16322         Remove variable.
16323         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
16324         (test-xfail-XOPEN2K8/utmpx.h/conform).
16326         * conform/conformtest.pl ($xerrors): New variable.
16327         (note_error): New function.
16328         (compiletest): New argument $xfail.  Use not_error.
16329         (runtest): Likewise.
16330         (top level): Handle xfail- lines.  Update calls to compiletest and
16331         runtest.  Handle xfail- and optional- in headers listed with
16332         allow-header.
16333         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
16334         (O_EXEC): Likewise.
16335         (O_SEARCH): Likewise.
16336         * conform/data/stropts.h-data (ioctl): Likewise.
16337         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
16338         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
16339         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
16340         (msghdr.msg_controllen): Likewise.
16341         (cmsghdr.cmsg_len): Likewise.
16342         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
16343         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
16344         variable.
16345         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
16346         (test-xfail-XPG4/stropts.h/conform): Likewise.
16347         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
16348         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
16349         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
16350         (test-xfail-UNIX98/stropts.h/conform): Likewise.
16351         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
16352         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
16353         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
16354         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
16355         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
16356         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
16357         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
16358         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
16359         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
16360         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
16361         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
16362         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
16363         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
16364         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
16365         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
16367 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
16369         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
16370         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
16371         definitions for proper unfolding of __MATHDECL_VEC.
16373 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
16375         * benchtests/bench-strcoll.c:
16376         Include string.h.
16377         (main): Remove unused variable res.
16379 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
16381         * timezone/Makefile (%/UTC %/Universal):
16382         Generate test-result files for UTC and Universal.
16384 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
16386         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16388 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
16390         [BZ #16350]
16391         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
16392         for arguments with small absolute value.
16393         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
16394         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
16395         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
16396         (__asinh): Force underflow exception for arguments with small
16397         absolute value.
16398         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
16399         (__asinhf): Force underflow exception for arguments with small
16400         absolute value.
16401         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
16402         (__asinhl): Force underflow exception for arguments with small
16403         absolute value.
16404         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
16405         (__asinhl): Force underflow exception for arguments with small
16406         absolute value.
16407         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
16408         (__asinhl): Force underflow exception for arguments with small
16409         absolute value.
16410         * math/auto-libm-test-in: Do not mark underflow exceptions as
16411         possibly missing for bug 16350.
16412         * math/auto-libm-test-out: Regenerated.
16414         * include/bits/ipc.h: Remove file.
16415         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
16416         variable.
16417         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
16418         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
16419         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
16420         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
16421         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
16422         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
16423         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
16424         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
16425         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
16427         * math/auto-libm-test-in: Remove spurious underflow allowance for
16428         tests of cexp.
16429         * math/auto-libm-test-out: Regenerated.
16431         [BZ #18558]
16432         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
16433         unconditional definition.
16434         (MCAST_BLOCK_SOURCE): Likewise.
16435         (MCAST_UNBLOCK_SOURCE): Likewise.
16436         (MCAST_LEAVE_GROUP): Likewise.
16437         (MCAST_JOIN_SOURCE_GROUP): Likewise.
16438         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
16439         (MCAST_MSFILTER): Likewise.
16440         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
16441         Remove variable.
16442         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
16443         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
16444         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
16445         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
16446         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
16448 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
16450         * NEWS: Mention addition of x86_64 vector sincosf.
16451         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
16452         * math/test-float-vlen4.h: Likewise.
16453         * math/test-float-vlen8.h: Likewise.
16454         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
16455         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
16456         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16457         * sysdeps/x86_64/fpu/Versions: New versions added.
16458         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16459         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
16460         Added build of SSE, AVX2 and AVX512 IFUNC versions.
16461         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
16462         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
16463         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
16464         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
16465         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
16466         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
16467         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
16468         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
16469         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
16470         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
16471         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
16472         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
16473         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
16474         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
16475         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
16476         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
16477         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
16478         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
16479         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
16480         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
16481         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
16483         * NEWS: Mention addition of x86_64 vector sincos.
16484         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
16485         * math/math.h (__MATHDECL_VEC): New macro.
16486         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
16487         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
16488         declaration under condition.
16489         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
16490         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
16491         TEST_VEC_LOOP change.
16492         * math/test-double-vlen4.h: Likewise.
16493         * math/test-double-vlen8.h: Likewise.
16494         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
16495         * math/test-float-vlen4.h: Likewise.
16496         * math/test-float-vlen8.h: Likewise.
16497         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
16498         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
16499         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16500         * sysdeps/x86_64/fpu/Versions: New versions added.
16501         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16502         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
16503         Added build of SSE, AVX2 and AVX512 IFUNC versions.
16504         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
16505         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
16506         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
16507         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
16508         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
16509         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
16510         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
16511         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
16512         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
16513         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
16514         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
16515         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
16516         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
16517         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
16518         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
16519         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
16520         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
16521         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
16522         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
16523         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
16524         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
16526         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
16527         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
16528         redirections for powf.
16529         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16530         * sysdeps/x86_64/fpu/Versions: New versions added.
16531         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16532         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
16533         Added build of SSE, AVX2 and AVX512 IFUNC versions.
16534         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
16535         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
16536         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
16537         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
16538         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
16539         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
16540         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
16541         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
16542         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
16543         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
16544         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
16545         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
16546         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
16547         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
16548         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
16549         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
16550         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
16551         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
16552         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
16553         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
16554         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
16555         * math/test-float-vlen16.h: Fixed 2 argument macro.
16556         * math/test-float-vlen4.h: Likewise.
16557         * math/test-float-vlen8.h: Likewise.
16558         * NEWS: Mention addition of x86_64 vector powf.
16560 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
16562         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16563         and redefine.
16564         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16565         and redefine.
16566         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
16567         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
16568         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16570         [BZ #18553]
16571         * resource/getpriority.c (getpriority): Rename to __getpriority
16572         and define as weak alias of __getpriority.
16573         * resource/setpriority.c (setpriority): Rename to __setpriority
16574         and define as weak alias of __setpriority.
16575         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
16576         __getpriority and define as weak alias of __getpriority.
16577         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
16578         __setpriority and define as weak alias of __setpriority.
16579         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
16580         strong name.
16581         (setpriority): Use __setpriority as strong name.
16582         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
16583         __getpriority and define as weak alias of __getpriority.
16584         * include/sys/resource.h (__getpriority): Declare.  Use
16585         libc_hidden_proto.
16586         (__setpriority): Likewise.
16587         (getpriority): Don't use libc_hidden_proto.
16588         (setpriority): Likewise.
16589         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
16590         getpriority.  Call __setpriority instead of setpriority.
16591         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
16592         Remove variable.
16594         [BZ #18547]
16595         * misc/getttyent.c (getttynam): Rename to __getttynam and define
16596         as weak alias of __getttynam.  Use prototype function definition.
16597         Call __setttyent, __getttyent and __endttyent instead of
16598         setttyent, getttyent and endttyent.
16599         (getttyent): Rename to __getttyent and define as weak alias of
16600         __getttyent.  Call __setttyent instead of setttyent.  Call
16601         __fgets_unlocked instead of fgets_unlocked.
16602         (setttyent): Rename to __setttyent and define as weak alias of
16603         __setttyent.
16604         (endttyent): Rename to __endttyent and define as weak alias of
16605         __endttyent.
16606         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
16607         (__setttyent): Likewise.
16608         (__endttyent): Likewise.
16609         (getttyent): Don't use libc_hidden_proto.
16610         (setttyent): Likewise.
16611         (endttyent): Likewise.
16612         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
16613         __endttyent instead of setttyent, getttyent and endttyent.
16614         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
16615         Remove variable.
16617         [BZ #18546]
16618         * socket/recv.c (__recv): Use libc_hidden_def.
16619         * socket/socket.c (__socket): Likewise.
16620         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
16621         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
16622         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
16623         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
16624         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
16625         libc_hidden_def.
16626         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
16627         libc_hidden_weak.
16628         * include/sys/socket.h (__socket): Do not use attribute_hidden.
16629         Use libc_hidden_proto.
16630         (__recv): Likewise.
16631         * socket/Versions (libc): Export __recv and __socket at version
16632         GLIBC_PRIVATE.
16633         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
16634         instead of recv.
16635         (init_mq_netlink): Call __socket instead of socket.
16636         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
16637         Remove variable.
16639         [BZ #18545]
16640         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
16641         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
16642         hidden_weak.
16643         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
16644         define as alias of __mq_timedsend.  Use hidden_weak.
16645         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
16646         __mq_timedsend as strong name.
16647         (mq_timedreceive): Use __mq_timedreceive as strong name.
16648         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
16649         (__mq_timedreceive): Likewise.
16650         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
16651         __mq_timedreceive instead of mq_timedreceive.
16652         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
16653         instead of mq_timedsend.
16654         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
16655         Remove variable.
16657         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
16658         hidden_def and hidden_weak instead of libc_hidden_def and
16659         libc_hidden_weak.
16660         (top level): Refer to hidden_def in comment.
16661         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
16662         macro.  Use it instead of libc_hidden_def.
16663         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
16664         specify __GI_* name explicitly.
16665         (mq_timedreceive): Likewise.
16666         (mq_setattr): Likewise.
16668         [BZ #18544]
16669         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
16670         __pthread_barrier_init and define as weak alias of
16671         __pthread_barrier_init.
16672         * sysdeps/sparc/nptl/pthread_barrier_init.c
16673         (pthread_barrier_init): Likewise.
16674         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
16675         __pthread_barrier_wait and define as weak alias of
16676         __pthread_barrier_wait.
16677         * sysdeps/sparc/nptl/pthread_barrier_wait.c
16678         (pthread_barrier_wait): Likewise.
16679         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
16680         (pthread_barrier_wait): Likewise.
16681         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
16682         (pthread_barrier_wait): Likewise.
16683         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
16684         (pthread_barrier_wait): Likewise.
16685         * nptl/Versions (libpthread): Export __pthread_barrier_init and
16686         __pthread_barrier_wait at version GLIBC_PRIVATE.
16687         * include/pthread.h (__pthread_barrier_init): Declare.
16688         (__pthread_barrier_wait): Likewise.
16689         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
16690         Call __pthread_barrier_wait instead of pthread_barrier_wait.
16691         (helper_thread): Likewise.
16692         (init_mq_netlink): Call __pthread_barrier_init instead of
16693         pthread_barrier_init.
16695         [BZ #18542]
16696         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
16697         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
16698         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
16699         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
16700         vswscanf.
16701         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
16702         Remove variable.
16704         [BZ #18540]
16705         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
16706         strong alias of _IO_fflush.  Use libc_hidden_def.
16707         * libio/iofflush_u.c (fflush_unlocked): Rename to
16708         __fflush_unlocked and define as weak alias of __fflush_unlocked.
16709         Use libc_hidden_weak.
16710         * include/stdio.h (__fflush_unlocked): Declare.  Use
16711         libc_hidden_proto.
16712         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
16713         fflush_unlocked.
16714         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
16715         Remove variable.
16717         [BZ #18539]
16718         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
16719         define as weak alias of __addseverity.
16720         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
16721         Remove variable.
16722         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
16723         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
16724         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
16726         [BZ #18536]
16727         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
16728         (__tfind): Likewise.
16729         (__tdelete): Likewise.
16730         (__twalk): Likewise.
16731         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
16732         __twalk to GLIBC_PRIVATE.
16733         * include/search.h (__tsearch): Use libc_hidden_proto.
16734         (__tfind): Likewise.
16735         (__tdelete): Likewise.
16736         (__twalk): Likewise.
16737         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
16738         Call __tdelete instead of tdelete.
16739         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
16740         tfind.  Call __tsearch instead of tsearch.
16741         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
16742         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
16743         Remove variable.
16744         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
16746         [BZ #18534]
16747         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
16748         (dprintf): Define as a weak alias of __dprintf, not a strong
16749         alias.
16750         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
16751         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
16752         dprintf.
16753         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
16754         Remove variable.
16755         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
16756         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
16758         [BZ #18533]
16759         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
16760         not a strong alias.
16761         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
16762         Remove variable.
16764         [BZ #18532]
16765         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
16766         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
16767         (in6addr_loopback): Rename to __in6addr_loopback and define as
16768         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
16769         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
16770         libc_hidden_proto.
16771         (__in6addr_any): Likewise.
16772         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
16773         in6addr_any.
16774         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
16775         variable.
16776         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
16778 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
16780         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
16781         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
16782         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
16783         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
16784         redirections for pow.
16785         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16786         * sysdeps/x86_64/fpu/Versions: New versions added.
16787         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16788         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
16789         build of SSE, AVX2 and AVX512 IFUNC versions.
16790         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
16791         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
16792         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
16793         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
16794         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
16795         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
16796         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
16797         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
16798         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
16799         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
16800         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
16801         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
16802         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
16803         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
16804         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
16805         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
16806         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
16807         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
16808         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
16809         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
16810         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
16811         * NEWS: Mention addition of x86_64 vector pow.
16813         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
16814         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
16815         redirections for expf.
16816         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16817         * sysdeps/x86_64/fpu/Versions: New versions added.
16818         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16819         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
16820         build of SSE, AVX2 and AVX512 IFUNC versions.
16821         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
16822         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
16823         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
16824         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
16825         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
16826         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
16827         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
16828         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
16829         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
16830         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
16831         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
16832         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
16833         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
16834         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
16835         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
16836         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
16837         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
16838         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
16839         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
16840         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
16841         * NEWS: Mention addition of x86_64 vector expf.
16843         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
16844         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
16845         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
16846         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
16847         redirections for exp.
16848         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16849         * sysdeps/x86_64/fpu/Versions: New versions added.
16850         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16851         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
16852         build of SSE, AVX2 and AVX512 IFUNC versions.
16853         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
16854         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
16855         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
16856         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
16857         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
16858         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
16859         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
16860         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
16861         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
16862         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
16863         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
16864         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
16865         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
16866         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
16867         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
16868         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
16869         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
16870         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
16871         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
16872         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
16873         * NEWS: Mention addition of x86_64 vector exp.
16875         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
16876         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
16877         redirections for logf.
16878         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16879         * sysdeps/x86_64/fpu/Versions: New versions added.
16880         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16881         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
16882         build of SSE, AVX2 and AVX512 IFUNC versions.
16883         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
16884         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
16885         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
16886         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
16887         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
16888         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
16889         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
16890         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
16891         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
16892         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
16893         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
16894         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
16895         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
16896         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
16897         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
16898         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
16899         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
16900         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
16901         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
16902         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
16903         * NEWS: Mention addition of x86_64 vector logf.
16905         * bits/libm-simd-decl-stubs.h: Added stubs for log.
16906         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
16907         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
16908         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
16909         redirections for log.
16910         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16911         * sysdeps/x86_64/fpu/Versions: New versions added.
16912         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16913         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
16914         build of SSE, AVX2 and AVX512 IFUNC versions.
16915         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
16916         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
16917         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
16918         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
16919         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
16920         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
16921         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
16922         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
16923         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
16924         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
16925         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
16926         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
16927         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
16928         test.
16929         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
16930         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
16931         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
16932         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
16933         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
16934         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
16935         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
16936         * NEWS: Mention addition of x86_64 vector log.
16938 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16940         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
16941         cfi_adjust_cfa_offset argument.
16942         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
16943         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
16945         [BZ #18034]
16946         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
16947         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
16948         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
16949         ordering using ldar.
16950         (_dl_tlsdesc_dynamic): Likewise.
16951         (_dl_tlsdesc_return_lazy): Likewise.
16952         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
16953         relaxed atomics instead of volatile and synchronize with release store.
16954         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
16955         volatile.
16956         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
16958 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
16960         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
16961         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
16962         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16963         * sysdeps/x86_64/fpu/Versions: New versions added.
16964         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16965         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
16966         build of SSE, AVX2 and AVX512 IFUNC versions.
16967         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
16968         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
16969         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
16970         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
16971         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
16972         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
16973         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
16974         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
16975         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
16976         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
16977         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
16978         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
16979         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
16980         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
16981         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
16982         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
16983         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
16984         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
16985         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
16986         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
16987         * NEWS: Mention addition of x86_64 vector sinf.
16989 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
16991         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
16992         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
16993         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
16994         Remove variable.
16995         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
16996         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
16998 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
17000         [BZ #18530]
17001         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
17002         strong alias of _IO_fputs.  Use libc_hidden_def.
17003         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
17004         and define as weak alias of __fputs_unlocked.  Use
17005         libc_hidden_weak.
17006         * include/stdio.h (__fputs_unlocked): Declare.  Use
17007         libc_hidden_proto.
17008         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
17009         fputs_unlocked.
17011         [BZ #18529]
17012         * resolv/netdb.h [__USE_POSIX]: Change condition to
17013         [__USE_XOPEN2K].
17014         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
17015         not expect.
17016         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
17017         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
17018         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
17019         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
17020         [XPG4 || UNIX98] (AI_ALL): Likewise.
17021         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
17022         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
17023         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
17024         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
17025         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
17026         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
17027         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
17028         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
17029         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
17030         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
17031         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
17032         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
17033         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
17034         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
17035         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
17036         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
17037         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
17038         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
17039         [XPG4 || UNIX98] (gai_strerror): Likewise.
17040         [XPG4 || UNIX98] (getaddrinfo): Likewise.
17041         [XPG4 || UNIX98] (getnameinfo): Likewise.
17043         [BZ #18528]
17044         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
17045         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
17046         __USE_XOPEN2K8].
17047         (getgrent): Likewise.
17048         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
17049         expect.
17050         [XPG3 || POSIX2008] (endgrent): Likewise.
17051         [XPG3] (setgrent): Likewise.
17052         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
17053         variable.
17054         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
17056         [BZ #18527]
17057         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
17058         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
17059         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
17060         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
17061         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
17062         * include/unistd.h (__getlogin_r): Declare.  Use
17063         libc_hidden_proto.
17064         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
17065         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
17066         variable.
17067         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
17068         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
17069         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
17071 2015-06-12  Martin Sebor  <msebor@redhat.com>
17073         [BZ #18512]
17074         * Makerules (check-install-supported): New target.
17075         (install): Add check-install-supported as a dependency.
17076         * manual/install.texi (Installing the C Library): Document
17077         that overriding prefix and exec_prefix is not supported.
17078         Mention DESTDIR.
17079         * INSTALL: Regenerate from the above.
17081 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
17083         [BZ #18519]
17084         * posix/Versions (libc): Export __libc_pread at version
17085         GLIBC_PRIVATE.
17086         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
17087         instead of pread.
17088         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
17089         variable.
17091         [BZ #18522]
17092         * misc/efgcvt_r.c
17093         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
17094         (cvt_symbol): Use weak_alias instead of strong_alias.
17095         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
17096         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
17097         Remove variable.
17098         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
17099         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
17101         [BZ #18520]
17102         * inet/herrno.c (h_errno): Rename to __h_errno.
17103         (__libc_h_errno): Define as alias of __h_errno not h_errno.
17104         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
17105         to __h_errno instead of h_errno.
17106         * nptl/herrno.c (h_errno): Rename to __h_errno.
17107         (__h_errno_location): Refer to __h_errno not h_errno.
17108         * resolv/Versions (h_errno): Rename to __h_errno.
17109         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
17110         Remove variable.
17111         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
17113 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
17115         * configure.ac: More strict check for AVX512 assembler support.
17116         * configure: Regenerated.
17118         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
17119         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
17120         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
17121         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
17122         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17123         * sysdeps/x86_64/fpu/Versions: New versions added.
17124         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17125         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
17126         Added build of SSE, AVX2 and AVX512 IFUNC versions.
17127         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
17128         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
17129         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
17130         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
17131         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
17132         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
17133         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
17134         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
17135         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
17136         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
17137         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
17138         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
17139         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
17140         test.
17141         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
17142         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
17143         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
17144         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
17145         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
17146         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
17147         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
17148         * NEWS: Mention addition of x86_64 vector sin.
17150 2015-06-11  Florian Weimer  <fweimer@redhat.com>
17152         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
17153         comment.
17155 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
17157         [BZ #18479]
17158         * nptl/pt-interp.c: New file.
17159         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
17160         Add pt-interp.
17161         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
17162         $(common-objpfx)runtime-linker.h.
17164 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
17166         * Makeconfig (+interp): Remove unused variable.
17167         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
17168         only.  Depend on $(common-objpfx)runtime-linker.h instead of
17169         $(elf-objpfx)runtime-linker.h.
17170         ($(elf-objpfx)runtime-linker.h): Rename to
17171         $(common-objpfx)runtime-linker.h and move ...
17172         * Makerules [$(build-shared) = yes]: ... here.
17173         * elf/interp.c: Include <runtime-linker.h> instead of
17174         <elf/runtime-linker.h>.
17176 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17178         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
17179         (__gettimeofday_syscall): Remove vsyscall fallback.
17180         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
17181         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
17182         Add syscall fallback function.
17183         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
17184         if vDSO is not present.
17185         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
17186         fallback function.
17187         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
17188         present.
17189         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
17190         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
17192 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
17194         [BZ #18497]
17195         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
17196         of wcscmp.
17197         (wcscmp): Define as weak alias of WCSCMP.
17198         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
17199         wcscoll.
17200         (USE_HIDDEN_DEF): Define.
17201         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
17202         __wcscoll.  Don't use libc_hidden_weak.
17203         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
17204         wcscmp.
17205         * sysdeps/i386/i686/multiarch/wcscmp-c.c
17206         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
17207         __GI_wcscmp.
17208         (weak_alias): Undefine and redefine.
17209         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
17210         __wcscmp and define as weak alias of __wcscmp.
17211         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
17212         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
17213         (__wcscoll): Likewise.
17214         (wcscmp): Don't use libc_hidden_proto.
17215         (wcscoll): Likewise.
17216         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
17217         wcscoll.
17218         * posix/regexec.c (check_node_accept_bytes): Likewise.
17219         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
17220         variable.
17221         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
17222         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
17224         [BZ #18507]
17225         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
17226         __fstatvfs and define as weak alias of __fstatvfs.  Use
17227         libc_hidden_weak.
17228         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
17229         and define as weak alias of __statvfs.  Use libc_hidden_weak.
17230         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
17231         Define as alias of __fstatvfs, not fstatvfs.
17232         (fstatvfs64): Likewise.
17233         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
17234         Define as alias of __statvfs, not statvfs.
17235         (statvfs64): Likewise.
17236         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
17237         Remove variable.
17239 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
17242         (HAVE_GETCPU_VSYSCALL): Define.
17243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
17244         (HAVE_GETCPU_VSYSCALL): Likewise.
17245         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
17246         * sysdeps/unix/sysv/linux/sched_getcpu.c
17247         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
17248         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
17249         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
17250         prototype.
17251         * sysdeps/unix/sysv/linux/x86_64/init-first.c
17252         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
17253         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
17254         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
17255         Define.
17256         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
17257         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
17258         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
17259         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
17261 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
17263         * sysdeps/x86_64/fpu/Makefile: New file.
17264         * sysdeps/x86_64/fpu/Versions: New file.
17265         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
17266         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
17267         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
17268         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
17269         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
17270         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
17271         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
17272         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
17273         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
17274         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
17275         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
17276         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
17277         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
17278         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
17279         Added build of SSE, AVX2 and AVX512 IFUNC versions.
17280         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
17281         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
17282         * sysdeps/x86_64/configure.ac: Options for libmvec build.
17283         * sysdeps/x86_64/configure: Regenerated.
17284         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
17285         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
17286         * manual/install.texi (Configuring and compiling): Document
17287         --disable-mathvec.
17288         * INSTALL: Regenerated.
17289         * NEWS: Mention addition of libmvec and x86_64 vector cos.
17291         * math/Makefile: Added rules for vector tests.
17292         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
17293         declaration under condition.
17294         * math/test-double-vlen2.h: New file.
17295         * math/test-double-vlen4.h: New file.
17296         * math/test-double-vlen8.h: New file.
17297         * math/test-vec-loop.h: Added initialization macro.
17298         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
17299         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
17300         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
17301         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
17302         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
17303         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
17304         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
17305         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
17306         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
17307         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
17308         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
17310         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17311         * sysdeps/x86_64/fpu/Versions: New versions added.
17312         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
17313         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
17314         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
17315         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
17316         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
17317         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
17318         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
17319         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
17320         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
17321         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
17322         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
17323         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
17324         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
17325         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
17326         Added build of SSE, AVX2 and AVX512 IFUNC versions.
17327         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
17328         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
17329         * NEWS: Mention addition of x86_64 vector cosf.
17331         * math/Makefile: Added CFLAGS for new tests.
17332         * math/test-float-vlen16.h: New file.
17333         * math/test-float-vlen4.h: New file.
17334         * math/test-float-vlen8.h: New file.
17335         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
17336         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
17337         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17338         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
17339         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
17340         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
17341         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
17342         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
17343         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
17344         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
17345         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
17347 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
17349         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
17350         * locale/programs/ld-ctype.c: Likewise.
17352 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
17354         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
17355         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
17356         bit_ZMM16_31_state): New macro.
17357         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17358         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
17360 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
17362         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
17364 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
17366         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
17368 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
17370         [BZ #18498]
17371         * libio/memstream.c (open_memstream): Rename to __open_memstream
17372         and define as weak alias of __open_memstream.
17373         * include/stdio.h (__open_memstream): Declare.  Use
17374         libc_hidden_proto.
17375         (open_memstream): Don't use libc_hidden_proto.
17376         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
17377         open_memstream.
17378         * posix/getopt.c (_getopt_internal_r): Likewise.
17379         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
17380         variable.
17381         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
17382         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
17383         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
17385         [BZ #18496]
17386         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
17387         instead of wcrtomb.
17389         [BZ #18483]
17390         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
17391         [__USE_XOPEN2K8].  Remove redundant #endif.
17392         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
17393         Remove redundant #if.
17394         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
17395         Remove variable.
17396         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
17397         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
17399         [BZ #18495]
17400         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
17401         (__iswlower): Likewise.
17402         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
17403         (__iswlower): Likewise.
17404         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
17405         instead of towlower.
17406         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
17407         instead of iswlower.  Call __towupper instead of towupper.
17408         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
17409         instead of iswalnum.
17411 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17413         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
17414         errors to stderr.
17416 2015-06-05  Florian Weimer  <fweimer@redhat.com>
17418         [BZ #15661]
17419         [BZ #17322]
17420         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
17421         Check for overflow properly.  Check for O_APPEND.  Ignore large
17422         file system block sizes.  Add comments about problems.
17423         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
17424         * manual/filesys.texi (Storage Allocation): New node.
17426 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17428         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
17429         cancellable syscalls.
17430         (SYS_ify): Add guard to no redefine it.
17431         (INLINE_SYSCALL): Likewise.
17432         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
17433         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
17434         SYSCALL_CANCEL instead.
17435         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
17436         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
17437         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
17438         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
17439         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
17440         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
17441         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
17442         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
17443         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
17444         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
17445         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
17446         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
17447         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
17448         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
17449         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
17450         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
17451         Likewise.
17452         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
17453         (__libc_pread64): Likewise.
17454         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
17455         (__libc_preadv): Likewise.
17456         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
17457         (__libc_readv64): Likewise.
17458         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
17459         (__libc_pwrite): Likewise.
17460         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
17461         (__libc_pwrite64): Likewise.
17462         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
17463         (__libc_pwritev): Likewise.
17464         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
17465         (__libc_pwritev64): Likewise.
17466         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
17467         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
17468         (sync_file_range): Likewise.
17469         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
17470         Likewise.
17471         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
17472         Likewise.
17473         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
17474         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
17475         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
17476         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
17477         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
17478         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
17479         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
17480         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
17481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
17482         Likewise.
17483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
17484         (__libc_read64): Likewise.
17485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
17486         Likewise.
17487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
17488         Likewise.
17489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
17490         Likewise.
17491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
17492         Likewise.
17493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
17494         (__libc_pread64): Likewise.
17495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
17496         Likewise.
17497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
17498         (__libc_pwrite64): Likewise.
17499         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
17500         (sync_file_range): Likewise.
17501         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
17502         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
17503         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
17504         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
17505         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
17506         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
17507         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
17508         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
17509         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
17510         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
17511         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
17512         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
17513         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
17514         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
17515         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
17516         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
17517         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
17518         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
17519         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
17520         Likewise.
17521         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
17522         Likewise.
17523         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
17524         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
17525         Likewise.
17526         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
17527         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
17528         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
17529         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
17530         Likewise.
17531         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
17532         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
17533         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
17534         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
17535         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
17537 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
17539         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
17540         Include dl-vdso.
17541         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
17542         Use VDSO routines for gettimeofday, clock_gettime if
17543         available.
17544         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
17545         Declare VDSO symbols.
17546         * sysdeps/unix/sysv/linux/arm/sysdep.h:
17547         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
17548         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
17549         * sysdeps/unix/sysv/linux/arm/Versions: Add
17550         __vdso_clock_gettime.
17552 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17554         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
17555         be an inline implementation regardless of library is built within.
17556         (open_not_cancel_2): Likewise.
17557         (__read_nocancel): Likewise.
17558         (__write_nocancel): Likewise.
17559         (openat_not_cancel): Likewise.
17560         (openat_not_cancel_3): Likewise.
17561         (openat64_not_cancel): Likewise.
17562         (openat64_not_cancel_3): Likewise.
17563         (__close_nocancel): Likewise.
17564         (pause_not_cancel): Likewise.
17565         (nanosleep_not_cancel): Likewise.
17566         (sigsuspend_not_cancel): Likewise.
17568 2015-06-04  Torvald Riegel  <triegel@redhat.com>
17570         [BZ #14958]
17571         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
17572         wake-up.
17573         (__pthread_rwlock_rdlock_slow): Likewise.
17574         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
17575         Likewise.
17576         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
17577         Likewise.
17578         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
17579         * nptl/tst-rwlock16.c: New file.
17580         * nptl/Makefile (tests): Add new test.
17582 2015-06-04  Torvald Riegel  <triegel@redhat.com>
17584         [BZ #18324]
17585         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
17586         missing wake-up of readers.
17587         * nptl/tst-rwlock15.c: New file.
17588         * nptl/Makefile (tests): Add new test.
17590 2015-06-03  Roland McGrath  <roland@hack.frob.com>
17592         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
17593         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
17594         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
17595         and __nacl_supply_interface_rtld.
17596         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
17597         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
17598         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
17599         Add __nacl_supply_interface_rtld.
17600         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
17602 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
17604         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
17605         isfinite.
17606         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17607         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
17609 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
17611         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
17612         __signbit* with standard C99 macros.
17613         * math/e_exp10l.c: Likewise.
17614         * math/e_exp2l.c: Likewise.
17615         * math/e_scalb.c: Likewise.
17616         * math/e_scalbf.c: Likewise.
17617         * math/e_scalbl.c: Likewise.
17618         * math/s_ldexp.c: Likewise.
17619         * math/s_ldexpf.c: Likewise.
17620         * math/s_ldexpl.c: Likewise.
17621         * math/w_atan2.c: Likewise.
17622         * math/w_atan2f.c: Likewise.
17623         * math/w_atan2l.c: Likewise.
17624         * math/w_cosh.c: Likewise.
17625         * math/w_coshf.c: Likewise.
17626         * math/w_coshl.c: Likewise.
17627         * math/w_exp10.c: Likewise.
17628         * math/w_exp10f.c: Likewise.
17629         * math/w_exp10l.c: Likewise.
17630         * math/w_exp2.c: Likewise.
17631         * math/w_exp2f.c: Likewise.
17632         * math/w_exp2l.c: Likewise.
17633         * math/w_fmod.c: Likewise.
17634         * math/w_fmodf.c: Likewise.
17635         * math/w_fmodl.c: Likewise.
17636         * math/w_hypot.c: Likewise.
17637         * math/w_hypotf.c: Likewise.
17638         * math/w_hypotl.c: Likewise.
17639         * math/w_jnl.c: Likewise.
17640         * math/w_lgamma.c: Likewise.
17641         * math/w_lgamma_r.c: Likewise.
17642         * math/w_lgammaf.c: Likewise.
17643         * math/w_lgammaf_r.c: Likewise.
17644         * math/w_lgammal.c: Likewise.
17645         * math/w_lgammal_r.c: Likewise.
17646         * math/w_pow.c: Likewise.
17647         * math/w_powf.c: Likewise.
17648         * math/w_powl.c: Likewise.
17649         * math/w_remainder.c: Likewise.
17650         * math/w_remainderf.c: Likewise.
17651         * math/w_remainderl.c: Likewise.
17652         * math/w_scalb.c: Likewise.
17653         * math/w_scalbf.c: Likewise.
17654         * math/w_scalbl.c: Likewise.
17655         * math/w_scalbln.c: Likewise.
17656         * math/w_scalblnf.c: Likewise.
17657         * math/w_scalblnl.c: Likewise.
17658         * math/w_sinh.c: Likewise.
17659         * math/w_sinhf.c: Likewise.
17660         * math/w_sinhl.c: Likewise.
17661         * math/w_tgamma.c: Likewise.
17662         * math/w_tgammaf.c: Likewise.
17663         * math/w_tgammal.c: Likewise.
17664         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17665         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
17666         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17667         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17668         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17669         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17670         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
17671         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17672         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17673         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17674         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
17675         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
17676         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17677         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17678         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17679         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17680         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17681         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
17682         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
17683         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17684         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17685         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
17686         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17687         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
17688         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
17689         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
17690         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
17691         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
17692         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17693         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
17694         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
17695         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
17696         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
17697         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
17698         * stdio-common/printf_fp.c: Likewise.
17699         * stdio-common/printf_fphex.c: Likewise.
17700         * stdio-common/printf_size.c: Likewise.
17702 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
17704         [BZ #18470]
17705         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
17706         strnlen.
17707         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
17708         Remove variable.
17709         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
17710         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
17711         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
17712         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
17713         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
17714         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
17715         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
17716         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
17717         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
17718         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
17720         [BZ #18468]
17721         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
17722         weak alias of __wmemchr.  Use libc_hidden_weak.
17723         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
17724         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
17725         instead of wmemchr.
17727 2015-06-02  Roland McGrath  <roland@hack.frob.com>
17729         [BZ #18383]
17730         * elf/tst-tlsalign-extern.c: New file.
17731         * elf/tst-tlsalign-extern-static.c: New file.
17732         * elf/tst-tlsalign-vars.c: New file.
17733         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
17734         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
17735         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
17736         ($(objpfx)tst-tlsalign-extern-static): Likewise.
17737         (test-xfail-tst-tlsalign-extern-static): New variable.
17739 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
17741         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
17742         Use variable name _sc_err instead of err.
17743         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
17744         instead of ret.
17745         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
17746         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
17747         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
17748         (INLINE_SYSCALL): Likewise.
17750         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
17751         * include/string.h (__strnlen): Use libc_hidden_proto.
17752         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
17753         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
17754         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
17755         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
17756         (libc_hidden_def): Undefine and redefine.
17757         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
17758         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
17759         __GI_strnlen.
17760         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
17761         libc_hidden_def.
17762         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
17764         [BZ #18469]
17765         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
17766         weak alias of __towlower.  Use libc_hidden_weak.
17767         (towupper): Rename to __towupper and define as weak alias of
17768         __towupper.  Use libc_hidden_weak.
17769         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
17770         (__towupper): Likewise.
17771         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
17772         __towlower instead of towlower.
17774 2015-06-02  Roland McGrath  <roland@hack.frob.com>
17776         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
17777         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
17779 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17781         * sysdeps/aarch64/libm-test-ulps: Update.
17783 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17785         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
17786         Define.
17787         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
17788         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
17789         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
17790         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
17791         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
17792         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
17793         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
17795 2015-06-01  Martin Sebor  <msebor@redhat.com>
17797         [BZ #18116]
17798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
17799         (__setcontext): Use extended four-operand version of mtsf whenever
17800         possible.
17801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
17802         (__novec_swapcontext): Likewise.
17804 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
17806         * benchtests/scripts/compare_bench.py: New file.
17807         * benchtests/scripts/import_bench.py (mean): New function.
17808         (split_list): Likewise.
17809         (do_for_all_timings): Likewise.
17810         (compress_timings): Likewise.
17812         * benchtests/scripts/import_bench.py: New file.
17813         * benchtests/scripts/validate_benchout.py: Import import_bench
17814         instead of jsonschema.
17815         (validate_bench): Remove function.
17816         (main): Use import_bench.
17818 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
17820         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
17821         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
17823 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17825         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17827 2015-05-28  Roland McGrath  <roland@hack.frob.com>
17829         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
17830         set THREAD_SELF->tid to a magic value and futex-wake it.
17831         Pass its address to the thread_exit system call.
17832         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
17833         bit is clear.
17834         * sysdeps/nacl/lowlevellock.h: New file.
17835         * sysdeps/nacl/lll_timedwait_tid.c: New file.
17837         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
17838         Add TIMEOUT to current time, don't subtract it.
17840 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
17842         [BZ #2981]
17843         [BZ #18422]
17844         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
17845         ($(objpfx)tst-audit2.out): Also depend on
17846         $(objpfx)tst-auditmod9b.so.
17847         * elf/tst-audit2.c: Include <dlfcn.h>.
17848         (calloc_called): New.
17849         (calloc): Allow to be called more than once.
17850         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
17852 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
17854         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
17855         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
17857 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
17859         * stdlib/monetary.h: Fix comment.
17861 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
17863         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
17864         Avoid using variables in #defines that might cause shadowing.
17865         (INTERNAL_VSYSCALL_CALL): Likewise.
17867 2015-05-26  Roland McGrath  <roland@hack.frob.com>
17869         * sysdeps/nacl/lll_timedlock_wait.c: New file.
17871         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
17872         * nptl/lll_timedlock_wait.c: ... to this new file.
17873         * nptl/Makefile (libpthread-routines): Add it.
17874         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
17875         * nptl/lll_timedwait_tid.c: ... to this new file.
17876         * nptl/Makefile (libpthread-routines): Add it.
17877         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
17878         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
17879         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
17880         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
17881         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
17882         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
17883         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
17884         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
17885         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
17886         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
17888 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17890         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
17891         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
17892         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
17893         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
17894         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
17895         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
17896         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
17897         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
17898         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
17899         * sysdeps/unix/sysv/linux/tile/sysdep.h
17900         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
17901         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
17902         using vDSO syscall macro.
17904 2015-05-26  Andriy Rysin  <arysin@gmail.com>
17906         [BZ #17293]
17907         * uk_UA: Fix sorting order for Ukrainian locale
17909 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
17911         * stdlib/monetary.h: Fix comment.
17913 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17915         [BZ #18234]
17916         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
17917         st_mtim and st_ctim members.
17918         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
17919         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
17920         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
17921         (struct stat64): Likewise.
17922         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
17923         (struct stat64): Likewise.
17924         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
17925         (struct stat64): Likewise.
17927 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17929         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
17930         Define and include sysdep-vdso.h.
17931         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
17932         Likewise.
17933         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
17934         Likewise.
17935         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
17936         Define with VDSO_SYMBOL and use PTR_MANGLE.
17937         (__vdso_clock_gettime): Likewise.
17938         (__vdso_clock_getres): Likewise.
17939         (_libc_vdso_platform_setup): Likewise.
17940         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
17941         Likewise.
17942         (_libc_vdso_platform_setup): Likewise.
17943         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
17944         Likewise.
17945         (__vdso_clock_gettime): Likewise.
17946         (__vdso_clock_getres): Likewise.
17947         (__vdso_get_tbfreq): Likewise.
17948         (__vdso_getcpu): Likewise.
17949         (__vdso_time): Likewise.
17950         (__vdso_sigtramp_rt64): Likewise.
17951         (__vdso_signtramp32): Likewise.
17952         (__vdso_sigtramp_rt32): Likewise.
17953         (_libc_vdso_platform_setup): Likewise.
17954         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
17955         Likewise.
17956         (__vdso_clock_gettime): Likewise.
17957         (__vdso_clock_getres): Likewise.
17958         (_libc_vdso_platform_setup): Likewise.
17959         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
17960         Likewise.
17961         (__vdso_clock_gettime): Likewise.
17962         (_libc_vdso_platform_setup): Likewise.
17963         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
17964         Likewise.
17965         (__vdso_getcpu): Likewise.
17966         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
17967         Use VDSO_SYMBOL macro to define.
17968         (__vdso_clock_gettime): Likewise.
17969         (__vdso_clock_getres): Likewise.
17970         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
17971         Likewise.
17972         (__vdso_clock_gettime): Likewise.
17973         (__vdso_clock_getres): Likewise.
17974         (__vdso_get_tbfreq): Likewise.
17975         (__vdso_getcpu): Likewise.
17976         (__vdso_time): Likewise.
17977         (__vdso_sigtramp_rt64): Likewise.
17978         (__vdso_signtramp32): Likewise.
17979         (__vdso_sigtramp_rt32): Likewise.
17980         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
17981         Likewise.
17982         (__vdso_clock_gettime): Likewise.
17983         (__vdso_clock_getres): Likewise.
17984         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
17985         Likewise.
17986         (__vdso_clock_gettime): Likewise.
17987         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
17988         Likewise.
17989         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
17990         macro.
17991         (INTERNAL_VSYSCALL): Likewise.
17992         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
17993         Remove macro.
17994         (INTERNAL_VSYSCALL): Likewise.
17995         (INTERNAL_VSYSCALL_NCS): Likewise.
17996         (INTERNAL_VSYSCALL_CALL): New macro.
17997         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
17998         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
17999         Likewise.
18000         (INTERNAL_VSYSCALL): Likewise.
18001         (INTERNAL_VSYSCALL_NCS): Likewise.
18002         (INTERNAL_VSYSCALL_CALL): New macro.
18003         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
18004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18005         (INLINE_VSYSCALL): Remove macro.
18006         (INTERNAL_VSYSCALL): Remove macro.
18007         (INTERNAL_VSYSCALL_NCS): Remove macro.
18008         (INTERNAL_VSYSCALL_CALL): New macro.
18009         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
18010         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
18011         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
18012         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
18013         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
18014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
18015         (INLINE_VSYSCALL): Remove macro.
18016         (INTERNAL_VSYSCALL): Likewise.
18017         (INTERNAL_VSYSCALL_NCS): Likewise.
18018         (INTERNAL_VSYSCALL_CALL): New macro.
18019         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
18020         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
18021         PTR_DEMANGLE on vDSO pointer.
18022         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
18023         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
18024         macro.
18025         (INTERNAL_SYSCALL): Likewise.
18026         (INTERNAL_VSYSCALL_NCS): Remove macro.
18027         (INTERNAL_VSYSCALL_CALL): New macro.
18028         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
18029         Remove macro.
18030         (INTERNAL_VSYSCALL): Likewise.
18031         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
18032         sysdep-vdso.h instead of libc-vdso.h.
18033         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
18034         definition.
18035         (INLINE_VSYSCALL): Likewise.
18036         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
18037         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
18038         definition.
18039         (INLINE_VSYSCALL): Likewise.
18040         (INTERNAL_VSYSCALL): Likewise.
18041         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
18042         * sysdeps/unix/sysv/linux/timespec_get.c
18043         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
18044         (timespec_get): Use ANSI prototype.
18045         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
18046         and definition for Linux.
18048 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
18050         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
18051         * include/libc-symbols.h: libmvec_hidden_* macro series added.
18053 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
18055         [BZ #2981]
18056         [BZ #18410]
18057         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
18058         for missing DT_PLTRELSZ.
18060 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
18062         Remove obsolete aliases that broke 'locale -a'
18063         [BZ #18412]
18064         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
18065         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
18066         breaking some applications that use 'locale -a' output.
18067         Change the encoding of this file from Latin-1 to ASCII to avoid
18068         other potential problems with people grepping this file.
18070 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18072         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
18073         -fasynchronous-unwind-tables.
18074         (CFLAGS-sendto.c): Likewise.
18075         (CFLAGS-sendmsg.c): Likewise.
18076         (CFLAGS-connect.c): Likewise.
18077         (CFLAGS-recvmsg.c): Likewise.
18078         (CFLAGS-recvfrom.c): Likewise.
18079         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
18080         (SOCKETCALL): New macro: non-cancellable socketcall.
18081         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
18082         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
18083         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
18084         * sysdeps/unix/sysv/linux/accept.c: New file.
18085         * sysdeps/unix/sysv/linux/bind.c: Likewise.
18086         * sysdeps/unix/sysv/linux/connect.c: Likewise.
18087         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
18088         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
18089         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
18090         * sysdeps/unix/sysv/linux/listen.c: Likewise.
18091         * sysdeps/unix/sysv/linux/recv.c: Likewise.
18092         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
18093         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
18094         * sysdeps/unix/sysv/linux/send.c: Likewise.
18095         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
18096         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
18097         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
18098         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
18099         * sysdeps/unix/sysv/linux/socket.c: Likewise.
18100         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
18101         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
18102         prototype.
18103         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
18104         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
18105         instead of __internal_xxx function.
18106         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
18107         prototype.
18108         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
18109         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
18110         instead of __internal_xxx function.
18111         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
18112         prototype.
18113         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
18114         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
18115         instead of __internal_xxx function.
18116         * sysdeps/unix/sysv/linux/accept.S: Remove file.
18117         * sysdeps/unix/sysv/linux/bind.S: Likewise.
18118         * sysdeps/unix/sysv/linux/connect.S: Likewise.
18119         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
18120         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
18121         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
18122         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
18123         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
18124         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
18125         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
18126         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
18127         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
18128         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
18129         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
18130         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
18131         * sysdeps/unix/sysv/linux/listen.S: Likewise.
18132         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
18133         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
18134         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
18135         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
18136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
18137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
18138         * sysdeps/unix/sysv/linux/recv.S: Likewise.
18139         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
18140         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
18141         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
18142         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
18143         * sysdeps/unix/sysv/linux/send.S: Likewise.
18144         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
18145         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
18146         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
18147         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
18148         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
18149         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
18150         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
18151         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
18152         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
18153         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
18154         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
18155         socketcall is implemented in GLIBC.
18157 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
18159         * soft-fp/fmadf4.c: Include <libc-internal.h>.
18160         (__fma): Ignore uninitialized warnings around packing.
18161         * soft-fp/fmasf4.c: Include <libc-internal.h>.
18162         (__fmaf): Ignore uninitialized warnings around packing.
18163         * soft-fp/fmatf4.c: Include <libc-internal.h>.
18164         (__fmal): Ignore uninitialized warnings around packing.
18166         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
18167         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
18168         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
18169         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
18171         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
18172         switch statement into default case.
18173         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
18175         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
18176         a conditional in forcing "inexact".
18177         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
18178         Likewise.
18180 2015-05-22  Roland McGrath  <roland@hack.frob.com>
18182         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
18183         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
18184         for each INTERNAL_SYSCALL use.
18186 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
18188         [BZ #438]
18189         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
18190         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
18191         variable.
18193         [BZ #18444]
18194         * string/basename.c (basename): Rename to __basename and define as
18195         weak alias of __basename.  Use libc_hidden_weak.
18196         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
18197         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
18198         __basename instead of basename.
18199         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
18200         Remove variable.
18201         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
18203 2015-05-18  Florian Weimer  <fweimer@redhat.com>
18205         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
18206         (_IO_JUMPS_FILE_plus): New.
18207         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
18208         _IO_CAST_FIELD_ACCESS.
18209         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
18210         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
18211         * libio/freopen.c (freopen): Likewise.
18212         * libio/freopen64.c (freopen64): Likewise.
18213         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
18214         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
18215         * libio/iofwide.c (_IO_fwide): Likewise.
18216         * libio/memstream.c (open_memstream): Likewise.
18217         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
18218         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
18219         * libio/oldiopopen.c (_IO_old_popen): Likewise.
18221 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
18223         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
18224         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
18225         NADJ.
18226         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
18227         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
18228         NADJ.
18229         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
18230         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
18231         NADJ.
18233         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
18234         (p == 4) case.
18236         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
18237         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
18238         Remove variable.
18239         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
18240         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
18241         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
18243 2015-05-21  Florian Weimer  <fweimer@redhat.com>
18245         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
18246         Adjust jump table label generation macros.
18248 2015-05-21  Florian Weimer  <fweimer@redhat.com>
18250         * stdio-common/vfprintf.c (vfprintf): Move local variables
18251         args_malloced, specs, specs_malloced, and the code after
18252         do_positional to the printf_positional function.
18253         (printf_positional): New function.
18255 2015-05-21  Florian Weimer  <fweimer@redhat.com>
18257         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
18258         function.
18259         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
18260         STEP4_TABLE, process_arg): Move macro definitions
18261         out of the vfprintf function.  (Cosmetic change only.)
18263 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
18265         * benchtests/Makefile (stdio-common-bench): Define.
18266         (benchset): Add stdio-common-bench.
18267         * sprintf-inputs: New file.
18268         * sprintf-source.c: New file.
18270 2015-05-21  Andreas Schwab  <schwab@suse.de>
18272         [BZ #13028]
18273         [BZ #17053]
18274         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
18275         of struct __res_state.
18276         * resolv/res_send.c (__libc_res_nsend): Likewise.
18277         (get_nsaddr): New function.
18278         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
18279         statp directly.
18281 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
18283         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
18284         -D_POSIX_C_SOURCE=199506L.
18286         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
18288         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
18289         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
18290         Do not mention otherwise.
18291         [POSIX] (_XOPEN_VERSION): Do not expect.
18292         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
18293         [POSIX] (_POSIX2_C_BIND): Likewise.
18294         [POSIX] (_POSIX2_VERSION): Likewise.
18295         [POSIX] (_XOPEN_XPG2): Likewise.
18296         [POSIX] (_XOPEN_XPG3): Likewise.
18297         [POSIX] (_XOPEN_XPG4): Likewise.
18298         [POSIX] (_XOPEN_UNIX): Likewise.
18299         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
18300         [POSIX] (_POSIX_BARRIERS): Likewise.
18301         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
18302         [POSIX] (_POSIX_CPUTIME): Likewise.
18303         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
18304         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
18305         [POSIX] (_POSIX_SHELL): Likewise.
18306         [POSIX] (_POSIX_SPAWN): Likewise.
18307         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
18308         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
18309         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
18310         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
18311         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
18312         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
18313         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
18314         [POSIX] (_XBS5_LP64_OFF64): Likewise.
18315         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
18316         [POSIX] (_POSIX_TIMEOUTS): Likewise.
18317         [POSIX] (_POSIX2_PBS): Likewise.
18318         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
18319         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
18320         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
18321         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
18322         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
18323         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
18324         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
18325         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
18326         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
18327         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
18328         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
18329         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
18330         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
18331         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
18332         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
18333         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
18334         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
18335         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
18336         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
18337         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
18338         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
18339         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
18340         [POSIX] (_SC_2_C_BIND): Likewise.
18341         [POSIX] (_SC_2_C_VERSION): Likewise.
18342         [POSIX] (_SC_2_PBS): Likewise.
18343         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
18344         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
18345         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
18346         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
18347         [POSIX] (_SC_2_PBS_TRACK): Likewise.
18348         [POSIX] (_SC_ATEXIT_MAX): Likewise.
18349         [POSIX] (_SC_BARRIERS): Likewise.
18350         [POSIX] (_SC_BASE): Likewise.
18351         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
18352         [POSIX] (_SC_DEVICE_IO): Likewise.
18353         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
18354         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
18355         [POSIX] (_SC_FD_MGMT): Likewise.
18356         [POSIX] (_SC_FIFO): Likewise.
18357         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
18358         [POSIX] (_SC_FILE_LOCKING): Likewise.
18359         [POSIX] (_SC_FILE_SYSTEM): Likewise.
18360         [POSIX] (_SC_IOV_MAX): Likewise.
18361         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
18362         [POSIX] (_SC_NETWORKING): Likewise.
18363         [POSIX] (_SC_PAGE_SIZE): Likewise.
18364         [POSIX] (_SC_PASS_MAX): Likewise.
18365         [POSIX] (_SC_PIPE): Likewise.
18366         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
18367         [POSIX] (_SC_REGEXP): Likewise.
18368         [POSIX] (_SC_SHELL): Likewise.
18369         [POSIX] (_SC_SIGNALS): Likewise.
18370         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
18371         [POSIX] (_SC_SPIN_LOCKS): Likewise.
18372         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
18373         [POSIX] (_SC_USER_GROUPS): Likewise.
18374         [POSIX] (_SC_USER_GROUPS_R): Likewise.
18375         [POSIX] (_SC_STREAMS): Likewise.
18376         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
18377         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
18378         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
18379         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
18380         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
18381         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
18382         [POSIX] (_PC_FILESIZEBITS): Likewise.
18383         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
18384         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
18385         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
18386         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
18387         [POSIX] (uid_t): Likewise.
18388         [POSIX] (gid_t): Likewise.
18389         [POSIX] (off_t): Likewise.
18390         [POSIX] (pid_t): Likewise.
18391         [POSIX] (cuserid): Allow.
18392         (_SC_2_CHAR_TERM): Require constant.
18393         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
18394         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
18395         variable.
18397 2015-05-20  Roland McGrath  <roland@hack.frob.com>
18399         * sysdeps/nacl/pthread-pids.h: New file.
18400         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
18401         (create_thread): Use __nacl_get_tid to initialize PD->tid.
18403         * nptl/pthread-pids.h: New file.
18404         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
18405         * nptl/nptl-init.c: Include <pthread-pids.h>.
18406         (__pthread_initialize_minimal_internal):
18407         Call __pthread_initialize_pids instead of set_tid_address syscall.
18409         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
18410         * sysdeps/posix/usleep.c: ... here.
18412 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18414         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
18415         call_pselect6 object.
18416         [$(subdir) = io]: Remove call_sync_file_range object.
18417         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
18418         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
18419         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
18420         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
18422 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
18424         * math/s_cproj.c: Add include "math_private.h".
18425         * math/s_cprojf.c: Likewise.
18426         * math/s_cprojl.c: Likewise.
18428 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
18430         [BZ #18244]
18431         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
18432         high mantissa bit when testing whether P is a NaN.
18433         * math/libm-test.inc (remainder_test_data): Add more tests.
18434         (remquo_test_data): Likewise.
18436         [BZ #18049]
18437         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
18438         below -32, return the argument, with underflow if subnormal.
18439         * math/auto-libm-test-in: Add more tests of atanh.
18440         * math/auto-libm-test-out: Regenerated.
18442 2015-05-19  Roland McGrath  <roland@hack.frob.com>
18444         [BZ #18434]
18445         * nptl/tst-sem15.c: New file.
18446         * nptl/Makefile (tests): Add it.
18447         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
18448         s/<</>>/ to fix typo in EOVERFLOW check.
18449         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
18451 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
18453         * manual/strings.texi (envz_remove): Fix typo in safety
18454         annotations.
18456 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
18457             Steve Ellcey  <sellcey@imgtec.com>
18459         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
18460         in order to avoid strict alias warnings.
18461         (iruserok_af): Ditto for ra.
18463 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
18465         [BZ #17581]
18466         * malloc/hooks.c
18467         (magicbyte): Convert to a function and avoid returning 0x01.
18468         (mem2mem_check): Avoid using a length byte equal to the magic byte.
18469         (mem2chunk_check): Fix unsigned comparisons to zero.
18470         Hoist defs of sz and magic.
18472 2015-05-19  Richard Henderson  <rth@redhat.com>
18474         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
18476         * sysdeps/alpha/fpu/libm-test-ulps: Update.
18478 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
18480         [BZ #16159]
18481         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
18482         * malloc/arena.c (arena_lock): Check if arena is corrupt.
18483         (reused_arena): Find a non-corrupt arena.
18484         (heap_trim): Pass arena to unlink.
18485         * malloc/hooks.c (malloc_check_get_size): Pass arena to
18486         malloc_printerr.
18487         (top_check): Likewise.
18488         (free_check): Likewise.
18489         (realloc_check): Likewise.
18490         * malloc/malloc.c (malloc_printerr): Add arena argument.
18491         (unlink): Likewise.
18492         (munmap_chunk): Adjust.
18493         (ARENA_CORRUPTION_BIT): New macro.
18494         (arena_is_corrupt): Likewise.
18495         (set_arena_corrupt): Likewise.
18496         (sysmalloc): Use mmap if there are no usable arenas.
18497         (_int_malloc): Likewise.
18498         (__libc_malloc): Don't fail if arena_get returns NULL.
18499         (_mid_memalign): Likewise.
18500         (__libc_calloc): Likewise.
18501         (__libc_realloc): Adjust for additional argument to
18502         malloc_printerr.
18503         (_int_free): Likewise.
18504         (malloc_consolidate): Likewise.
18505         (_int_realloc): Likewise.
18506         (_int_memalign): Don't touch corrupt arenas.
18507         * malloc/tst-malloc-backtrace.c: New test case.
18509         * Makefile (summarize-tests): Fix return value on success.
18511         * manual/string.texi (Envz Functions): Add envz_remove.
18513 2015-05-18  Roland McGrath  <roland@hack.frob.com>
18515         * sysdeps/posix/opendir.c: Include <stdbool.h>.
18516         (invalid_name): New function, broken out of ...
18517         (__opendirat): ... here.  Call it.
18518         (need_isdir_precheck): New function, broken out of ...
18519         (__opendirat): ... here.  Call it.
18520         Use __fxstatat64, not __xstatat64.
18521         (opendir_oflags): New function, broken out of ...
18522         (__opendirat): ... here.  Call it.
18523         (opendir_tail): New function, broken out of ...
18524         (__opendirat): ... here.  Call it.
18525         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
18526         opendir_tail, rather than punting to __opendirat.
18527         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
18529 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
18531         * .gitignore: Ignore generated *.pyc.
18533 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
18535         * include/stdio.h: Define __need_wint_t.
18536         * test-skeleton.c: Avoid `for' loop initial declaration.
18537         * nptl/tst-initializers1.c: Use test-skeleton.c.
18539 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18541         [BZ #18418]
18542         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
18544 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
18546         [BZ #16352]
18547         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
18548         (__ieee754_atanh): Force underflow exception for results with
18549         small absolute value.
18550         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
18551         (__ieee754_atanhf): Force underflow exception for results with
18552         small absolute value.
18553         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
18554         (__ieee754_atanh): Force underflow exception for results with
18555         small absolute value.
18556         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
18557         (__ieee754_atanhf): Force underflow exception for results with
18558         small absolute value.
18559         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
18560         (__ieee754_atanhl): Force underflow exception for results with
18561         small absolute value.
18562         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
18563         (__ieee754_atanhl): Force underflow exception for results with
18564         small absolute value.
18565         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
18566         (__ieee754_atanhl): Force underflow exception for results with
18567         small absolute value.
18568         * math/auto-libm-test-in: Do not allow missing underflow
18569         exceptions from atanh.
18570         * math/auto-libm-test-out: Regenerated.
18572         [BZ #18221]
18573         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
18574         2**-28 as threshold for returning x or +/- 1/x.
18575         * math/auto-libm-test-in: Add more tests of tan.
18576         * math/auto-libm-test-out: Regenerated.
18578         [BZ #18220]
18579         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
18580         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
18581         * math/auto-libm-test-in: Add another test of lgamma.
18582         * math/auto-libm-test-out: Regenerated.
18584 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
18586         * stdio-common/printf_fp.c (___printf_fp): Use abs.
18587         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
18588         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
18589         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
18590         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
18591         (ADD2A): Use fabs.  (SUB2A): Use fabs.
18592         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
18593         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
18594         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
18595         (log1): Use fabs.  (my_log2): Use fabs.
18596         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
18597         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
18598         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
18599         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
18600         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
18601         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
18602         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
18603         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
18604         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
18605         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
18606         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
18608 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
18610         [BZ #18217]
18611         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
18612         as threshold for returning 1 - x.
18613         * math/auto-libm-test-in: Add more tests of erfc.
18614         * math/auto-libm-test-out: Regenerated.
18616 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
18618         [BZ #18196]
18619         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
18620         threshold for large arguments.
18621         * math/auto-libm-test-in: Add another test of atan.
18622         * math/auto-libm-test-out: Regenerated.
18624         [BZ #16339]
18625         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
18626         (__log1p): Force underflow exception for results with small
18627         absolute value.
18628         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
18629         (__log1pf): Force underflow exception for results with small
18630         absolute value.
18631         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
18632         (__log1p): Force underflow exception for results with small
18633         absolute value.
18634         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
18635         (__log1pf): Force underflow exception for results with small
18636         absolute value.
18637         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
18638         (__log1pl): Force underflow exception for results with small
18639         absolute value.
18640         * math/auto-libm-test-in: Do not allow missing underflow
18641         exceptions from log1p.
18642         * math/auto-libm-test-out: Regenerated.
18644 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
18645             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18647         [BZ #16704]
18648         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
18650 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
18652         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
18653         (libmvec): New variable.
18654         * configure.ac: Added option for mathvec build.
18655         * configure: Regenerated.
18656         * mathvec/Depend: New file.
18657         * mathvec/Makefile: New file.
18658         * shlib-versions: Added libmvec.
18659         * math/Makefile: Added rule for libm.so installation.
18661         * bits/math-vector.h: New file.
18662         * bits/libm-simd-decl-stubs.h: New header.
18663         * math/Makefile (headers): Added new header
18664         libm-simd-decl-stubs.h.
18665         * math/math.h (__MATHCALL_VEC): New macro.
18667         * math/gen-libm-have-vector-test.sh: Script generates series of macros
18668         for conditions in testing functions.
18669         * math/Makefile: Added call of libm-have-vector-test.sh.
18670         * math/libm-test.inc (HAVE_VECTOR): New macros.
18672         * math/libm-test.inc: START refactored.
18673         * math/test-double.c (TEST_MATHVEC): Add define.
18674         * math/test-float.c: Likewise.
18675         * math/test-idouble.c: Likewise.
18676         * math/test-ifloat.c: Likewise.
18677         * math/test-ildoubl.c: Likewise.
18678         * math/test-ldouble.c: Likewise.
18679         * sysdeps/generic/math-tests-arch.h
18680         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
18681         architecture check.
18683         * math/test-double.c (FUNC_TEST): New macro.
18684         * math/test-float.c: Likewise.
18685         * math/test-idouble.c: Likewise.
18686         * math/test-ifloat.c: Likewise.
18687         * math/test-ildoubl.c: Likewise.
18688         * math/test-ldouble.c: Likewise.
18689         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
18691 2015-05-13  Roland McGrath  <roland@hack.frob.com>
18693         * sysdeps/nacl/fdopendir.c: New file.
18695         * dirent/scandir-tail.c: New file.
18696         * dirent/scandir64-tail.c: New file.
18697         * dirent/Makefile (routines): Add them.
18698         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
18699         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
18700         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
18701         [!SCANDIR] (SCANDIR_TAIL): New macro.
18702         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
18703         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
18704         (SCANDIRAT): Macro removed.
18705         (SCANDIR_TAIL): New macro.
18706         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
18707         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
18708         (SCANDIRAT): Just call __opendirat and __scandir_tail.
18709         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
18710         (READDIR): Macro removed.
18711         (SCANDIR_TAIL): New macro.
18712         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
18713         (SCANDIR_TAIL): New macro.
18715         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
18716         * dirent/scandir-cancel.c: ... to this new file.
18717         * dirent/Makefile (routines): Add it.
18718         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
18719         * sysdeps/unix/sysv/linux/i386/scandir64.c
18720         (SKIP_SCANDIR_CANCEL): Macro removed.
18721         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
18723         * dirent/tst-scandir.c: New file.
18724         * dirent/tst-scandir64.c: New file.
18725         * dirent/Makefile (tests): Add them.
18727 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
18729         [BZ #18409]
18730         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
18732 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18734         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
18735         list.
18737 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
18739         * benchtests/bench-strcoll.c: New benchmark.
18740         * benchtests/Makefile: Generate locales and run benchmark.
18741         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
18742         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
18743         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
18744         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
18745         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
18746         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
18747         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
18748         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
18749         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
18750         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
18751         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
18752         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
18753         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
18754         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
18755         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
18756         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
18757         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
18758         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
18759         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
18760         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
18761         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
18762         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
18763         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
18764         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
18766 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
18768         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
18769         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
18771 2015-05-12  Roland McGrath  <roland@hack.frob.com>
18773         * posix/uname-values.h: New file.
18774         * posix/uname.c: Include that instead of <config-name.h>.
18775         * sysdeps/nacl/uname-values.h: New file.
18776         * sysdeps/arm/nacl/uname-values.h: New file.
18778 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
18780         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
18781         splitting into fields.
18783 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
18785         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
18786         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
18787         * locale/localeinfo.h: Add enum collation_encoding_type.
18788         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
18789         * programs/ld-collate.c (collate_output): Add encoding type info.
18790         * string/strcoll_l.c (STRDIFF): New function.
18791         * (STRCOLL): Use STRDIFF to skip over equal prefix.
18792         * wcsmbs/wcscoll_l.c: Define STRDIFF.
18794 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
18796         [BZ #18397]
18797         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
18798         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
18799         <fpu_control.h> instead of <math/fpu_control.c>.
18800         * sysdeps/mips/mips32/fpu/Makefile: New file.
18802 2015-05-11  Andreas Schwab  <schwab@suse.de>
18804         [BZ #18007]
18805         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
18806         nss_endgrent.
18807         (_nss_compat_endgrent): Call nss_endgrent.
18808         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
18809         nss_endpwent.
18810         (_nss_compat_endpwent): Call nss_endpwent.
18811         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
18812         needent, call nss_setspent only if non-zero.
18813         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
18814         (internal_endspent): Don't call nss_endspent.
18815         (_nss_compat_endspent): Call nss_endspent.
18816         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
18817         Remove.  All uses removed.
18818         (internal_setent): Remove parameter stayopen, add parameter
18819         stream.  Use it instead of global variable.
18820         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
18821         (internal_endent, internal_getent): Add parameter stream.  Use it
18822         instead of global variable.
18823         (CONCAT(_nss_files_end,ENTNAME))
18824         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
18825         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
18826         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
18827         uses removed.
18828         (internal_setent, internal_endent): Add parameter stream.  Use it
18829         instead of global variable.
18830         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
18831         stream.
18832         (get_next_alias): Add parameter stream.
18833         (_nss_files_getaliasent_r): Pass global stream.
18834         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
18835         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
18836         (_nss_files_gethostbyname4_r): Pass local stream to
18837         internal_setent, internal_getent and internal_endent.  Remove
18838         locking.
18840 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
18842         * tst-strfmon1.c (tests): Update expected currency symbol.
18844 2015-05-08  Roland McGrath  <roland@hack.frob.com>
18846         * sysdeps/nacl/gethostname.c: New file.
18848 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
18850         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
18851         and sinh.
18852         * math/auto-libm-test-out: Regenerated.
18853         * sysdeps/i386/fpu/libm-test-ulps: Update.
18854         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18856 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
18858         [BZ #18125]
18859         * stdlib/tst-setcontext3.c: New file.
18860         * stdlib/tst-setcontext3.sh: New file.
18861         * stdlib/Makefile (tests): Add tst-setcontext3.
18862         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
18863         to verify test program created output file.
18864         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
18865         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
18866         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
18867         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
18869 2015-05-06  Roland McGrath  <roland@hack.frob.com>
18871         [BZ #18383]
18872         * elf/tst-tlsalign.c: New file.
18873         * elf/tst-tlsalign-static.c: New file.
18874         * elf/tst-tlsalign-lib.c: New file.
18875         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
18876         (tests-static): Add tst-tlsalign-static.
18877         (modules-names): Add tst-tlsalign-lib.
18878         (test-xfail-tst-tlsalign): New variable.
18879         (test-xfail-tst-tlsalign-static): New variable.
18881         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
18882         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
18884 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
18886         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
18887         csqrt, erfc, sin and sincos.
18888         * math/auto-libm-test-out: Regenerated.
18889         * sysdeps/i386/fpu/libm-test-ulps: Update.
18890         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18892 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18894         * sysdeps/aarch64/libm-test-ulps: Update.
18896 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
18898         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
18899         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
18900         * math/auto-libm-test-out: Regenerated.
18901         * sysdeps/i386/fpu/libm-test-ulps: Update.
18902         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18904 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
18906         [BZ #18265]
18907         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
18908         (wcsncpy): Likewise.
18910 2015-05-05  Florian Weimer  <fweimer@redhat.com>
18912         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
18913         Assume __ASSUME_FALLOCATE is always true.
18914         * sysdeps/unix/sysv/linux/posix_fallocate64.c
18915         (__posix_fallocate64_l64): Likweise.
18916         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
18917         (posix_fallocate): Likewise.
18918         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
18919         (__posix_fallocate64_l64): Likewise.
18920         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
18921         [!__ASSUME_FALLOCATE]: Add comment.
18923 2015-05-05  Florian Weimer  <fweimer@redhat.com>
18925         * sysdeps/unix/sysv/linux/i386/Makefile
18926         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
18927         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
18928         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
18929         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
18930         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
18931         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
18932         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
18934 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
18936         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
18937         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
18938         tgamma.
18939         * math/auto-libm-test-out: Regenerated.
18940         * sysdeps/i386/fpu/libm-test-ulps: Update.
18941         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18943 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
18945         * math/auto-libm-test-in: Add more tests of tgamma.
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         * math/auto-libm-test-in: Add more tests of tanh.
18951         * math/auto-libm-test-out: Regenerated.
18952         * sysdeps/i386/fpu/libm-test-ulps: Update.
18953         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18955         * math/auto-libm-test-in: Add more tests of tan.
18956         * math/auto-libm-test-out: Regenerated.
18957         * sysdeps/i386/fpu/libm-test-ulps: Update.
18958         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18960         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
18961         * math/auto-libm-test-out: Regenerated.
18962         * sysdeps/i386/fpu/libm-test-ulps: Update.
18963         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18965         * math/auto-libm-test-in: Add another test of pow.
18966         * math/auto-libm-test-out: Regenerated.
18967         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18969         * math/auto-libm-test-in: Add more tests of lgamma.
18970         * math/auto-libm-test-out: Regenerated.
18971         * sysdeps/i386/fpu/libm-test-ulps: Update.
18972         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18974         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
18975         log1p.
18976         * math/auto-libm-test-out: Regenerated.
18977         * sysdeps/i386/fpu/libm-test-ulps: Update.
18978         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18980 2015-05-01  Mark Wielaard  <mjw@redhat.com>
18982         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
18983         Elf64_Chdr structs and ELFCOMPRESS constants.
18985 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
18987         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
18988         expm1.
18989         * math/auto-libm-test-out: Regenerated.
18990         * sysdeps/i386/fpu/libm-test-ulps: Update.
18991         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18993         * math/auto-libm-test-in: Add more tests of erf and erfc.
18994         * math/auto-libm-test-out: Regenerated.
18995         * sysdeps/i386/fpu/libm-test-ulps: Update.
18996         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18998 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19000         * config.h.in (HAVE_AARCH64_BE): Add.
19002 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
19004         * math/auto-libm-test-in: Add more tests of csqrt.
19005         * math/auto-libm-test-out: Regenerated.
19006         * sysdeps/i386/fpu/libm-test-ulps: Update.
19007         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19009         * math/auto-libm-test-in: Add more tests of cosh and sinh.
19010         * math/auto-libm-test-out: Regenerated.
19011         * sysdeps/i386/fpu/libm-test-ulps: Update.
19012         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19014         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
19016 2015-04-29  Roland McGrath  <roland@hack.frob.com>
19018         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
19019         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
19021         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
19022         (euidaccess, eaccess): Define as weak aliases.
19024         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
19025         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
19026         but __suseconds_t is often 'long int' so some sources assume that
19027         type is being used (e.g. they use %ld to print tv_usec).
19029 2015-04-29  Florian Weimer  <fweimer@redhat.com>
19031         [BZ #18007]
19032         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
19033         (CVE-2014-8121)
19034         * nss/tst-nss-getpwent.c: New file.
19035         * nss/Makefile (tests): Add new test.
19037 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
19039         [BZ #18346]
19040         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
19041         exponents less than 48 as cases where high part of mantissa needs
19042         examining to determine whether argument is integral.
19043         * math/libm-test.inc (round_test_data): Add more tests.
19045 2015-04-28  Mark Wielaard  <mjw@redhat.com>
19047         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
19049 2015-04-27  David S. Miller  <davem@davemloft.net>
19051         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
19052         __tls_get_addr.
19053         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
19055 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
19057         [BZ#18333]
19058         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
19060 2015-04-27  Florian Weimer  <fweimer@redhat.com>
19062         [BZ#18333]
19063         * time/tzset.c (parse_tzname): Return error on memory allocation
19064         failure.
19065         * test-skeleton.c (struct temp_name_list): Change type of name
19066         member to non-const.
19067         (add_temp_file): Create a copy of the file name.
19068         (delete_temp_files): Deallocate memory.
19069         (create_temp_file): Add comment.
19071 2015-04-24  Florian Weimer  <fweimer@redhat.com>
19073         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
19074         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
19076 2015-04-24  Roland McGrath  <roland@hack.frob.com>
19078         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
19079         * sysdeps/arm/configure: Regenerated.
19081 2015-04-24  Florian Weimer  <fweimer@redhat.com>
19083         [BZ #17715]
19084         * time/tzfile.c (__tzfile_read): Check for large values of
19085         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
19086         * time/tzset.c (__tzstring_len): New function, based on the old
19087         __tzstring function.
19088         (__tzstring): Call __tzstring_len.
19089         (parse_tzname): New helper function extracted from
19090         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
19091         the input string.
19092         (parse_offset): New helper function extracted from
19093         __tzset_parse_tz.  Replace switch with fallthrough with
19094         initialization before sscanf.
19095         (parse_rule): Likewise.
19096         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
19097         new-style function definition.
19098         * timezone/Makefile (tests): Add tst-tzset.
19099         (tst-tzset.out): Dependencies on time zone files.
19100         (tst-tzset-ENV): Set TZDIR.
19101         (testdata/XT%): Copy crafted time zone files.
19102         * timezone/README: Mention crafted time zone files.
19103         * timezone/testdata/XT1, timezone/testdata/XT2,
19104         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
19105         files.
19106         * timezone/tst-tzset.c: New test.
19108 2015-04-24  Florian Weimer  <fweimer@redhat.com>
19110         * Makeconfig (+gccwarn): Remove -Winline.
19112 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
19114         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
19116 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
19118         * NEWS: Mention sysconf() cache information support for s390.
19119         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
19121 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
19123         * math/k_casinh.c (__kernel_casinh): Use __copysign.
19124         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
19125         (__nearbyint): Likewise.
19126         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
19127         (copysignl): Likewise.
19129 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
19131         [BZ #18287]
19132         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
19133         based on padding.  (CVE-2015-1781)
19135 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19137         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
19138         libc-vdso.h.
19139         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
19140         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
19141         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
19142         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
19143         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
19144         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
19145         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
19146         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
19147         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
19148         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
19149         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
19150         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
19151         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
19152         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
19153         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
19154         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
19155         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
19156         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
19157         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
19158         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
19159         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
19160         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
19161         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
19163 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
19165         * stdlib/setenv.c (__add_to_environ):
19166         Dump core quickly if setenv (..., NULL, ...) is called.
19167         This time, do it the right way, and pacify GCC with a pragma.
19169 2015-04-17  Roland McGrath  <roland@hack.frob.com>
19171         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
19172         IMAP->l_prev cannot be null, and #if out the code for the contrary
19173         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
19174         believe that NS (&_dl_ns[NSID]) could point outside the array.
19176         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
19177         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
19178         before using NSID as an index.
19180 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
19182         [BZ #17825]
19183         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
19184         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
19185         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
19187 2015-04-17  Roland McGrath  <roland@hack.frob.com>
19189         Add preliminary port to Google Native Client on ARM.
19190         * abi-tags (.*-.*-nacl.*): New entry.
19191         * sysdeps/arm/nacl: New directory.
19192         * sysdeps/nacl: New directory.
19194 2015-04-16  David S. Miller  <davem@davemloft.net>
19196         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
19197         lowlevellock-futex.h
19199 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
19201         * sysdeps/tile/configure.ac: New file.
19202         * sysdeps/tile/configure: Regenerated.
19204 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19206         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
19207         conditionals for weak_alias and libc_hidden_weak.
19208         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
19209         libc_hidden_weak and weak_alias.
19210         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
19211         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
19212         and weak_alias for static one.
19214 2015-04-15  David S. Miller  <davem@davemloft.net>
19216         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
19218 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
19220         [BZ #18206]
19221         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
19222           Use signed comparision instead of substraction to avoid
19223           overflow bug.
19224         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
19225           Take the sign of ret.
19226         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
19227           Do not expect precise return values. Only the sign matters.
19228         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
19229         * wcsmbs/test-wcsncmp.c: New File.
19230         * string/test-strncmp.c: Add wcsncmp support.
19232 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
19234         [BZ #6792]
19235         * math/w_log1p.c: New file.
19236         * math/w_log1pf.c: Likewise.
19237         * math/w_log1pl.c: Likewise.
19238         * math/Makefile (libm-calls): Add w_log1p.
19239         * math/s_log1pl.c (log1pl): Remove weak_alias.
19240         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
19241         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
19242         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
19243         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
19244         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
19245         [NO_LONG_DOUBLE] (log1pl): Likewise.
19246         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
19247         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
19248         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
19249         (log1p): Remove long_double_symbol.
19250         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
19251         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
19252         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
19253         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
19254         remove weak_alias for corresponding log1p function.
19255         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
19256         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
19257         * sysdeps/ia64/fpu/w_log1p.c: New file.
19258         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
19259         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
19260         * math/libm-test.inc (log1p_test_data): Add errno expectations.
19262 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
19264         [BZ #18247]
19265         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
19266         decimal exponent by 1.
19267         * stdlib/tst-strtod-round-data: Add more tests.
19268         * stdlib/tst-strtod-round.c (tests): Regenerated.
19270 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
19272         * math/auto-libm-test-in: Add more tests of clog and clog10.
19273         * math/auto-libm-test-out: Regenerated.
19274         * sysdeps/i386/fpu/libm-test-ulps: Update.
19275         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19277 2015-04-09  Roland McGrath  <roland@hack.frob.com>
19279         * Makeconfig (module-cppflags): Exclude all .v.i files.
19280         (skip-module-cppflags): Variable removed.
19282         * configure.ac (libc_config_ok): Initialize before reading
19283         preconfigure scripts, not after.
19284         * configure: Regenerated.
19286         * test-skeleton.c (TIMEOUT): Move #define to top level.
19287         (main): Grok environment variable TEST_DIRECT.  If set, print
19288         test expectation details into that file and then behave as if
19289         given --direct.
19291 2015-04-09  Florian Weimer  <fweimer@redhat.com>
19293         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
19294         warning on 32-bit.
19296 2015-04-08  David S. Miller  <davem@davemloft.net>
19298         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19300 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
19302         * math/auto-libm-test-in: Add more tests of atanh.
19303         * math/auto-libm-test-out: Regenerated.
19304         * sysdeps/i386/fpu/libm-test-ulps: Update.
19305         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19307         * math/auto-libm-test-in: Add more tests of atan.
19308         * math/auto-libm-test-out: Regenerated.
19309         * sysdeps/i386/fpu/libm-test-ulps: Update.
19310         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19312 2015-04-08  Florian Weimer  <fweimer@redhat.com>
19314         * elf/pldd.c (main): Rewrite to use struct
19315         scratch_buffer instead of extend_alloca.
19316         * elf/pldd-xx.c (find_maps): Likewise.
19317         * grp/initgroups.c: Include <scratch_buffer.h> instead of
19318         <alloca.h>.
19319         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
19320         scratch_buffer instead of extend_alloca.
19321         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
19322         grp/compat-initgroups.c.
19323         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
19324         Rewrite to use struct scratch_buffer instead of extend_alloca.
19325         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
19326         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
19328 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
19330         * math/auto-libm-test-in: Add more tests of cbrt.
19331         * math/auto-libm-test-out: Regenerated.
19332         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19334         * math/auto-libm-test-in: Add more tests of cabs.
19335         * math/auto-libm-test-out: Regenerated.
19336         * sysdeps/i386/fpu/libm-test-ulps: Update.
19337         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19339         [BZ #18210]
19340         [BZ #18211]
19341         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
19342         (__ieee754_atan2): Set FE_TONEAREST mode for internal
19343         computations.
19344         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
19345         clog10.
19346         * math/auto-libm-test-out: Regenerated.
19347         * sysdeps/i386/fpu/libm-test-ulps: Update.
19348         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19350         [BZ #18197]
19351         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
19352         (atan): Set FE_TONEAREST mode for internal computations.
19353         * math/auto-libm-test-in: Add more tests of atan.
19354         * math/auto-libm-test-out: Regenerated.
19356 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
19358         [BZ #17930]
19359         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
19361 2015-04-07  Florian Weimer  <fweimer@redhat.com>
19363         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
19365 2015-04-07  Florian Weimer  <fweimer@redhat.com>
19367         * include/scratch_buffer.h: New file.
19368         * malloc/scratch_buffer_grow.c: Likewise.
19369         * malloc/scratch_buffer_grow_preserve.c: Likewise.
19370         * malloc/scratch_buffer_set_array_size.c: Likewise.
19371         * malloc/tst-scratch_buffer.c: Likewise.
19372         * malloc/Makefile (routines): Add scratch_buffer_grow.
19373         (tests): Add test case.
19374         * malloc/Versions (GLIBC_PRIVATE): Export
19375         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
19376         __libc_scratch_buffer_set_array_size.
19378 2015-04-06  Richard Henderson  <rth@redhat.com>
19380         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
19381         * sysdeps/alpha/fpu/libm-test-ulps: Update.
19383         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
19384         unsigned int before printing.
19386 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19388         [BZ #17596]
19389         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
19390         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
19392 2015-04-02  Florian Weimer  <fweimer@redhat.com>
19394         * include/libc-internal.h (libc_max_align_t): Define.
19396 2015-04-02  Andreas Schwab  <schwab@suse.de>
19398         [BZ #16850]
19399         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
19401 2015-04-02  Mel Gorman  <mgorman@suse.de>
19403         [BZ #17195]
19404         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
19405         as well as the main arena.
19407 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
19409         [BZ #18185]
19410         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
19411         sharing L2 cache to 2 for Silvermont/Knights Landing.
19413 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
19415         [BZ #17711]
19416         * config.make.in (have-protected-data): New.
19417         * configure.ac: Check linker support for protected data symbol.
19418         * configure: Regenerated.
19419         * elf/Makefile (modules-names): Add tst-protected1moda and
19420         tst-protected1modb if $(have-protected-data) is yes.
19421         (tests): Add tst-protected1a and tst-protected1b if
19422         $(have-protected-data) is yes.
19423         ($(objpfx)tst-protected1a): New.
19424         ($(objpfx)tst-protected1b): Likewise.
19425         (tst-protected1modb.so-no-z-defs): Likewise.
19426         * elf/tst-protected1a.c: New file.
19427         * elf/tst-protected1b.c: Likewise.
19428         * elf/tst-protected1mod.h: Likewise.
19429         * elf/tst-protected1moda.c: Likewise.
19430         * elf/tst-protected1modb.c: Likewise.
19432 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
19434         [BZ #17711]
19435         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
19436         indicates it is called from do_lookup_x on relocation against
19437         protected data, skip the data definion in the executable from
19438         copy reloc.
19439         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
19440         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
19441         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
19442         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
19443         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
19444         otherwise to 0.
19445         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
19446         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
19447         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
19448         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
19449         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
19450         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
19452 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
19454         * sysdeps/nptl/pthread.h: Remove duplicate definition of
19455         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
19457 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
19459         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
19460         THREAD_SETMEM_NC.
19461         * sysdeps/x86_64/nptl/tls.h: Ditto.
19463 2015-03-27  Roland McGrath  <roland@hack.frob.com>
19465         * dlfcn/tststatic.c (main): Converted to ...
19466         (do_test): ... this.
19467         (TEST_FUNCTION): New macro.
19468         Include test-skeleton.c.
19470 2015-03-26  Alan Modra  <amodra@gmail.com>
19472         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
19473         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
19474         zero for undefined weak.
19475         (elf_machine_plt_conflict): Similarly.
19477 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
19479         * math/auto-libm-test-in: Add more tests of acosh, asinh and
19480         atanh.
19481         * math/auto-libm-test-out: Regenerated.
19482         * sysdeps/i386/fpu/libm-test-ulps: Update.
19483         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19485         * math/auto-libm-test-in: Add another test of asin.
19486         * math/auto-libm-test-out: Regenerated.
19487         * sysdeps/i386/fpu/libm-test-ulps: Update.
19488         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19490         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
19491         Remove macro.
19492         (LLL_EBX_REG): Likewise.
19493         (LLL_ENTER_KERNEL): Likewise.
19495         * math/auto-libm-test-in: Add more tests of asin.
19496         * math/auto-libm-test-out: Regenerated.
19497         * sysdeps/i386/fpu/libm-test-ulps: Update.
19498         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19500         [BZ #18138]
19501         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
19502         libc_do_syscall_args): New structure.
19503         (INTERNAL_SYSCALL_MAIN_0): New macro.
19504         (INTERNAL_SYSCALL_MAIN_1): Likewise.
19505         (INTERNAL_SYSCALL_MAIN_2): Likewise.
19506         (INTERNAL_SYSCALL_MAIN_3): Likewise.
19507         (INTERNAL_SYSCALL_MAIN_4): Likewise.
19508         (INTERNAL_SYSCALL_MAIN_5): Likewise.
19509         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
19510         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
19511         Replace conditional definitions by conditional definitions of ....
19512         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
19513         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
19514         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
19515         (libpthread-sysdep_routines): Add libc-do-syscall.
19516         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
19517         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
19518         to __NR_futex not 240.
19520 2015-03-25  Alan Modra  <amodra@gmail.com>
19522         * NEWS: Advertise TLS optimization.
19523         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
19524         (DT_PPC_NUM): Increment.
19525         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
19526         (CHECK_STATIC_TLS): Use here.
19527         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
19528         TLS descriptors.
19529         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
19530         * sysdeps/powerpc/dl-tls.c: New file.
19531         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
19532         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
19533         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
19534         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
19535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
19536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
19537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
19539 2015-03-25  Alan Modra  <amodra@gmail.com>
19541         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
19542         for overlapping .opd entries" to "support...".
19543         * sysdeps/powerpc/powerpc64/configure: Regenerate
19545 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
19547         * math/auto-libm-test-in: Add more tests of acos.
19548         * math/auto-libm-test-out: Regenerated.
19549         * sysdeps/i386/fpu/libm-test-ulps: Update.
19550         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19552         * math/auto-libm-test-in: Add more tests of expm1.
19553         * math/auto-libm-test-out: Regenerated.
19554         * sysdeps/i386/fpu/libm-test-ulps: Update.
19555         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19557 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
19559         * math/auto-libm-test-in: Add more tests of cosh and sinh.
19560         * math/auto-libm-test-out: Regenerated.
19561         * sysdeps/i386/fpu/libm-test-ulps: Update.
19562         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19564         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
19565         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19567         * math/auto-libm-test-in: Add more tests of log2.
19568         * math/auto-libm-test-out: Regenerated.
19569         * sysdeps/i386/fpu/libm-test-ulps: Update.
19570         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19572 2015-03-23  Roland McGrath  <roland@hack.frob.com>
19574         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
19575         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
19576         _IO_IS_APPENDING bit in READ_WRITE instead.
19578 2015-03-23  Florian Weimer  <fweimer@redhat.com>
19580         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
19581         (__determine_cpumask_size): Replace extend_alloca with a
19582         variable-length array.  Do not treat res == 0 as an error.
19584 2015-03-23  Florian Weimer  <fweimer@redhat.com>
19586         [BZ #18100]
19587         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
19588         and integer overflow.
19589         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
19590         (main): Add integer overflow tests.
19591         * manual/pattern.texi (Calling Wordexp): Document additional use
19592         for WRDE_SYNTAX.
19594 2015-03-23  Alan Modra  <amodra@gmail.com>
19596         * config.h.in: Remove HAVE_ASM_PPC_REL16.
19597         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
19598         and false branch of conditional.
19599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
19600         Likewise.
19602 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
19604         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
19605         libc-modules.h
19606         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
19607         unused declaration of _hurd_intr_rpc_msg_in_trap.
19608         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
19609         defined instead of whether it is non-zero.
19610         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
19611         input constraint instead of both input and output constraint.  Use ecx
19612         clobber instead of %ecx.
19613         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
19614         mutex_unlock): Use a statement expression instead of an expression list.
19615         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
19616         type to vm_size_t instead of vm_address_t.
19617         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
19618         defined instead of whether it is non-zero.
19619         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
19620         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
19621         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
19622         comparisons with mapaddr.
19623         * nscd/nscd-client.h: Include <time.h>.
19624         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
19625         9th parameter to __vm_region instead of int.
19626         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
19627         * scripts/check-local-headers.sh (exclude): Add device/,
19628         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
19629         cthreads.h.
19631 2015-03-19  Roland McGrath  <roland@hack.frob.com>
19633         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
19634         to account for alignment padding.
19635         * sysdeps/arm/memmove.S: Likewise.
19637 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
19639         * sysdeps/unix/sysv/linux/generic/README: New file.
19641 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
19643         [BZ #18138]
19644         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
19645         (futex_abstimed_wait)
19646         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
19647         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
19648         of lll_futex_timed_wait.
19650 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
19652         [BZ #17542]
19653         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
19655 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
19657         [BZ #17090]
19658         [BZ #17620]
19659         [BZ #17621]
19660         [BZ #17628]
19661         * NEWS: Update.
19662         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
19663         entries with Static TLS too.  Skip entries past the end of the
19664         allocated DTV, from Alan Modra.
19665         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
19666         Static TLS DTV entry set up from...
19667         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
19668         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
19669         * nptl/allocatestack.c (init_one_static_tls): ... and here...
19670         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
19671         for Static TLS.
19672         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
19673         that the slot we find is associated with the given map before
19674         using its generation count.
19675         * nptl_db/db_info.c: Include ldsodefs.h.
19676         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
19677         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
19678         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
19679         (link_map::l_tls_offset): New struct field.
19680         (dtv_t::counter): Likewise.
19681         (rtld_global): New struct.
19682         (_rtld_global): New rtld variable.
19683         (dl_tls_dtv_slotinfo_list): New rtld global field.
19684         (dtv_slotinfo_list): New struct.
19685         (dtv_slotinfo): Likewise.
19686         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
19687         (td_lookup): Rename to...
19688         (td_mod_lookup): ... this.  Use new mod parameter instead of
19689         LIBPTHREAD_SO.
19690         * nptl_db/td_thr_tlsbase.c: Include link.h.
19691         (dtv_slotinfo_list, dtv_slotinfo): New functions.
19692         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
19693         addresses even if the DTV is out of date or missing them.
19694         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
19695         index zero-length arrays.
19696         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
19697         (td_lookup): Make it a macro implemented in terms of...
19698         (td_mod_lookup): ... this declaration.
19699         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
19700         (DB_MAIN_VARIABLE): Likewise.
19702 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
19704         [BZ #18134]
19705         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
19707 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
19709         * stdlib/setenv.c (__add_to_environ): Revert previous change.
19711 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
19713         [BZ #18128]
19714         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
19715         (atomic_add, atomic_increment_and_test)
19716         (atomic_decrement_and_test): Fix 64-bit arithmetic.
19718 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
19720         * stdlib/setenv.c (__add_to_environ):
19721         Dump core quickly if setenv (..., NULL, ...) is called.
19723 2015-03-13  Roland McGrath  <roland@hack.frob.com>
19725         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
19726         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
19727         all the necessary asm magic in one place.
19728         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
19729         using those.
19731 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
19733         [BZ #14906]
19734         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
19735         traced file mtime. Use consistent log message.
19736         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
19737         (register_traced_file): Call install_watches. Always set mtime.
19738         (invalidate_cache): Iterate over all trace files. Call install_watches.
19739         (inotify_check_files): Don't inline. Handle watching parent
19740         directories and configuration file movement in and out.
19741         (handle_inotify_events): New function.
19742         (main_loop_poll): Call handle_inotify_events.
19743         (main_loop_epoll): Likewise.
19744         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
19745         (struct traced_file): Use array of inotify fds. Add parent directory,
19746         and basename.
19747         (struct database_dyn): Remove unused file_mtime.
19748         (init_traced_file): New inline function.
19749         (define_traced_file): New macro.
19750         * nss/nss_db/db-init.c: Use define_traced_file.
19751         (_nss_db_init): Use init_traced_file.
19752         * nss/nss_files/files-init.c: Use define_traced_file.
19753         (_nss_files_init): Use init_traced_file.
19755 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
19757         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
19758         [_LIBC]: Do not include <stdlib.h>.
19759         [!_LIBC] (abort): Remove declaration.
19760         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
19761         _FP_STATIC_ASSERT instead of conditionally calling abort.
19762         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
19763         (_FP_EXTEND_CNAN): Likewise.
19764         (FP_TRUNC): Likewise.
19765         (__FP_CLZ): Likewise.
19766         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
19768 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
19770         * manual/string.texi (XPG basename): Fix prototype.
19772 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
19774         [BZ #18080]
19775         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
19776         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
19777         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
19778         (__setcontext): Likewise.
19779         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
19780         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
19781         Call rt_sigprocmask syscall one time to set new signal mask
19782         and retrieve the current signal mask instead of two calls.
19783         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
19784         (__swapcontext): Likewise.
19785         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
19786         * stdlib/tst-setcontext2.c: New file.
19788 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
19790         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19792 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
19794         [BZ #18093]
19795         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
19796         the wrong size.
19798 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
19800         [BZ #18043]
19801         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
19803 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
19805         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
19806         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
19807         Remove define.
19808         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
19809         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
19810         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
19811         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
19812         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
19813         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
19814         define.
19815         * nptl_db/td_symbol_list.c (td_lookup): Remove
19816         HAVE_ASM_GLOBAL_DOT_NAME code.
19817         * sysdeps/powerpc/powerpc64/configure.ac: Remove
19818         HAVE_ASM_GLOBAL_DOT_NAME check.
19819         * sysdeps/powerpc/powerpc64/configure: Regenerate.
19820         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
19821         (DOT_LABEL): Remove define.
19822         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
19823         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
19824         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
19825         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
19826         (__TLS_GET_ADDR): Likewise.
19827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
19828         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
19830 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
19832         [BZ #18111]
19833         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
19834         (_FPU_SETCW): Initialize cw from fpsr before storing.
19835         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
19836         (fesetexceptflag): Rewrite using fpu_control.h.
19837         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
19839 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
19841         [BZ #18110]
19842         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
19843         asms.
19844         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
19846 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
19848         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
19849         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
19850         abort.
19851         (_FP_FMA): Likewise.
19852         (_FP_DIV): Likewise.
19854 2015-03-10  Roland McGrath  <roland@hack.frob.com>
19856         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
19857         with 0 in that case.
19858         * Makefile (summarize-tests): New canned sequence, factored out of
19859         commands for targets tests and xtests.  Display summary lines that
19860         don't start with PASS: or XFAIL: rather than ones that do start with
19861         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
19862         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
19863         do start with ERROR: or FAIL:.
19864         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
19865         (except for [$(build-shared) = yes]).
19866         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
19867         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
19868         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
19869         * nptl/Makefile: Revert 2015-03-04 changes.
19870         [$(CXX) empty] (tests-unsupported): New variable.
19871         * debug/Makefile: Likewise.
19873         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
19874         gnulib file.  Replace __attribute with __attribute__ throughout.
19876 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
19878         * sysdeps/hppa/fpu/libm-test-ulps: Update.
19880 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
19882         [BZ #18104]
19883         * math/auto-libm-test-in: Add another test of pow.
19884         * math/auto-libm-test-out: Regenerated.
19886 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19888         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
19889         $(config-cflags-nofma).
19891 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
19893         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
19894         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
19895         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
19896         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
19897         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
19898         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
19899         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
19900         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
19901         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
19902         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
19903         Add comment on closing #endif.
19905 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
19907         * posix/wordexp.c (CHAR_IN_SET): New macro.
19908         (parse_param): Use it.
19910 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19912         * sysdeps/powerpc/fpu/libm-test-ulps: update.
19914 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
19916         [BZ #18043]
19917         * posix/wordexp.c (parse_param): Fix buffer overflow.
19918         * posix/wordexp-test.c (test_case): Add test case.
19920 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
19922         [BZ #18042]
19923         * posix/wordexp.c (parse_backtick): Fix off-by-one.
19924         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
19926 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
19928         [BZ #18043]
19929         * posix/wordexp-test.c (test_case): Add test for BZ #18043
19930         (do_bz18043): Delete.
19931         (at_page_end): New.
19932         (testit): Refactor to have words at the edge of unreadable page.
19934 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
19936         [BZ #16734]
19937         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
19938         Cleanup read-only streams as well.
19939         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
19941 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19943         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
19944         <bits/libc-lockP.h>
19946 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
19948         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
19949         on [__KERNEL__].
19950         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
19951         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
19952         * soft-fp/op-common.h (_FP_DECL): Likewise.
19954 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
19956         * elf/ifuncdep2.c (global): Replace
19957         __attribute__((visibility("protected"))) with
19958         asm (".protected global").
19959         * elf/ifuncmod1.c (global): Likewise.
19960         * elf/ifuncmod5.c (global): Likewise.
19962 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
19964         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
19965         <asm/sfp-machine.h> instead of <sfp-machine.h>.
19967 2015-03-06  Roland McGrath  <roland@hack.frob.com>
19969         * manual/install.texi (Configuring and compiling):
19970         Document test-wrapper-env-only.
19971         * INSTALL: Regenerated.
19973 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
19975         [BZ #18043]
19976         * posix/wordexp.c (parse_param): Fix buffer overflow.
19977         * posix/wordexp-test.c (do_bz18043): Add test case.
19979 2015-03-06  Vincent Bernat  <vincent@bernat.im>
19981         * time/tst-strptime2.c (do_test): Ensure failing tests are
19982         reported correctly.
19983         * time/tst-strptime3.c (do_test): Likewise.
19985 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
19987         Fix aio_error thread-safety.
19988         * sysdeps/pthread/aio_error.c: New file
19989         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
19990         synchronization.
19992 2015-03-06  Florian Weimer  <fweimer@redhat.com>
19994         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
19995         (group_number, vfprintf): Use it.
19996         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
19997         (JUMP, REF): Use it.
19998         (WORK_BUFFER_SIZE): New enum constant.
19999         (process_arg, vfprintf): Use it.
20001 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
20003         * manual/errno.texi (Error Messages): Complete example function
20004         by adding missing #define.
20005         (program_invocation_name): Add statement indicating GNU
20006         extension and reference which header file declares the variable.
20007         (program_invocation_short_name): Likewise.
20009 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
20011         * manual/errno.texi (Error Messages): Delete strerror ISO C89
20012         compatibility note.
20014 2015-03-05  Roland McGrath  <roland@hack.frob.com>
20016         * Makeconfig (test-wrapper-env-only): New variable.
20017         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
20018         then use that with $(test-wrapper-env-only) rather than using
20019         $(test-wrapper-env) $(run-program-env) $($*-ENV).
20021 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
20023         [BZ #18082]
20024         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
20025         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
20026         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
20027         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
20028         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
20029         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
20030         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
20031         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
20032         Likewise.
20033         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
20034         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
20035         Likewise.
20036         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
20037         Likewise.
20038         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
20039         Likewise.
20040         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
20041         Likewise.
20042         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
20043         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
20044         Likewise.
20045         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
20046         Likewise.
20047         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
20048         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
20050 2015-03-04  Roland McGrath  <roland@hack.frob.com>
20052         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
20053         (ETH_ALEN): New macro.
20054         (struct ether_addr): Use it for length of ether_addr_octet.
20056         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
20057         (setdb): Don't call __nss_configure_lookup for "rpc".
20058         (do_test): Don't call test_rpc.
20059         (output_rpcent, test_rpc): Functions moved ...
20060         * sunrpc/test-rpcent.c: ... to this new file.
20061         * sunrpc/Makefile (tests): Add it.
20063         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
20064         __xpg_sigpause.
20065         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
20066         * nptl/tst-signal6.c: Likewise.
20067         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
20068         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
20070         * configure.ac (libc_cv_cxx_link_ok): New check.
20071         Reset CXX to empty if it fails to link.
20072         * configure: Regenerated.
20073         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
20074         bug-atexit3-lib only if $(CXX) is nonempty.
20075         * nptl/Makefile (tests): Likewise for tst-cancel24.
20076         (tests, tests-static): Likewise for tst-cancel24-static.
20077         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
20078         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
20079         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
20080         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
20082 2015-03-04  Andreas Schwab  <schwab@suse.de>
20084         [BZ #17631]
20085         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
20086         for non-GCC compilers.
20087         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
20088         Likewise.
20090 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
20092         [BZ #17776]
20093         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
20094         integer before bitwise and assembly operations.
20095         (feclearexcept): Likewise.
20096         * math/test-fenvinline.c: New file.
20097         * math/Makefile: Add test-fenvinline test.
20099 2015-03-03  Alan Modra  <amodra@gmail.com>
20101         [BZ #16512]
20102         * scripts/localplt.awk: Strip off symbol version.
20103         * NEWS: Mention bug fix.
20105 2015-03-02  Roland McGrath  <roland@hack.frob.com>
20107         * sysdeps/pthread/timer_routines.c
20108         (timer_free_list, thread_free_list, thread_active_list): Make static.
20110 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
20112         [BZ #17779]
20113         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
20114         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
20115         Undefine.
20116         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20117         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
20118         Likewise.
20119         * sysdeps/unix/sysv/linux/sh/kernel-features.h
20120         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
20121         Likewise.
20123 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
20125         [BZ #18036]
20126         * posix/fnmatch_loop.c (END): Detect invalid pattern.
20127         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
20129 2015-03-02  Andreas Schwab  <schwab@suse.de>
20131         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
20132         variable name.
20134 2015-03-02  Florian Weimer  <fweimer@redhat.com>
20136         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
20137         Return error status.
20139 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
20141         [BZ #15969]
20142         * locale/findlocale.c (_nl_find_locale): Introduce const
20143         version of loc_name and drop unsafe type casts.
20145 2015-02-27  Roland McGrath  <roland@hack.frob.com>
20147         * dlfcn/tststatic2.c (main): Converted to ...
20148         (do_test): ... this.
20149         (TEST_FUNCTION): New macro.
20150         Include test-skeleton.c.
20152 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
20154         [BZ #17711]
20155         * elf/Makefile (tests): Add vismain only if PIE is enabled.
20156         (tests-pie): Add vismain.
20157         (CFLAGS-vismain.c): New.
20158         * elf/vismain.c: Add comments for PIE requirement.
20160 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
20162         [BZ #18046]
20163         [BZ #18047]
20164         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
20165         0x1p-56L as threshold for just returning the argument.
20166         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
20167         0x1p-32L as threshold for just returning the argument.
20168         * math/auto-libm-test-in: Add more tests of atanh.
20169         * math/auto-libm-test-out: Regenerated.
20170         * sysdeps/i386/fpu/libm-test-ulps: Update.
20171         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
20173 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
20175         * string/bcopy.c (bcopy): Call memmove for performance.
20177 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
20179         * string/bzero.c (__bzero): Call memset for performance.
20181 2015-02-27  John David Anglin  <dave.anglin@bell.net>
20183         [BZ #18068]
20184         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
20185         to 00100000.
20187 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
20189         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
20191 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
20193         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
20194         (__kernel_standard): Use CSTR macro when setting exc.name.
20195         * sysdeps/ieee754/Makefile [$(subdir) = math]
20196         (CFLAGS-k_standard.c): Remove variable.
20198         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
20199         setting p and q from "else if" to "else".
20200         (qzero): Likewise.
20201         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
20202         (qone): Likewise.
20203         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
20204         (qzerof): Likewise.
20205         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
20206         (qonef): Likewise.
20207         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
20208         (qzero): Likewise.
20209         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
20210         (qone): Likewise.
20212         [BZ #18038]
20213         [BZ #18039]
20214         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
20215         return pi/2 for arguments below 0x1p-113L.
20216         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
20217         return pi/2 for arguments below 0x1p-106L.
20218         * math/auto-libm-test-in: Add more tests of acos.
20219         * math/auto-libm-test-out: Regenerated.
20221         [BZ #16351]
20222         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
20223         (MO): New macro.
20224         (__ieee754_asin): Force underflow exception for results with small
20225         absolute value.
20226         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
20227         (MO): New macro.
20228         (__ieee754_asinf): Force underflow exception for results with
20229         small absolute value.
20230         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
20231         (__ieee754_asin): Force underflow exception for results with small
20232         absolute value.
20233         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
20234         (__ieee754_asinf): Force underflow exception for results with
20235         small absolute value.
20236         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
20237         (__ieee754_asinl): Force underflow exception for results with
20238         small absolute value.
20239         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
20240         (__ieee754_asinl): Force underflow exception for results with
20241         small absolute value.
20242         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
20243         (__ieee754_asinl): Force underflow exception for results with
20244         small absolute value.
20245         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
20246         Include <math.h>.
20247         * math/auto-libm-test-in: Do not mark underflow exceptions as
20248         possibly missing for bug 16351.
20249         * math/auto-libm-test-out: Regenerated.
20251         [BZ #18030]
20252         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
20253         of power of 2 down when low part has opposite sign.
20254         * math/libm-test.inc (logb_test_data): Add more tests.
20256 2015-02-26  Andreas Schwab  <schwab@suse.de>
20258         [BZ #18032]
20259         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
20260         over collating symbol inside a bracket expression.  Minor cleanup.
20261         * posix/tst-fnmatch3.c (do_test): Add test case.
20263 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
20265         [BZ #18029]
20266         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
20267         Adjust exponent of power of 2 down when low part has opposite
20268         sign.
20269         * math/libm-test.inc (ilogb_test_data): Add more tests.
20271 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
20273         [BZ #15969]
20274         * locale/findlocale.c (_nl_find_locale): Fix constness error in
20275         the previous change.
20277         [BZ #15969]
20278         * locale/findlocale.c (_nl_find_locale): Retry archive search
20279         after alias expansion.
20281 2015-02-25  Roland McGrath  <roland@hack.frob.com>
20283         * iconv/tst-iconv3.c (main): Converted to ...
20284         (do_test): ... this.
20285         (TEST_FUNCTION): New macro.
20286         Include test-skeleton.c.
20288         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
20289         (convert): Make function static.
20290         (test_unalign): Likewise.  Add const to argument pointee types.
20291         (main): Replace with static function do_test.
20292         Print "Succeeded." only if RET is zero.
20293         (TEST_FUNCTION): New macro.
20294         Include test-skeleton.c.
20296         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
20297         returns a null pointer.
20299 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20301         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
20302         to __memcpy_ppc only for static builds.
20304 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
20306         [BZ #18020]
20307         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
20308         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
20309         * math/auto-libm-test-in: Add more tests of asinh.
20310         * math/auto-libm-test-out: Regenerated.
20311         * sysdeps/i386/fpu/libm-test-ulps: Update.
20312         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20314 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
20316         [BZ #15850]
20317         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
20318         and ip6_mtuinfo definitions here.
20319         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
20320         in this define too.  Update comment.
20322 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
20324         * elf/sprof.c (load_shobj): Tweak error message to match others.
20326 2015-02-24  Kevin Easton  <kevin@guarana.org>
20328         [BZ #16145] (partial fix)
20329         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
20330         to reduce lock contention.
20332 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
20334         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
20335         (struct timex): Update time comment.
20336         (ADJ_SETOFFSET): Define.
20338 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
20340         [BZ #18019]
20341         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
20342         2**56 not 2**28 as threshold for log (2x) formula.
20343         * math/auto-libm-test-in: Add more tests of acosh.
20344         * math/auto-libm-test-out: Regenerated.
20345         * sysdeps/i386/fpu/libm-test-ulps: Update.
20346         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20348 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
20350         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
20351         parenthesis around the buf assignment.
20352         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
20354 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
20356         [BZ #16783]
20357         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
20358         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
20359         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
20360         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
20361         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
20362         * math/libm-test.inc (scalb_test_data): Add more tests.
20364 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
20366         [BZ #17916]
20367         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
20368         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
20370 2015-02-24  Eric Rannaud  <e@nanocritical.com>
20372         [BZ #17523]
20373         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
20374         * io/bits/fcntl2.h (open): Use it.
20375         (openat): Likewise.
20376         * io/open.c (__libc_open): Likewise.
20377         * io/open64.c (__libc_open64): Likewise.
20378         * io/open64_2.c (__open64_2): Likewise.
20379         * io/open_2.c (__open_2): Likewise.
20380         * io/openat.c (__openat): Likewise.
20381         * io/openat64.c (__openat64): Likewise.
20382         * io/openat64_2.c (__openat64_2): Likewise.
20383         * io/openat_2.c (__openat_2): Likewise.
20384         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
20385         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
20386         * sysdeps/posix/open64.c (__libc_open64): Likewise.
20387         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
20388         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
20389         (__open_nocancel): Likewise.
20390         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
20391         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
20392         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
20394 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20396         [BZ #14841]
20397         * resolv/gethnamaddr.c (getanswer): Skip logging if
20398         RES_USE_DNSSEC is set.
20399         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
20401 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
20403         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
20405 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
20407         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
20408         201304L, for Unicode 7.
20410 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
20412         [BZ #17836]
20413         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
20414         shared library.  Add gmon-start.os otherwise.
20415         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
20416         $(objpfx)gmon-start.os if builing shared library.
20417         ($(objpfx)g$(static-start-installed-name)): Likewise.
20419 2015-02-23  Andreas Schwab  <schwab@suse.de>
20421         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
20423 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
20425         [BZ #17269]
20426         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
20427         (enlarge_userbuf): Likewise.
20429 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
20431         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
20432         * math/atest-exp.c (TIMEOUT): Adjust to 200.
20433         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
20434         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
20436 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
20438         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
20439         expression inside statement expression.
20441 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
20443         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
20444         <sysdeps/nptl/lowlevellock.h> and remove macros and
20445         functions that are now defined there.
20446         (SYS_futex): Remove.
20447         (lll_compare_and_swap): Remove.
20448         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
20450 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
20452         [BZ #17999]
20453         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
20454         instead of scandirat.
20455         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
20456         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
20457         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
20458         __scandirat.
20459         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
20460         (__scandirat): Declare.  Use libc_hidden_proto.
20461         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
20462         Remove variable.
20463         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
20465 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
20467         [BZ #15319]
20468         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
20469         (MO): New macro.
20470         (__ieee754_atan2): For results with small absolute value, force
20471         underflow exception and remove excess range and precision from
20472         return value.
20473         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
20474         (MO): New macro.
20475         (__ieee754_atan2f): For results with small absolute value, force
20476         underflow exception and remove excess range and precision from
20477         return value.
20478         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
20479         (MO): New macro.
20480         (__atan): For results with small absolute value, force underflow
20481         exception and remove excess range and precision from return value.
20482         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
20483         (MO): New macro.
20484         (__atanf): For results with small absolute value, force underflow
20485         exception and remove excess range and precision from return value.
20486         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
20487         <math.h>.
20488         (__ieee754_atan2): Force underflow exception for results with
20489         small absolute value.
20490         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
20491         <math_private.h>.
20492         (atan): Force underflow exception for results with small absolute
20493         value.
20494         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
20495         (__atanf): Force underflow exception for results with small
20496         absolute value.
20497         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
20498         <math.h>.
20499         (__atanl): Force underflow exception for results with small
20500         absolute value.
20501         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
20502         (__atanl): Force underflow exception for results with small
20503         absolute value.
20504         * sysdeps/x86/fpu/bits/mathinline.h
20505         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
20506         (__ieee754_atan2): Only define inline for long double.
20507         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
20508         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
20509         * math/auto-libm-test-in: Do not mark underflow exceptions as
20510         possibly missing for bug 15319.  Add more tests of atan2.
20511         * math/auto-libm-test-out: Regenerated.
20512         * math/libm-test.inc (casin_test_data): Do not mark underflow
20513         exceptions as possibly missing for bug 15319.
20514         (casinh_test_data): Likewise.
20515         * sysdeps/i386/fpu/libm-test-ulps: Update.
20517 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
20519         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
20520         * sysdeps/mips/bits/endian.h: Fix comments.
20522 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
20524         [BZ #17996]
20525         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
20526         (hdestroy_r): Likewise.
20527         (hsearch_r): Likewise.
20528         (__hcreate_r): Declare and use libc_hidden_proto.
20529         (__hdestroy_r): Likewise.
20530         (__hsearch_r): Likewise.
20531         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
20532         (hcreate): Call __hcreate_r instead of hcreate_r.
20533         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
20534         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
20535         as weak alias of __hcreate_r.
20536         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
20537         __hdestroy_r.
20538         (hsearch_r): Rename to __hsearch_r and define as weak alias of
20539         __hsearch_r.
20540         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
20541         Remove variable.
20542         (test-xfail-XPG4/search.h/linknamespace): Likewise.
20543         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
20544         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
20545         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
20547 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
20549         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
20550         arena_lock into a single arena_get.
20552 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
20554         * dl-reloc.c: Inlucde libc-internal.h.
20555         (_dl_try_allocate_static_tls): Call ALIGN_UP.
20556         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
20557         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
20558         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
20559         (grow_heap): Likewise.
20560         * malloc/malloc.c: Include libc-internal.h.
20561         (do_check_malloc): Call powerof2.
20562         (sysmalloc): Use pagesize. Call ALIGN_UP.
20563         (systrim): Use pagesize.
20564         (mremap_chunk): Use pagesize. Call ALIGN_UP.
20565         (__libc_valloc): Use pagesize.
20566         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
20568 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
20570         [BZ #17991]
20571         * include/sys/resource.h (__getrlimit64): Declare.  Use
20572         libc_hidden_proto.
20573         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
20574         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
20575         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
20576         getrlimit64.
20577         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
20578         __getrlimit64.
20579         [!getrlimit64] (getrlimit64): Define as weak alias of
20580         __getrlimit64.  Use libc_hidden_weak.
20581         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
20582         using __getrlimit64 not __new_getrlimit64.
20583         (__GI_getrlimit64): Likewise.
20584         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
20585         Likewise.
20586         (__GI_getrlimit64): Likewise.
20587         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
20588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
20589         (getrlimit): Add __getrlimit64 alias.
20590         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
20591         Likewise.
20592         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
20593         Remove variable.
20594         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
20595         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
20597 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
20599         * libio/fileops.c: Add missing sys/mman.h
20600         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
20602 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
20604         * manual/math.texi (Errors in Math Functions): Clarify goals
20605         regarding inexact and underflow exceptions.
20607 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
20609         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
20610         * sysdeps/mips/memset.S: Ditto.
20612 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
20614         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
20616 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
20618         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
20619         (__v1longjmp): Remove versioned symbol.
20620         (__v1siglongjmp): Remove alias and versioned symbol.
20621         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
20622         (__v2siglongjmp): Likewise.
20624 2015-02-16  Torvald Riegel  <triegel@redhat.com>
20626         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
20628 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
20630         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
20632 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
20634         [BZ #17987]
20635         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
20636         zero result does not depend on the sign resulting from
20637         subtraction.
20638         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
20639         Likewise.
20640         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
20641         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
20642         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
20643         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
20644         * math/libm-test.inc (remquo_test_data): Add more tests.
20646 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
20648         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
20649         Problem reported by J William Piggott.
20651 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
20653         [BZ #17978]
20654         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
20655         products 4 * y and 2 * y where those would overflow.
20656         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
20657         Likewise.
20658         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
20659         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
20660         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
20661         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
20662         * math/libm-test.inc (remquo_test_data): Add more tests.
20664         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
20666         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
20667         [defined _COMPILING_NEWLIB].
20668         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
20669         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
20671         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
20672         [!defined __mips_isa_rev || __mips_isa_rev < 6].
20674 2015-02-16  Torvald Riegel  <triegel@redhat.com>
20676         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
20677         acquired.
20679 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
20681         [BZ #17792]
20682         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
20683         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
20684         HOST_STACK_END_ADDR): Likewise.
20686 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
20688         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
20689         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
20690         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
20692 2015-02-13  Roland McGrath  <roland@hack.frob.com>
20694         * sysdeps/generic/c++-types.data: New file.
20695         * sysdeps/generic/ld.abilist: New file.
20696         * sysdeps/generic/libBrokenLocale.abilist: New file.
20697         * sysdeps/generic/libanl.abilist: New file.
20698         * sysdeps/generic/libc.abilist: New file.
20699         * sysdeps/generic/libcrypt.abilist: New file.
20700         * sysdeps/generic/libdl.abilist: New file.
20701         * sysdeps/generic/libm.abilist: New file.
20702         * sysdeps/generic/libpthread.abilist: New file.
20703         * sysdeps/generic/libresolv.abilist: New file.
20704         * sysdeps/generic/librt.abilist: New file.
20706 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
20708         [BZ #17569]
20709         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
20710         Compute absolute value of x as modified by fmod, not original
20711         value of x.
20712         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
20713         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
20714         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
20715         RUN_TEST_ffI_f1_mod8.
20716         (remquo_test_data): Add more tests.
20718 2015-02-13  Roland McGrath  <roland@hack.frob.com>
20720         * sysdeps/init_array/pt-crti.S: New file.
20722 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
20724         [BZ #17967]
20725         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
20726         __builtin_fmaf instead of relying on contraction of a * b + c.
20728 2015-02-12  J William Piggott  <elseifthen@gmx.com>
20730         [BZ #17969]
20731         * manual/time.texi: correct the zoneinfo path in the TZ Variable
20732         node.
20734 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
20736         [BZ #17964]
20737         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
20738         __builtin_fma instead of relying on contraction of a * b + c.
20740 2015-02-12  Roland McGrath  <roland@hack.frob.com>
20742         * Makeconfig (ASFLAGS): Add -Werror=undef.
20743         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
20744         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
20745         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
20747         * Makeconfig (after-link): New variable.
20748         (+link-pie, +link-pie-tests): Use it.
20749         (+link-static, +link-static-tests): Likewise.
20750         (+link, +link-tests): Likewise.
20751         * Makerules (build-module, build-module-asneeded): Likewise.
20752         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
20753         Likewise.
20754         * elf/Makefile ($(objpfx)ld.so): Likewise.
20756 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
20758         [BZ #17965]
20759         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
20760         both struct timeval and struct timespec.
20762 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
20764         [BZ #16560]
20765         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20766         and redefine.
20767         (__ieee754_exp2l): Do not multiply small fractional parts by
20768         M_LN2l.
20769         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
20770         small argument.
20771         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
20772         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
20773         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
20774         * math/auto-libm-test-in: Add more tests of exp2.
20775         * math/auto-libm-test-out: Regenerated.
20777 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20779         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
20780         unaligned path.
20782 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20784         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
20785         little endian.
20787 2015-02-12  Andreas Schwab  <schwab@suse.de>
20789         [BZ #15790]
20790         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
20791         Filter out elision flags from value returned in kind.
20792         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
20793         * nptl/tst-pthread-mutexattr.c: New file.
20795 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20797         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
20798         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
20799         into gnu-gnu, and update comment to refer to abi-tags.
20801 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
20803         [BZ #15467]
20804         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
20805         (__sincos): Set errno to EDOM for infinite argument.
20806         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
20807         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
20808         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
20809         (__sincosl): Set errno to EDOM for infinite argument.
20810         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
20811         (__sincosl): Set errno to EDOM for infinite argument.
20812         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
20813         (__sincosl): Set errno to EDOM for infinite argument.
20814         * math/libm-test.inc (sincos_test_data): Test errno setting.
20816 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
20818         * string/strxfrm_l.c: Remove #define STRCMP.
20819         * string/strcoll_l.c: Remove #define STRLEN.
20820         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
20821         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
20823 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
20825         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
20826         * sysdeps/mips/mips32/sfp-machine.h: ... here.
20827         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
20828         * sysdeps/mips/mips64/Makefile: ... here.
20829         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
20830         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
20831         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
20832         * sysdeps/mips/mips64/sfp-machine.h: ... here.
20833         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
20834         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
20835         * sysdeps/mips/mips64/n64/Implies: Likewise.
20837 2015-02-10  Roland McGrath  <roland@hack.frob.com>
20839         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
20840         <sys/time.h>, <string.h>, and <errno.h>.
20841         (dest_offset, dest_address, value, zero): Remove unused variables.
20842         (ldouble): Remove typedef.
20843         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
20844         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
20845         1).  Fix code style.
20846         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
20847         (check): Function removed.
20848         (CHECK): New macro.
20849         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
20850         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
20851         Don't call set_sigaction_FP and remove_sigaction_FP here.
20852         (ldouble_test): Just use 'long double' as macro argument, no need for
20853         the 'ldouble' typedef.
20854         (do_test): Set up SIGFPE handler at start, using plain signal rather
20855         than sigaction.  Fix code style.
20857 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
20859         [BZ #17949]
20860         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
20861         jump label.
20863 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
20865         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
20866         * sysdeps/powerpc/powerpc32/configure: Regenerated.
20868         * sysdeps/powerpc/configure.ac: Remove file.
20869         * sysdeps/powerpc/configure: Likewise.
20871         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
20872         [sysdep_routines]: Remove wordcopy-power6 object.
20873         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
20874         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
20875         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
20876         (__memmove_ppc32): Likewise.
20877         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
20878         file.
20879         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
20880         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
20881         Remove preprocessor.
20883         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
20884         [sysdep_routines]: Remove wide chars objects.
20885         [wcsmbs]: New rule for wide char objects.
20887         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20888         Remove wordcopy-power6 obejct.
20889         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
20890         Use local call for wordcopy and memcpy symbols.
20891         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
20892         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
20893         implementation for loader.
20894         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
20896         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20897         Remove wordcopy-power7 object.
20898         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
20899         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
20900         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
20901         (_wordcopy_fwd_dest_aligned): Likewise.
20902         (_wordcopy_bwd_aligned): Likewise.
20903         (_wordcopy_bwd_dest_aligned): Likewise.
20905         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
20906         Rewrite to call __memmove_ppc instead of include default
20907         implementation.
20909         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20910         Remove wide chars objects.
20911         [wcsmbs]: New rule for wide char objects.
20913 2015-02-09  Andreas Schwab  <schwab@suse.de>
20915         [BZ #17912]
20916         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
20917         in terms of __O_DIRECTORY.
20919 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20921         * time/getdate.c: Include <stdbool.h>.
20922         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
20923         call PTR_MANGLE.
20924         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
20925         PTR_DEMANGLE.
20927 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
20929         Add ersatz _Static_assert on older C hosts
20930         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
20931         pre-C11 C platform that is not known to support _Static_assert.
20933 2015-02-07  Richard Braun  <rbraun@sceen.net>
20935         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
20936         sigstate.
20937         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
20939 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20941         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
20942         priority against unexistent AIO_PRIO_DELTA_MAX.
20943         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
20944         instead of int.
20945         * misc/fchflags.c (fchflags): Likewise.
20946         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
20947         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
20948         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
20949         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
20950         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
20951         Declare macros.
20952         [__USE_MISC] (chflags, fchflags): Declare functions.
20953         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
20954         EINVAL when nfds is greater than FD_SETSIZE.
20955         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
20956         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
20957         45.
20958         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
20959         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
20960         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
20961         MACH_RCV_TIMED_OUT.
20962         * hurd/hurd/signal.h (_hurd_self_sigstate,
20963         _hurd_critical_section_lock, _hurd_critical_section_unlock):
20964         Explicit casts from void *.
20965         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
20966         * abi-tags: Rename gnu-gnu os into gnu.
20968         [BZ #4719]
20969         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
20970         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
20971         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
20972         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
20973         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
20974         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
20976         [BZ #17944]
20977         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
20978         duplicates ADDR->sun_path with sockaddr LEN limitation.
20979         * sysdeps/mach/hurd/connect.c: Include <string.h>
20980         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
20981         * sysdeps/mach/hurd/sendmsg.c: Likewise.
20982         * sysdeps/mach/hurd/sendto.c: Likewise.
20983         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
20984         implementing it by hand.
20986 2015-02-06  Roland McGrath  <roland@hack.frob.com>
20988         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
20989         Use sfi_breg on ldr.
20990         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
20991         Likewise.
20993         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
20994         it's defined.
20995         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
20996         Test SIGSETXID only if it's defined.
20998         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
21000         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
21001         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
21003         * nptl/tst-align2.c: Moved ...
21004         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
21005         * nptl/Makefile (tests): Remove tst-align2.
21006         * sysdeps/unix/sysv/linux/Makefile
21007         [$(subdir) = nptl] (tests): Add tst-align-clone.
21008         * nptl/tst-getpid1.c: Moved ...
21009         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
21010         * nptl/tst-getpid2.c: Moved ...
21011         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
21012         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
21013         * sysdeps/unix/sysv/linux/Makefile
21014         [$(subdir) = nptl] (tests): ... here.
21015         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
21016         * sysdeps/unix/sysv/linux/Makefile
21017         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
21019         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
21020         Drop trailing \n from perror argument.  Use return rather than exit.
21022         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
21023         on [SA_SIGINFO].
21024         * nptl/tst-cancel21.c (do_test): Likewise.
21025         * debug/tst-backtrace6.c: Include <signal.h> first thing.
21026         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
21027         [!SA_SIGINFO]: Make it a stub test.
21029         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
21030         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
21032         * posix/tst-getlogin.c: Move to ...
21033         * login/tst-getlogin.c: ... here.
21034         * posix/Makefile (tests): Move tst-getlogin to ...
21035         * login/Makefile (tests): ... here.
21037         * libio/tst-atime.c (do_test): Move local variables SV and E
21038         inside [ST_NOATIME] conditional.
21040         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
21042         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
21044         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
21045         (wait_code): New function replaces macro.
21046         Call nanosleep rather than syscall.
21048         * nptl/pt-system.c: Rewritten.  Put everything under
21049         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
21050         Use IFUNC to redirect when possible.
21052         * nptl/pt-longjmp.c: Rewritten.  Put everything under
21053         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
21054         Use IFUNC to redirect when possible.
21056         * nptl/pt-fork.c: Rewritten.  Put everything under
21057         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
21058         Use IFUNC to redirect when possible.
21059         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
21061         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
21062         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
21063         unconditionally nowadays.  This included the only reference to
21064         __vdso_clock_gettime that appears outside libc proper.
21065         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
21066         Remove version set (containing only __vdso_clock_gettime).
21067         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
21068         Add attribute_hidden.
21069         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
21070         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
21071         libc_hidden_data_def.
21072         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
21073         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
21075         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
21076         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
21077         setrpcent, and getrpcport to ...
21078         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
21079         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
21080         getrpcbynumber_r, and getrpcent_r to ...
21081         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
21082         * inet/getrpcbyname.c: Moved ...
21083         * sunrpc/getrpcbyname.c: ... here.
21084         * inet/getrpcbyname_r.c: Moved ...
21085         * sunrpc/getrpcbyname_r.c: ... here.
21086         * inet/getrpcbynumber.c: Moved ...
21087         * sunrpc/getrpcbynumber.c: ... here.
21088         * inet/getrpcbynumber_r.c: Moved ...
21089         * sunrpc/getrpcbynumber_r.c: ... here.
21090         * inet/getrpcent.c: Moved ...
21091         * sunrpc/getrpcent.c: ... here.
21092         * inet/getrpcent_r.c: Moved ...
21093         * sunrpc/getrpcent_r.c: ... here.
21094         * inet/Makefile (routines): Move those to ...
21095         * sunrpc/Makefile (routines): ... here.
21096         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
21097         the $(subdirs) list.
21098         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
21099         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
21100         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
21101         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
21103         * elf/Makefile (routines): Include $(all-dl-routines), not just
21104         $(dl-routines).
21105         (rtld-routines): Likewise.  Use = rather than :=.
21106         * sysdeps/aarch64/Makefile [$(subdir) = elf]
21107         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
21108         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
21109         * sysdeps/arm/Makefile: Likewise.
21110         * sysdeps/i386/Makefile: Likewise.
21111         * sysdeps/x86_64/Makefile: Likewise.
21112         * sysdeps/hppa/Makefile [$(subdir) = elf]
21113         (sysdep_routines, sysdep-rtld-routines): Don't add
21114         $(sysdep-dl-routines) to these.
21115         * sysdeps/ia64/Makefile: Likewise.
21116         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
21117         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
21118         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
21119         Don't add dl-static to these; sysdep-dl-routines alone is enough.
21120         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
21121         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
21122         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
21123         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
21124         * sysdeps/powerpc/Makefile [$(subdir) = elf]
21125         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
21126         these; sysdep-dl-routines alone is enough.
21128 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
21130         [BZ #17932]
21131         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
21132         where multiplication results in zero and third argument is finite
21133         and nonzero.
21134         * math/auto-libm-test-in: Add more tests of fma.
21135         * math/auto-libm-test-out: Regenerated.
21137         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
21138         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
21139         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
21140         (_FP_CMP_EQ): Likewise.
21141         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
21143         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
21144         extra argument CHECK_NAN.  Redefine as wrapper around
21145         _FP_EXTEND_CNAN.
21147 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
21149         * version.h (RELEASE): Set to "stable".
21150         (VERSION): Set to "2.21"
21151         * include/features.h (__GLIBC_MINOR__): Set to 21.
21153         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
21155 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
21156             Paul Eggert  <eggert@cs.ucla.edu>
21158         [BZ #16618]
21159         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
21160         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
21161         size in bytes. Store needed elements in wpmax. Use needed size
21162         in bytes for extend_alloca.
21164 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
21166         * manual/install.texi: Latest tested versions are GCC 4.9.2,
21167         binutls 2.25, and texinfo 5.2.
21168         * INSTALL: Regenerate.
21169         * sysdeps/nios2/configure: Regenerate.
21170         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
21171         * manual/contrib.texi: Update.
21172         * po/be.po: Update.
21173         * po/bg.po: Update.
21174         * po/ca.po: Update.
21175         * po/cs.po: Update.
21176         * po/da.po: Update.
21177         * po/de.po: Update.
21178         * po/el.po: Update.
21179         * po/eo.po: Update.
21180         * po/es.po: Update.
21181         * po/fi.po: Update.
21182         * po/fr.po: Update.
21183         * po/gl.po: Update.
21184         * po/hr.po: Update.
21185         * po/hu.po: Update.
21186         * po/ia.po: Update.
21187         * po/id.po: Update.
21188         * po/it.po: Update.
21189         * po/ja.po: Update.
21190         * po/ko.po: Update.
21191         * po/lt.po: Update.
21192         * po/nb.po: Update.
21193         * po/nl.po: Update.
21194         * po/pl.po: Update.
21195         * po/pt_BR.po: Update.
21196         * po/ru.po: Update.
21197         * po/rw.po: Update.
21198         * po/sk.po: Update.
21199         * po/sl.po: Update.
21200         * po/sv.po: Update.
21201         * po/tr.po: Update.
21202         * po/uk.po: Update.
21203         * po/vi.po: Update.
21204         * po/zh_CN.po: Update.
21205         * po/zh_TW.po: Update.
21207         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
21208         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
21209         * sysdeps/hppa/dl-irel.h: Remove #warning.
21210         * sysdeps/hppa/entry.h: Provide prototype for
21211         __canonicalize_funcptr_for_compare and cast argument.
21212         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
21213         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
21214         * sysdeps/hppa/sotruss-lib.c: New file.
21215         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
21216         (atomic_compare_and_exchange_val_acq): Use __typeof__.
21217         (atomic_compare_and_exchange_bool_acq): Likewise.
21218         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
21219         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
21221         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
21222         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
21223         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
21225 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
21227         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
21228         called function in non-PIC case.
21230 2015-01-31  David S. Miller  <davem@davemloft.net>
21232         * sysdeps/sparc/sparc32/bits/atomic.h
21233         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
21234         unlock not after it.
21235         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
21236         volatile register usage warnings from the compiler.
21238         * sysdeps/sparc/nptl/sem_init.c: Delete.
21239         * sysdeps/sparc/nptl/sem_post.c: Delete.
21240         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
21241         * sysdeps/sparc/nptl/sem_wait.c: Delete.
21242         * sysdeps/sparc/sparc32/sem_init.c: New file.
21243         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
21244         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
21245         padding explicitly initialized.
21246         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
21247         padding for in-semaphore spinlock.
21248         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
21249         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
21250         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
21251         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
21252         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
21253         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
21254         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
21255         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
21256         version.
21257         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
21258         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
21260 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
21262         [BZ #17801]
21263         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21264         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
21265         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
21266         New.
21267         (index_AVX_Fast_Unaligned_Load): Likewise.
21268         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
21269         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
21270         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
21271         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
21272         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
21273         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
21274         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
21275         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
21276         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
21278 2015-01-29  Andreas Schwab  <schwab@suse.de>
21280         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
21282 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
21284         [BZ #17892]
21285         * nscd/nscd_stat.c (send_stats): Initialize DATA.
21287 2015-01-28  Martin Sebor  <msebor@redhat.com>
21289         * math/README.libm-test: Clarify. Add "How to read the test output."
21291 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
21293         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
21294         Define to 0.
21296 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
21298         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
21299         (__HAVE_64B_ATOMICS): Define to 0.
21301 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
21303         [BZ #17885]
21304         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
21305         value to set as new flag.
21307         [BZ #16576]
21308         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
21309         and use _ARCH_PPCSQ instead.
21310         (__ieee754_sqrt): Likewise.
21311         (__ieee754_sqrtf): Likewise.
21312         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
21313         _ARCH_PPCSQ is defined.
21314         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
21315         fsqrt instruction.
21316         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
21317         _ARCH_PPCSQ is defined.
21318         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
21319         fsqrts instruction.
21320         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
21322 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21324         * iconv/loop.c: Suppress array out of bound warning caused by GCC
21325         bug (GCC BZ #64739).
21327 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
21329         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
21330         Mark _retval as used.
21331         (lll_futex_wake_unlock): Likewise.
21332         (lll_futex_timed_wait_requeue_pi): Likewise.
21334         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
21335         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
21336         register variables.
21338         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
21339         libm_hidden_def.
21341         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
21342         (__bswap_64): Mark as __always_inline.
21344 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
21346         [BZ #15378]
21347         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
21348         when none of the search directories exist.
21350 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
21352         [BZ #17869]
21353         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
21354         power8 in .machine directive.
21356         [BZ #17868]
21357         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
21358         set dependency from opd value.
21360 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
21362         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21363         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
21364         architecture.
21366 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
21368         [BZ #17870]
21369         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
21370         with uint64_t.
21371         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
21372         (uint64_t) 1.
21373         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
21374         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
21375         Replace 1UL with (uint64_t) 1.
21376         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
21377         int with uint64_t.
21379 2015-01-23  Roland McGrath  <roland@hack.frob.com>
21381         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
21382         (if_freenameindex): Likewise.
21384         * resource/getrlimit64.c: Add missing libc_hidden_def.
21386 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
21388         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
21389         __label__.
21390         (_FP_FMA): Likewise.
21391         (_FP_TO_INT_ROUND): Likewise.
21392         (_FP_FROM_INT): Likewise.
21394 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21396         [BZ #16418]
21397         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
21398         Make code racy and cancel safe.
21400 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
21402         * sysdeps/arm/unwind-resume.h: Fix copyright year.
21403         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
21404         attribution.
21406         * pwd/tst-getpw.c: Rewrite.
21408         [BZ #17702]
21409         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
21410         (modules-names): Add moddummy1 and moddummy2.
21411         ($(objpfx)tst-rec-dlopen): Define.
21412         * dlfcn/moddummy1.c: New file.
21413         * dlfcn/moddummy2.c: New file.
21414         * dlfcn/tst-rec-dlopen.c: New file.
21415         * elf/dl-cache.c (_dl_load_cache_lookup):
21416         Return char*. Copy result with alloca/strcpy/strdup.
21417         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
21418         returns char*. Free cached. If not saving realname
21419         free cached.
21420         * elf/dl-open.c (dl_open_worker): Do not assert that
21421         _r_debug->r_state is RT_CONSISTENT.
21422         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
21423         returns char*.
21425 2015-01-21  Torvald Riegel  <triegel@redhat.com>
21426             Carlos O'Donell  <carlos@redhat.com>
21428         [BZ #12674]
21429         * nptl/sem_waitcommon.c: New file.
21430         * nptl/sem_wait.c: Include sem_waitcommon.c.
21431         (__sem_wait_cleanup, do_futex_wait): Remove.
21432         (__new_sem_wait): Adapt.
21433         (__new_sem_trywait): New function.
21434         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
21435         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
21436         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
21437         (sem_timedwait): Adapt.
21438         * nptl/sem_post.c (__new_sem_post): Adapt.
21439         (futex_wake): New function.
21440         (__old_sem_post): Add release MO fence.
21441         * nptl/sem_open.c (sem_open): Adapt.
21442         * nptl/sem_init.c (__new_sem_init): Adapt.
21443         (futex_private_if_supported): New function.
21444         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
21445         (__old_sem_getvalue): Add using previous code.
21446         * sysdeps/nptl/internaltypes.h: Adapt.
21447         * nptl/tst-sem13.c (do_test): Adapt.
21448         * nptl/tst-sem11.c (main): Adapt.
21449         * nptl/sem_trywait.c: Remove.
21450         * nptl/DESIGN-sem.txt: Remove.
21451         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
21452         (gen-as-const-headers): Remove structsem.sym.
21453         * nptl/structsem.sym: Remove.
21454         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
21455         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
21456         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
21457         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
21458         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
21459         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
21460         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
21461         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
21462         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
21463         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
21464         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
21465         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
21466         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
21467         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
21468         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
21469         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
21470         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
21471         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
21472         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
21473         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
21474         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
21475         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
21477 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
21479         * INSTALL: Regenerated.
21481         * po/libc.pot: Regenerated.
21483 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
21484             Sandra Loosemore  <sandra@codesourcery.com>
21485             Andrew Jenner  <andrew@codesourcery.com>
21486             Joseph Myers  <joseph@codesourcery.com>
21487             Nathan Sidwell  <nathan@codesourcery.com>
21489         * NEWS: Mention new Nios II port.
21490         * sysdeps/nios2/Implies: New file.
21491         * sysdeps/nios2/Makefile: New file.
21492         * sysdeps/nios2/Subdirs: New file.
21493         * sysdeps/nios2/Versions: New file.
21494         * sysdeps/nios2/__longjmp.S: New file.
21495         * sysdeps/nios2/abort-instr.h: New file.
21496         * sysdeps/nios2/backtrace.c: New file.
21497         * sysdeps/nios2/bits/endian.h: New file.
21498         * sysdeps/nios2/bits/fenv.h: New file.
21499         * sysdeps/nios2/bits/link.h: New file.
21500         * sysdeps/nios2/bits/setjmp.h: New file.
21501         * sysdeps/nios2/bsd-_setjmp.S: New file.
21502         * sysdeps/nios2/bsd-setjmp.S: New file.
21503         * sysdeps/nios2/configure: New generated file.
21504         * sysdeps/nios2/configure.ac: New file.
21505         * sysdeps/nios2/crti.S: New file.
21506         * sysdeps/nios2/crtn.S: New file.
21507         * sysdeps/nios2/dl-init.c: New file.
21508         * sysdeps/nios2/dl-machine.h: New file.
21509         * sysdeps/nios2/dl-sysdep.h: New file.
21510         * sysdeps/nios2/dl-tls.h: New file.
21511         * sysdeps/nios2/dl-trampoline.S: New file.
21512         * sysdeps/nios2/gccframe.h: New file.
21513         * sysdeps/nios2/gmp-mparam.h: New file.
21514         * sysdeps/nios2/jmpbuf-offsets.h: New file.
21515         * sysdeps/nios2/jmpbuf-unwind.h: New file.
21516         * sysdeps/nios2/ldsodefs.h: New file.
21517         * sysdeps/nios2/libc-tls.c: New file.
21518         * sysdeps/nios2/libm-test-ulps: New file.
21519         * sysdeps/nios2/machine-gmon.h: New file.
21520         * sysdeps/nios2/math-tests.h: New file.
21521         * sysdeps/nios2/math_private.h: New file.
21522         * sysdeps/nios2/memusage.h: New file.
21523         * sysdeps/nios2/nptl/Makefile: New file.
21524         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
21525         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
21526         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
21527         * sysdeps/nios2/nptl/pthreaddef.h: New file.
21528         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
21529         * sysdeps/nios2/nptl/tls.h: New file.
21530         * sysdeps/nios2/preconfigure: New file.
21531         * sysdeps/nios2/s_fma.c: New file.
21532         * sysdeps/nios2/s_fmaf.c: New file.
21533         * sysdeps/nios2/setjmp.S: New file.
21534         * sysdeps/nios2/sfp-machine.h: New file.
21535         * sysdeps/nios2/sotruss-lib.c: New file.
21536         * sysdeps/nios2/stackguard-macros.h: New file.
21537         * sysdeps/nios2/stackinfo.h: New file.
21538         * sysdeps/nios2/start.S: New file.
21539         * sysdeps/nios2/sysdep.h: New file.
21540         * sysdeps/nios2/tls-macros.h: New file.
21541         * sysdeps/nios2/tst-audit.h: New file.
21542         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
21543         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
21544         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
21545         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
21546         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
21547         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
21548         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
21549         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
21550         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
21551         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
21552         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
21553         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
21554         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
21555         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
21556         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
21557         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
21558         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
21559         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
21560         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
21561         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
21562         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
21563         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
21564         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
21565         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
21566         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
21567         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
21568         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
21569         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
21570         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
21571         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
21572         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
21573         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
21574         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
21575         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
21576         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
21577         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
21578         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
21579         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
21580         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
21581         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
21582         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
21583         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
21584         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
21585         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
21587 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
21589         [BZ #17844]
21590         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
21591         (getutent): Use weak_alias in non SHARED case
21592         and default_symbol_version in SHARED case.
21593         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
21594         (getutent_r, pututline): Likewise.
21595         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
21596         (getutid): Likewise.
21597         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
21598         (getutid_r): Likewise.
21599         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
21600         (getutline): Likewise.
21601         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
21602         (getutline_r): Likewise.
21603         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
21604         (updwtmp): Likewise.
21606 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
21608         [BZ #17848]
21609         * sysdeps/s390/s390-32/memcmp.S
21610         (memcmp_g5): Rename to __memcmp_g5.
21611         * sysdeps/s390/s390-32/memcpy.S
21612         (memcpy_g5): Rename to __memcpy_g5.
21613         Jump to __memcpy_mvcle instead of memcpy_mvcle.
21614         (memcpy_mvcle) Rename to __memcpy_mvcle.
21615         * sysdeps/s390/s390-32/memset.S
21616         (memset_g5): Rename to __memset_g5.
21617         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
21618         (IFUNC_RESOLVE): Prefix ifunc-resolve function
21619         and use prefixed functions.
21620         * sysdeps/s390/s390-32/multiarch/memcmp.S
21621         (memcmp_z196): Rename to __memcmp_z196.
21622         (memcmp_z10): Rename to __memcmp_z10.
21623         (memcmp): Set alias to __memcmp_g5.
21624         (bcmp): Set alias to __memcmp_g5.
21625         * sysdeps/s390/s390-32/multiarch/memcpy.S
21626         (memcpy_z196): Rename to __memcpy_z196.
21627         Jump to __memcpy_mvcle instead of memcpy_mvcle.
21628         (memcpy_z10): Rename to __memcpy_z10.
21629         Jump to __memcpy_mvcle instead of memcpy_mvcle.
21630         (memcpy): Set alias to __memcpy_g5.
21631         * sysdeps/s390/s390-32/multiarch/memset.S
21632         (memset_z196): Rename to __memset_z196.
21633         Jump to __memset_mvcle instead of memset_mvcle.
21634         (memset_z10): Rename to __memset_z10.
21635         Jump to __memset_mvcle instead of memset_mvcle.
21636         (memset_mvcle) Rename to __memset_mvcle.
21637         (memset): Set alias to __memset_g5.
21638         * sysdeps/s390/s390-64/memcmp.S
21639         (memcmp_z900): Rename to __memcmp_z900.
21640         * sysdeps/s390/s390-64/memcpy.S
21641         (memcpy_z900): Rename to __memcpy_z900.
21642         Jump to __memcpy_mvcle instead of memcpy_mvcle.
21643         (memcpy_mvcle) Rename to __memcpy_mvcle.
21644         * sysdeps/s390/s390-64/memset.S
21645         (memset_z900): Rename to __memset_z900.
21646         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
21647         (IFUNC_RESOLVE): Prefix ifunc-resolve function
21648         and use prefixed functions.
21649         * sysdeps/s390/s390-64/multiarch/memcmp.S
21650         (memcmp_z196): Rename to __memcmp_z196.
21651         (memcmp_z10): Rename to __memcmp_z10.
21652         (memcmp): Set alias to __memcmp_z900.
21653         (bcmp): Set alias to __memcmp_z900.
21654         * sysdeps/s390/s390-64/multiarch/memcpy.S
21655         (memcpy_z196): Rename to __memcpy_z196.
21656         Jump to __memcpy_mvcle instead of memcpy_mvcle.
21657         (memcpy_z10): Rename to __memcpy_z10.
21658         Jump to __memcpy_mvcle instead of memcpy_mvcle.
21659         (memcpy): Set alias to __memcpy_z900.
21660         * sysdeps/s390/s390-64/multiarch/memset.S
21661         (memset_z196): Rename to __memset_z196.
21662         Jump to __memset_mvcle instead of memset_mvcle.
21663         (memset_z10): Rename to __memset_z10.
21664         Jump to __memset_mvcle instead of memset_mvcle.
21665         (memset_mvcle) Rename to __memset_mvcle.
21666         (memset): Set alias to __memset_z900.
21668 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
21670         [BZ #17748]
21671         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
21672         __fesetenv instead of fesetenv.
21674 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
21676         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
21677         macro.
21679 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21681         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
21682         regression on LE.
21684         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
21685         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
21686         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
21687         strncmp-power8 object.
21688         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21689         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
21690         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
21691         * NEWS: Update.
21693 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21694             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21696         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
21697         trailing byte check.
21699 2015-01-13  David S. Miller  <davem@davemloft.net>
21701         * include/signal.h (__sigreturn): Guard with __USE_MISC.
21703 2015-01-13  Roland McGrath  <roland@hack.frob.com>
21705         * login/logout.c (logout): Use memset rather than bzero.
21706         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
21707         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
21708         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
21709         (_gethtbyaddr): Likewise.
21710         * locale/programs/simple-hash.c (bcopy): Macro removed.
21712 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21714         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21715         Add strcmp-power8 object.
21716         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21717         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
21718         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
21719         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
21720         __strcmp_power8 implementation.
21721         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
21722         * NEWS: Update.
21724         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21725         Add strncpy-power8 and stpncpy-power8 objects.
21726         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21727         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
21728         implementations.
21729         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
21730         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
21731         __stpncpy_power8 implementation.
21732         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
21733         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
21734         __strncpy_power8 implementation.
21735         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
21736         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
21737         * NEWS: Update.
21739         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
21740         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
21741         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
21743         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
21744         strncat-power8 object.
21745         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
21746         __strcat_power8 implementation.
21747         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21748         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
21749         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
21750         optimized strcat for power8.
21752         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
21753         strcpy-power8 and stpcpy-power8 objects.
21754         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21755         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
21756         implementations.
21757         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
21758         multiarch stpcpy implementation for POWER8.
21759         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
21760         multiarch strcpy implementation for POWER8.
21761         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
21762         __strcpy_power8 function.
21763         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
21764         stpcpy for POWER8.
21765         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
21766         strcpy for POWER8.
21767         * NEWS: Update.
21769 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
21771         [BZ #16009]
21772         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
21773         weights and rules. Use do_xfrm_cached if data fits in cache,
21774         do_xfrm otherwise.  Moved former main loop to...
21775         * (do_xfrm_cached): New function.
21776         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
21777         find_idx, find_position and stack_push.
21778         * (find_idx): New function.
21779         * (find_position): Likewise.
21780         * localedata/sort-test.sh: Added test run for do_xfrm.
21781         * localedata/xfrm-test.c (main): Added command line option
21782         -nocache to run the test with strings that are too large for
21783         the STRXFRM cache.
21785 2015-01-13  Torvald Riegel  <triegel@redhat.com>
21787         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
21788         variable to lll_futex_wake call, not the value itself.
21790 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
21792         [BZ #17803]
21793         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
21794         twom64.  Adjust value to 0x1p-64L.
21795         (__scalblnl): Only return standard underflowing result for K <=
21796         -64 not K <= -63; adjust exponent for underflowing result by 64
21797         not 63.
21798         * math/libm-test.inc (scalbn_test_data): Add more tests.
21799         (scalbln_test_data): Likewise.
21801         [BZ #17834]
21802         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
21803         0x1p63L.
21804         (__scalblnl): Get new exponent of adjusted subnormal value from ES
21805         not HX.
21806         * math/libm-test.inc (scalbn_test_data): Add more tests.
21807         (scalbln_test_data): Likewise.
21809 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21810             Stefani Seibold  <stefani@seibold.net>
21812         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
21813         (sysdep_routines): Add dl-vdso here, ...
21814         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
21815         (sysdep_routines): ... not here.
21816         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
21817         fallback when vDSO is not presented.
21818         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
21819         Define with libc_hidden_proto/libc_hidden_data_def definitions.
21820         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
21821         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
21822         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
21823         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
21824         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
21825         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
21826         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
21827         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
21828         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
21829         fallback configurable symbol when vDSO is not available.
21830         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
21831         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
21832         be able to redefine fallback symbol when vDSO is not available.
21833         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
21834         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
21836 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21838         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
21839         (TLS_INIT_TP): Add tm_capable initialization.
21840         (TLS_DEFINE_INIT_TP): Likewise.
21841         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
21842         TCB.
21843         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
21844         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
21845         calculation.
21846         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
21847         transactoion is lock elision is built and TCB tm_capable is set.
21848         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
21849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21850         (INTERNAL_SYSCALL_NCS): Likewise.
21851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
21852         (INTERNAL_SYSCALL_NCS): Likewise.
21853         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
21855         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
21856         for powerpc.
21857         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
21858         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
21859         and remove it for 32 bits case.
21860         [pthread_rwlock_t] (__rwelision): New field for lock elision.
21861         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
21862         initialization.
21863         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
21864         Disable lock elision with rdlocks if elision is not available.
21866         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
21867         (sysdep_routines): Add lock elision objects.
21868         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
21869         [pthread_mutex_t] (__spins): Rework to add lock elision field.
21870         [pthread_mutex_t] (__elision): Add field.
21871         [__PTHREAD_SPINS]: Adjust to init lock elision field.
21872         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
21873         elision definitions for powerpc.
21874         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
21875         implementation of lock elision for powerpc.
21876         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
21877         implementation of timed lock elision for powerpc.
21878         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
21879         implementation of trylock with lock elision for powerpc.
21880         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
21881         implementaion of unlock for lock elision for powerpc.
21882         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
21883         automatic enable lock elision for mutexes.
21884         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
21885         transaction execution definitions for powerpc.
21886         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
21887         definitions.
21888         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
21889         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
21890         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
21891         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
21892         * NEWS: Update.
21894 2015-01-09  Roland McGrath  <roland@hack.frob.com>
21896         * sysdeps/posix/shm-directory.c: Use <> rather than ""
21897         for #include of <shm-directory.h>.
21899 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
21901         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
21902         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
21904 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
21906         [BZ #17791]
21907         * NEWS: Mention bug fix.
21908         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
21909         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
21910         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
21912 2015-01-09  Torvald Riegel <triegel@redhat.com>
21914         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
21916 2015-01-09  Torvald Riegel <triegel@redhat.com>
21918         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
21920 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
21922         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
21923         pointer and cast to uintptr_t.
21925 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
21927         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
21928         removed.
21929         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
21931 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
21933         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
21934         of 0.
21936 2015-01-08  Roland McGrath  <roland@hack.frob.com>
21938         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
21939         <nptl/pthreadP.h> instead.
21940         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
21942         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
21943         already defined.
21944         [__SIGRTMIN] (init): Function removed.
21945         [__SIGRTMIN] (initialized): Variable removed.
21946         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
21947         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
21948         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
21949         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
21950         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
21951         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
21952         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
21953         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
21954         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
21955         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
21956         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
21957         * sysdeps/nptl/allocrtsig.c: New file.
21958         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
21959         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
21960         * sysdeps/generic/testrtsig.h: File removed.
21962         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
21963         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
21965         * nptl/nptl-init.c (pthread_functions): Conditionalize
21966         .ptr__nptl_setxid initialization on [SIGSETXID].
21968         * sysdeps/nptl/sys/procfs.h: New file.
21969         * nptl_db/Makefile (headers): Add it.
21970         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
21972         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
21973         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
21974         * nptl/pthread_attr_setaffinity.c: Include it.
21975         * nptl/pthread_setattr_default_np.c: Likewise.
21976         * nptl/check-cpuset.h: New file.
21978 2015-01-08  Richard Henderson  <rth@redhat.com>
21980         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
21981         (CFLAGS-tst-execstack-prog.c): Likewise.
21982         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
21984 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
21985             Sandra Loosemore  <sandra@codesourcery.com>
21986             Andrew Jenner  <andrew@codesourcery.com>
21987             Joseph Myers  <joseph@codesourcery.com>
21988             Nathan Sidwell  <nathan@codesourcery.com>
21990         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
21991         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
21992         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
21993         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
21994         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
21995         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
21996         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
21997         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
21998         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
21999         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
22000         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
22001         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
22002         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
22003         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
22004         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
22005         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
22006         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
22008 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22010         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
22011         timespec struct member in syscall macro.
22012         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
22013         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
22014         first timeval struct member in syscall macro.
22015         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
22017 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
22019         [BZ #17748]
22020         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
22021         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
22022         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
22023         __feupdateenv and define as weak alias of __feupdateenv.  Use
22024         libm_hidden_weak.
22025         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
22026         libm_hidden_def.
22027         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
22028         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
22029         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
22030         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
22031         libm_hidden_def.
22032         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
22033         __feupdateenv and define as weak alias of __feupdateenv.  Use
22034         libm_hidden_weak.
22035         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
22036         libm_hidden_def.
22037         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
22038         __feupdateenv and define as weak alias of __feupdateenv.  Use
22039         libm_hidden_weak.
22040         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
22041         libm_hidden_def.
22042         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
22043         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
22044         (__feupdateenv): Likewise.
22045         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
22046         __feupdateenv and define as weak alias of __feupdateenv.  Use
22047         libm_hidden_weak.
22048         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22049         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
22050         libm_hidden_def.
22051         * sysdeps/tile/math_private.h (__feupdateenv): New inline
22052         function.
22053         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
22054         libm_hidden_def.
22055         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
22056         __feupdateenv instead of feupdateenv.
22057         (default_libc_feupdateenv_test): Likewise.
22058         (libc_feresetround_ctx): Likewise.
22060 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22062         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
22063         prototype.
22065 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
22067         * posix/regcomp.c (parse_bracket_exp): Initialize type to
22068         COLL_SYM in a couple of places to avoid uninitialized variable
22069         wanings on tilegx gcc 4.8.2.
22071 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
22073         * sysdeps/aarch64/strcpy.S: New file.
22074         * sysdeps/aarch64/stpcpy.S: New file.
22075         * NEWS: Updated.
22077 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
22079         * sysdeps/aarch64/strrchr.S: New file.
22080         * NEWS: Updated.
22082 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
22084         [BZ #17658]
22085         * stdlib/setenv.c: Fix memory leak when setting large,
22086         duplicate string.
22088 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
22090         [BZ #17273]
22091         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
22092         and tabs from buffer before parsing fstab entry.
22093         * misc/tst-mntent.c (main): Add test for mount entry with
22094         trailing spaces and tabs.
22096 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
22098         [BZ #17748]
22099         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
22100         * math/fesetround.c (fesetround): Rename to __fesetround and
22101         define as weak alias of __fesetround.  Use libm_hidden_weak.
22102         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
22103         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
22104         * sysdeps/arm/fesetround.c (fesetround): Likewise.
22105         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
22106         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
22107         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
22108         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
22109         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
22110         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
22111         __fesetround_inline.
22112         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
22113         __fesetround_inline instead of __fesetround.
22114         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
22115         __fesetround and define as weak alias of __fesetround.  Use
22116         libm_hidden_weak.  Call __fesetround_inline instead of
22117         __fesetround.
22118         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
22119         __fesetround and define as weak alias of __fesetround.  Use
22120         libm_hidden_weak.
22121         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
22122         Likewise.
22123         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
22124         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22125         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
22126         * sysdeps/tile/math_private.h (__fesetround): New inline function.
22127         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
22128         __fesetround and define as weak alias of __fesetround.  Use
22129         libm_hidden_weak.
22130         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
22131         __fesetround instead of fesetround.
22132         (default_libc_feholdexcept_setround): Likewise.
22133         (libc_feholdsetround_ctx): Likewise.
22134         (libc_feholdsetround_noex_ctx): Likewise.
22136         [BZ #17748]
22137         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
22138         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
22139         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
22140         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
22141         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
22142         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
22143         define as weak alias of __fesetenv.  Use libm_hidden_weak.
22144         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
22145         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
22146         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
22147         define as weak alias of __fesetenv.  Use libm_hidden_weak.
22148         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
22149         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
22150         define as weak alias of __fesetenv.  Use libm_hidden_weak.
22151         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
22152         libm_hidden_def.
22153         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
22154         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
22155         Likewise.
22156         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
22157         define as weak alias of __fesetenv.  Use libm_hidden_weak.
22158         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
22159         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
22160         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
22161         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
22162         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
22163         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
22164         __fesetenv instead of fesetenv.
22165         (libc_feresetround_noex_ctx): Likewise.
22166         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
22167         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
22168         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
22169         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
22170         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
22171         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
22172         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
22173         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
22174         (__feupdateenv): Likewise.
22175         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
22176         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22177         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
22178         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
22180 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
22182         [BZ #17806]
22183         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
22184         addresses have been freed.
22186 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
22188         * resolv/res_init.c (__res_vinit): Improve comments about nserv
22189         and nservall.
22191 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
22193         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
22194         Clean up check_pf allocation pattern. addresses
22196 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22198         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
22199         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
22200         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
22201         * nptl/pthread_exit.c (__pthread_exit): Likewise.
22202         * nptl/pthread_join.c (pthread_join): Likewise.
22203         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
22204         * sysdeps/posix/waitid.c (__waitid): Likewise.
22205         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
22206         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
22207         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
22208         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
22209         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
22210         Likewise.
22211         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
22212         (__libc_pread64): Likewise.
22213         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
22214         (__libc_pwrite): Likewise.
22215         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
22216         (__libc_pwrite64): Likewsie.
22217         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
22218         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
22219         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
22220         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
22221         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
22222         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
22223         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
22224         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
22225         Likewise.
22226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
22227         (__libc_pread64): Likewise.
22228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
22229         Likewise.
22230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
22231         (__libc_pwrite64): Likewise.
22232         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
22233         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
22234         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
22235         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
22236         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
22237         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
22238         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
22239         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
22240         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
22241         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
22242         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
22243         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
22244         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
22245         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
22246         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
22247         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
22248         Likewise.
22250 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
22252         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
22253         (CFLAGS-test-double.c): Likewise.
22254         (CFLAGS-test-ldouble.c): Likewise.
22255         (CPPFLAGS-test-ifloat.c): Likewise.
22256         (CPPFLAGS-test-idouble.c): Likewise.
22257         (CPPFLAGS-test-ildoubl.c): Likewise.
22258         (CFLAGS-test-test-fenv.c): Remove variable.
22259         (CFLAGS-test-misc.c): Likewise.
22261 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
22263         [BZ #17797]
22264         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
22265         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
22266         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
22267         CLOCKS_PER_SEC == 1000000.
22268         * time/clocktest.c (main): Replace %ld with %jd and cast to
22269         intmax_t.
22271 2015-01-05  Roland McGrath  <roland@hack.frob.com>
22273         * sysdeps/generic/unwind-resume.h: New file.
22274         * sysdeps/gnu/unwind-resume.c: Include it.
22275         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
22276         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
22277         argument list.
22278         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
22279         global rather than static.
22280         (_Unwind_Resume): Update user.
22281         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
22282         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
22283         rather than static.  Add __attribute__ ((cold)).
22284         (_Unwind_Resume, __gcc_personality_v0): Update callers.
22285         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
22286         * sysdeps/arm/arm-unwind-resume.S: New file.
22287         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
22288         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
22289         * sysdeps/arm/Makefile [$(subdir) = csu]
22290         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
22291         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
22292         Add rt-arm-unwind-resume.
22293         [$(subdir) = nptl]
22294         (libpthread-sysdep_routines, libpthread-shared-only-routines):
22295         Add pt-arm-unwind-resume.
22296         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
22297         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
22299 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
22301         [BZ #17748]
22302         * include/fenv.h (__feholdexcept): Declare.  Use
22303         libm_hidden_proto.
22304         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
22305         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
22306         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
22307         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
22308         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
22309         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
22310         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
22311         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
22312         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
22313         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
22314         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
22315         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
22316         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
22317         (feholdexcept): Likewise.
22318         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
22319         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
22320         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
22321         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
22322         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
22323         __feholdexcept instead of feholdexcept.
22324         (default_libc_feholdexcept_setround): Likewise.
22326 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
22328         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
22329         to avoid using stl/str to align destination.
22331 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
22333         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
22335 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
22337         [BZ #17796]
22338         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
22339         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
22340         Define as weak alias not strong alias.
22342 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
22344         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
22345         bltzal with addiupc.
22346         (RTLD_START): Ditto.
22348 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
22350         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
22351         for __vdso_* functions in declarations.
22352         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
22353         definitions.
22354         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
22355         INTERNAL_VSYSCALL): Use struct return types to check for error.
22357         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
22358         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
22359         function with cast from llround().
22360         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
22361         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
22362         Define.
22364 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
22366         [BZ #17793]
22367         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
22368         Define as weak alias not strong alias.
22370         [BZ #17635]
22371         * ctype/ctype-c99.c: New file.  isblank implementation moved from
22372         ...
22373         * ctype/ctype-extn.c: ... here.
22374         (__isblank_l): Move to ...
22375         * ctype/ctype-c99_l.c: ... here.  New file.
22376         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
22377         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
22378         Remove variable.
22379         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
22380         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
22381         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
22382         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
22383         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
22385         [BZ #17777]
22386         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
22387         (posix_fadvise64): Define as weak alias not strong alias.
22388         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
22389         (posix_fallocate64): Likewise.
22390         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
22391         Remove variable.
22392         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
22393         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
22394         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
22395         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
22396         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
22398 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
22400         [BZ #16191]
22401         * NEWS: Mention bug fix.
22402         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
22403         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
22404         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
22405         (HOST_STACK_END_ADDR): Likewise.
22407 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
22409         [BZ #17748]
22410         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
22411         * math/fegetround.c (fegetround): Rename to __fegetround and
22412         define as weak alias of __fegetround.  Use libm_hidden_weak.
22413         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
22414         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
22415         * sysdeps/arm/fegetround.c (fegetround): Likewise.
22416         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
22417         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
22418         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
22419         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
22420         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
22421         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
22422         Undefine after rather than before function definition; use
22423         parentheses around function name in definition.
22424         (__fegetround): Also undefine macro after function definition.
22425         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
22426         __fegetround and define as weak alias of __fegetround.  Use
22427         libm_hidden_weak.  Do not undefine as macro.
22428         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
22429         Likewise.
22430         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
22431         __fegetround and define as weak alias of __fegetround.  Use
22432         libm_hidden_weak.
22433         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22434         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
22435         * sysdeps/tile/math_private.h (__fegetround): New inline function.
22436         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
22437         __fegetround and define as weak alias of __fegetround.  Use
22438         libm_hidden_weak.
22439         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
22440         __fegetround instead of fegetround.
22442         [BZ #17782]
22443         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
22444         Condition macro definition on [__USE_MISC].
22446         [BZ #17781]
22447         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
22448         (struct sigaction): Change type of sa_flags field to int.
22450         [BZ #17780]
22451         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
22452         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
22453         __glibc_reserved0.
22455         * nptl/version.c (banner): Use single year in copyright notice.
22457         * NEWS: Update copyright dates.
22458         * catgets/gencat.c (print_version): Likewise.
22459         * csu/version.c (banner): Likewise.
22460         * debug/catchsegv.sh: Likewise.
22461         * debug/pcprofiledump.c (print_version): Likewise.
22462         * debug/xtrace.sh (do_version): Likewise.
22463         * elf/ldconfig.c (print_version): Likewise.
22464         * elf/ldd.bash.in: Likewise.
22465         * elf/pldd.c (print_version): Likewise.
22466         * elf/sotruss.sh: Likewise.
22467         * elf/sprof.c (print_version): Likewise.
22468         * iconv/iconv_prog.c (print_version): Likewise.
22469         * iconv/iconvconfig.c (print_version): Likewise.
22470         * locale/programs/locale.c (print_version): Likewise.
22471         * locale/programs/localedef.c (print_version): Likewise.
22472         * login/programs/pt_chown.c (print_version): Likewise.
22473         * malloc/memusage.sh (do_version): Likewise.
22474         * malloc/memusagestat.c (print_version): Likewise.
22475         * malloc/mtrace.pl: Likewise.
22476         * manual/libc.texinfo: Likewise.
22477         * nptl/version.c (banner): Likewise.
22478         * nscd/nscd.c (print_version): Likewise.
22479         * nss/getent.c (print_version): Likewise.
22480         * nss/makedb.c (print_version): Likewise.
22481         * posix/getconf.c (main): Likewise.
22482         * scripts/test-installation.pl: Likewise.
22483         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
22485 2015-01-02  Will Newton  <will.newton@linaro.org>
22487         * sysdeps/arm/armv7/configure: Removed.
22488         * sysdeps/arm/armv7/configure.ac: Likewise.
22490 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
22492         * All files with FSF copyright notices: Update copyright dates
22493         using scripts/update-copyrights.
22494         * intl/plural.c: Regenerated.
22495         * locale/programs/charmap-kw.h: Likewise.
22496         * locale/programs/locfile-kw.h: Likewise.
22498 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22500         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
22502 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
22504         [BZ #17748]
22505         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
22506         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
22507         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
22508         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
22509         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
22510         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
22511         define as weak alias of __fegetenv.  Use libm_hidden_weak.
22512         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
22513         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
22514         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
22515         define as weak alias of __fegetenv.  Use libm_hidden_weak.
22516         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
22517         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
22518         define as weak alias of __fegetenv.  Use libm_hidden_weak.
22519         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
22520         libm_hidden_def.
22521         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
22522         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
22523         Likewise.
22524         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
22525         define as weak alias of __fegetenv.  Use libm_hidden_weak.
22526         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
22527         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
22528         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
22529         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
22530         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
22531         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
22532         __fegetenv instead of fegetenv.
22533         (libc_feholdsetround_noex_ctx): Likewise.
22535 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
22537         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
22538         (Elf_MIPS_ABIFlags_v0): New structure.
22539         (EF_MIPS_FP64): Define.
22540         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
22541         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
22542         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
22543         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
22544         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
22545         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
22546         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
22547         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
22548         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
22549         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
22550         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
22551         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
22552         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
22553         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
22554         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
22555         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
22556         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
22557         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
22558         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
22559         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
22560         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
22561         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
22562         field.
22563         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
22564         EF_MIPS_FP64.
22565         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
22566         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
22567         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
22568         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
22569         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
22570         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
22571         * sysdeps/mips/tst-abi-interlink.c: Likewise.
22572         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
22573         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
22574         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
22575         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
22576         record the current FP ABI extension.
22577         (mips-mode-switch): Define to show if kernel headers support mode
22578         switching.
22579         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
22580         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
22581         supported SYSV ABI version to 3.
22582         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
22583         feature.
22585 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22586             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22588         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
22589         path.
22590         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
22592 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
22594         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
22595         __fegetround and redefine to call __fegetround.  Remove condition
22596         on [!__NO_MATH_INLINES].
22597         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
22598         function.
22599         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
22600         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
22601         Remove macro.
22602         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
22603         instead of <fenv_libc.h>.
22604         (__llrintl): Call fegetround instead of __fegetround.
22605         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
22606         instead of <fenv_libc.h>.
22607         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
22608         (__lrintl): Call fegetround instead of __fegetround.
22609         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
22610         instead of <fenv_libc.h>.
22611         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
22612         (__rintl): Call fegetround instead of __fegetround.
22614 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
22616         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
22617         arrays.
22619 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
22621         [BZ #17775]
22622         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
22623         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
22624         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
22626 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
22628         * sysdeps/i386/tls-macros.h: Include <features.h>.
22629         (TLS_LE): Use non-PIC version for GCC >= 5.0.
22630         (TLS_IE): Likewise.
22631         (TLS_LD): Likewise.
22632         (TLS_GD): Likewise.
22633         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
22634         define for GCC >= 5.0.
22636 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
22638         * math/test-fenv.c (test_single_exception, set_single_exc,
22639         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
22640         feexcp_mask_test, feenable_test, fe_single_test): Add
22641         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
22642         case where they are not used.
22643         * math/libm-test.inc: Likewise.
22644         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
22645         unused in the absence of FP rounding/exception support.
22646         * stdio-common/tst-printf-round.c: Likewise.
22647         * stdlib/tst-strtod-round.c: Likewise.
22648         * stdlib/tst-strtod-underflow.c: Likewise.
22650 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
22652         [BZ #17723]
22653         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
22654         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
22655         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
22656         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
22657         libm_hidden_weak.
22658         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
22659         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
22660         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
22661         libm_hidden_def.
22662         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
22663         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
22664         libm_hidden_weak.
22665         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
22666         Likewise.
22667         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
22668         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
22669         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
22670         libm_hidden_weak.
22671         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
22672         libm_hidden_def.
22673         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
22674         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
22675         (__feraiseexcept): Likewise.
22676         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
22677         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
22678         libm_hidden_weak.
22679         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
22680         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
22681         libm_hidden_def.
22682         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
22683         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
22684         Use libm_hidden_def.
22685         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
22686         libm_hidden_def.
22687         (feraiseexcept): Define as weak not strong alias.  Use
22688         libm_hidden_weak.
22689         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
22690         New inline function.  Factored out of ...
22691         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
22692         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
22693         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
22694         feraiseexcept.
22695         * math/w_acos.c (__acos): Likewise.
22696         * math/w_asin.c (__asin): Likewise.
22697         * math/w_ilogb.c (__ilogb): Likewise.
22698         * math/w_j0.c (y0): Likewise.
22699         * math/w_j1.c (y1): Likewise.
22700         * math/w_jn.c (yn): Likewise.
22701         * math/w_log.c (__log): Likewise.
22702         * math/w_log10.c (__log10): Likewise.
22703         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
22704         * sysdeps/aarch64/fpu/math_private.h
22705         (libc_feupdateenv_test_aarch64): Likewise.
22706         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
22707         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
22708         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
22709         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
22710         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
22711         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
22712         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
22713         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
22714         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22715         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
22717 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
22719         [BZ #17732]
22720         * io/test-utime.c (main): Replace %ld with %jd and cast to
22721         intmax_t.
22722         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
22723         * nptl/tst-mutex5.c: Include <stdint.h>.
22724         (do_test): Replace %ld with %jd and cast to intmax_t.
22725         * posix/tst-regex.c (run_test): Likewise.
22726         (run_test_backwards): Likewise.
22727         * rt/tst-clock.c: Include <stdint.h>.
22728         (clock_test): Replace %ld with %jd and cast to intmax_t.
22729         * rt/tst-cpuclock1.c: Include <stdint.h>.
22730         (do_test): Replace %lu with %ju and cast to uintmax_t.
22731         * rt/tst-cpuclock2.c: Include <stdint.h>.
22732         (do_test): Replace %lu with %ju and cast to uintmax_t.
22733         * rt/tst-mqueue1.c: Include <stdint.h>.
22734         (check_attrs): Replace %ld with %jd and cast to intmax_t.
22735         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
22736         intmax_t.
22737         * rt/tst-mqueue4.c (do_test): Likewise.
22738         * rt/tst-timer4.c: Include <stdint.h>.
22739         (check_ts): Replace %ld with %jd and cast to intmax_t.
22740         (do_test): Likewise.
22741         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
22742         and cast to intmax_t.
22743         * sysdeps/pthread/tst-timer.c (main): Likewise.
22744         * time/clocktest.c (main): Likewise.
22745         * time/tst-posixtz.c (do_test): Likewise.
22746         * timezone/tst-timezone.c (main): Likewise.
22748 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
22749             H.J. Lu  <hongjiu.lu@intel.com>
22751         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
22752         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
22753         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
22754         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
22755         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
22756         version if bit_Fast_Unaligned_Load is set.
22757         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
22758         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
22759         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
22760         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
22761         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
22762         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
22763         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22764         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
22765         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
22766         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
22767         to 4.
22768         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
22769         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
22770         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
22771         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
22773 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
22775         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
22776         instead of #if to avoid a Wundef warning.
22777         * stdlib/tst-limits.c (do_test): Likewise.
22779         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
22780         parallel other exception macros.
22781         (fegetenv): Convert from macro to extern inline so that it applies
22782         retroactively to inline functions already seen by the compiler.
22783         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
22785         * posix/Makefile (before-compile): Use $(objpfx) for
22786         posix-conf-vars-def.h.
22788 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
22790         * posix/getconf.c (main): Use size_t for type of I.
22791         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
22792         NSPEC.
22794         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
22795         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
22796         * posix/posix-envs.def: Likewise.
22797         * sysdeps/posix/sysconf.c: Likewise.
22798         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
22799         (specs): Remove array.
22800         * scripts/gen-posix-conf-vars.awk: Support generation of specs
22801         array.
22803         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
22804         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
22805         (__sysconf): Use CONF_IS_* macros.
22807         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
22808         ($(objpfx)posix-conf-vars-def.h): New target.
22809         * posix/posix-conf-vars.list: New file.
22810         * posix/posix-conf-vars.h: New file.
22811         * posix/confstr.c: Include posix-conf-vars.h.
22812         (confstr): Use CONF_IS_* macros.
22813         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
22814         CONF_IS_* macros.
22815         * scripts/gen-posix-conf-vars.awk: New file.
22817 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
22819         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
22820         fegetround): Add no-op macros to avoid linknamespace issues.
22822         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
22823         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
22825         * sysdeps/unix/sysv/linux/tile/sysdep.h
22826         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
22827         assembly-specific section to avoid a redefinition warning.
22829         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
22830         long before casting to pointer to avoid a cast warning.
22832 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
22834         * sysdeps/tile/tilegx/Implies: New file.
22836 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
22838         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
22840 2014-12-23  Florian Weimer  <fweimer@redhat.com>
22842         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
22844 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
22846         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
22847         not define.
22848         * sysdeps/unix/sysv/linux/utimes.c: Do not include
22849         <kernel-features.h>.
22850         (__utimes) [__NR_utimes]: Make code unconditional.
22851         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
22852         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22853         (__ASSUME_UTIMES): Do not undefine.
22854         * sysdeps/unix/sysv/linux/tile/kernel-features.h
22855         (__ASSUME_UTIMES): Likewise.
22856         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
22857         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
22858         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
22859         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
22861 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
22863         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
22865 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
22867         [BZ #17747]
22868         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
22869         alias to weak alias for j0l, y0l.
22870         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
22871         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
22873         [BZ #17746]
22874         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
22875         conversion.
22877 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
22879         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
22880         to zero if not already defined.
22882 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
22884         [BZ #17724]
22885         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
22886         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
22887         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
22888         (char *) casts added.
22889         * sysdeps/ieee754/k_standardf.c: New file.
22890         * sysdeps/ieee754/k_standardl.c: Likewise.
22891         * math/Makefile (libm-support): Remove k_standard.
22892         (libm-calls): Add k_standard.
22894 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
22896         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
22897         Optimize to avoid an unnecessary FPCR read.
22899 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
22901         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
22902         Optimize to reduce FPCR/FPSR accesses.
22904 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
22906         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
22907         Call libc_fetestexcept_aarch64.
22909 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
22911         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
22912         Call libc_fesetround_aarch64.
22914 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
22916         [BZ #17733]
22917         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
22918         (__bind): Do not define as weak alias.
22919         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
22920         define.
22921         (__getsockname): Do not define as weak alias.
22923 2014-12-22  Will Newton  <will.newton@linaro.org>
22925         * manual/install.texi: Document that we require bison 2.7
22926         or above.
22927         * INSTALL: Regenerate.
22928         * configure.ac: Use AC_CHECK_PROG_VER instead of
22929         AC_PATH_PROG when checking for bison and check for
22930         version 2.7 or above.
22931         * configure: Regenerate.
22933 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
22935         [BZ #17745]
22936         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
22937         * sysdeps/tile/ffsll.c (ffsll): To here.
22939         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
22941 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
22943         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
22944         if not defined.
22945         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
22946         definition.
22947         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
22948         hidden ___tls_get_addr.
22949         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
22950         hidden __tls_get_addr.
22951         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
22952         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
22953         Likewise.
22955 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
22957         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
22958         _dl_init call.
22960 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
22962         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
22963         from "call _dl_init@PLT".
22964         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
22966 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
22968         * manual/search.texi: (Array Sort Function): Clarify stable sorting
22969         guarantees.
22971 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
22973         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
22975 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
22977         [BZ #17744]
22978         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
22979         strnlen.
22981 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
22983         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
22984         of multu on MIPSr6.
22985         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
22986         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
22987         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
22988         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
22989         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
22991 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
22993         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
22994         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
22995         (PTR_SUBU): Use subu for mips32r6/mips64r6.
22996         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
22997         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
22998         mips32r6/mips64r6.
22999         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
23001 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
23003         * string/strncat.c (STRNCAT): Simplify implementation.
23005 2014-12-19  David S. Miller  <davem@davemloft.net>
23007         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
23008         access the quad as both a long double and as a series of 4 words.
23010         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
23011         link_map->l_info array access.
23013 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
23015         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
23017         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
23018         * math/atest-exp2.c (TIMEOUT): Likewise.
23019         * math/atest-sincos.c (TIMEOUT): Likewise.
23021 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
23023         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
23024         -Wno-error with -fno-builtin-lround.
23026 2014-12-19  Torvald Riegel  <triegel@redhat.com>
23028         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
23029         Contains futex constants and functions moved over from ...
23030         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
23031         <lowlevellock-futex.h>.
23032         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
23033         (lll_timedwait_tid): Add comments and parentheses around macro
23034         arguments.
23036 2014-12-19  Torvald Riegel  <triegel@redhat.com>
23038         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
23039         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
23040         (__lll_private_flag): Remove.
23041         (lll_futex_wait): Likewise.
23042         (lll_futex_timed_wait): Likewise.
23043         (lll_futex_wake): Likewise.
23044         (lll_futex_requeue): Likewise.
23045         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
23046         (__lll_timedwait_tid): Spell out argument names.
23047         (lll_timedwait_tid): Add comments and parentheses around macro
23048         arguments.
23049         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
23050         LLL_SHARED and LLL_PRIVATE usable from assembly code.
23052 2014-12-19  Torvald Riegel  <triegel@redhat.com>
23054         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
23055         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
23056         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
23057         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
23058         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
23059         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
23060         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
23061         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
23062         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
23063         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
23064         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
23065         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
23066         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
23067         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
23068         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
23069         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
23070         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
23071         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
23072         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
23074 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
23076         * sysdeps/x86_64/x32/Makefile: New file.
23078 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
23080         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
23081         1L with (mp_limb_t) 1.
23083 2014-12-17  Roland McGrath  <roland@hack.frob.com>
23085         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
23086         * nptl/libc_pthread_init.c: ... here.
23087         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
23088         * nptl/register-atfork.c: ... here.
23090         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
23091         Use pthread_sigmask rather than INTERNAL_SYSCALL.
23092         Use assert_perror to check its return value.
23093         (__gai_create_helper_thread): Likewise.
23095         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
23097         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
23099 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
23101         [BZ #17725]
23102         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
23103         __profil_counter.
23104         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
23105         Likewise.
23106         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
23107         Likewise.
23108         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
23109         Likewise.
23110         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
23111         (profil_counter): Likewise.
23112         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
23113         (profil_counter): Likewise.
23114         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
23115         Likewise.
23116         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
23117         Likewise.
23118         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
23119         (profil_counter): Likewise.
23120         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
23121         Likewise.
23122         [!__profil_counter] (profil_counter): Define as weak alias of
23123         __profil_counter.
23124         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
23125         (profil_counter): Rename to __profil_counter.
23126         [!__profil_counter] (profil_counter): Define as weak alias of
23127         __profil_counter.
23128         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
23129         (profil_counter): Rename to __profil_counter.
23130         [!__profil_counter] (profil_counter): Define as weak alias of
23131         __profil_counter.
23132         * sysdeps/posix/profil.c: Update comment referring to
23133         profil_counter.
23134         (__profil): Use __profil_counter instead of profil_counter.
23135         * sysdeps/posix/sprofil.c (profil_counter): Rename to
23136         __profil_counter.  Use __profil_counter_ushort and
23137         __profil_counter_uint in definitions.
23138         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
23139         instead of profil_counter_uint and profil_counter_ushort.
23141         [BZ #17722]
23142         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
23143         define as weak alias of __inet_makeaddr.
23144         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
23145         as weak alias of __inet_addr.
23146         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
23147         as weak alias of __inet_pton.  Use libc_hidden_weak.
23148         * include/arpa/inet.h (__inet_pton): Declare.  Use
23149         libc_hidden_proto.
23150         (inet_makeaddr): Don't use libc_hidden_proto.
23151         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
23152         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
23153         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
23154         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
23155         Remove variable.
23156         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
23157         (test-xfail-POSIX/time.h/linknamespace): Likewise.
23159 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
23161         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
23163 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
23165         * stdio-common/bug-vfprintf-nargs.c (do_test):
23166         Cast value to intptr_t to avoid format warning
23167         for usage with PRIdPTR printing macro.
23169 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
23171         * libio/tst-widetext.c (do_test):
23172         Use format type %td instead of %Zd for ptrdiff_t
23173         in order to avoid format warning.
23175 2014-12-17  Andreas Schwab  <schwab@suse.de>
23177         * nscd/mem.c (gc): Add size_t cast to match printf format.
23179 2014-12-16  Roland McGrath  <roland@hack.frob.com>
23181         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
23182         (init): Apply PTR_MANGLE to pointers before storing them.
23183         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
23184         before using them.
23186 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
23188         [BZ #17719]
23189         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
23190         define as weak alias of __memrchr.
23191         (__memrchr): Do not define as strong alias of memrchr.
23192         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
23193         Remove variable.
23194         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
23195         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
23196         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
23198         [BZ #17717]
23199         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
23200         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
23201         (if_indextoname): Rename to __if_indextoname and define as weak
23202         alias of __if_indextoname.  Use libc_hidden_weak.
23203         (if_freenameindex): Rename to __if_freenameindex and define as
23204         weak alias of __if_freenameindex.
23205         (if_nameindex): Rename to __if_nameindex and define as weak alias
23206         of __if_nameindex.
23207         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
23208         __if_nametoindex and define as weak alias of __if_nametoindex.
23209         Use libc_hidden_weak.
23210         (if_freenameindex): Rename to __if_freenameindex and define as
23211         weak alias of __if_freenameindex.
23212         (if_nameindex): Rename to __if_nameindex and define as weak alias
23213         of __if_nameindex.
23214         (if_indextoname): Rename to __if_indextoname and define as weak
23215         alias of __if_indextoname.  Use libc_hidden_weak.
23216         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
23217         __if_nametoindex and define as weak alias of __if_nametoindex.
23218         Use libc_hidden_weak.
23219         (if_freenameindex): Rename to __if_freenameindex and define as
23220         weak alias of __if_freenameindex.  Use libc_hidden_weak.
23221         (if_nameindex_netlink): Use __if_freenameindex instead of
23222         if_freenameindex.
23223         (if_nameindex): Rename to __if_nameindex and define as weak alias
23224         of __if_nameindex.  Use libc_hidden_weak.
23225         (if_indextoname): Rename to __if_indextoname and define as weak
23226         alias of __if_indextoname.  Use libc_hidden_weak.
23227         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
23228         libc_hidden_proto.
23229         [!_ISOMAC] (__if_freenameindex): Likewise.
23230         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
23231         if_nametoindex.
23232         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
23233         variable.
23234         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
23235         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
23236         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
23237         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
23238         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
23239         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
23240         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
23242         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
23243         Remove variable.
23244         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
23245         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
23247 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
23249         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
23250         subscript above bounds'
23252         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
23253         bounds.
23255 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
23257         * libio/tst-fopenloc.c: Use test-skeleton.c.
23259         * stdlib/tst-bsearch.c: Use test-skeleton.c.
23260         (entry): Rename to ITEM.
23261         (do_test, comp): Adjust.
23263         * stdio-common/tst-fseek.c: Use test-skeleton.c.
23265 2014-12-16  Torvald Riegel  <triegel@redhat.com>
23267         * string/tester.c: Include <libc-internal.h>.
23268         (test_memset): Ignore -Wmemset-transposed-args.
23270 2014-12-16  Torvald Riegel  <triegel@redhat.com>
23272         * misc/tst-mntent2.c (do_test): Fix warning.
23274 2014-12-16  Torvald Riegel  <triegel@redhat.com>
23276         * elf/tst-unique4lib.cc(a): Mark as used.
23278 2014-12-16  Florian Weimer  <fweimer@redhat.com>
23280         [BZ #17630]
23281         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
23282         names.
23284 2014-12-16  Allan McRae  <allan@archlinux.org>
23286         * stdio-common/Makefile (tests): Re-add bug26.
23288 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
23290         [BZ #17657]
23291         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
23292         static array.
23294 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
23296         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
23297         (__lll_lock_wait): Likewise.
23298         (__lll_timedlock_wait): Likewise.
23299         (__lll_timedwait_tid): Likewise.
23300         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
23301         (__lll_robust_timedlock_wait): Likewise.
23302         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
23303         (lll_cond_trylock): Likewise.
23304         (__lll_lock): Likewise.
23305         (__lll_robust_lock): Likewise.
23306         (__lll_cond_lock): Likewise.
23307         (lll_robust_cond_lock): Likewise.
23308         (__lll_timedlock): Likewise.
23309         (__lll_robust_timedlock): Likewise.
23310         (__lll_unlock): Likewise.
23311         (__lll_robust_unlock): Likewise.
23312         (lll_wait_tid): Likewise.
23313         (lll_timedwait_tid): Likewise.
23315 2014-12-15  Torvald Riegel  <triegel@redhat.com>
23317         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
23319 2014-12-15  Torvald Riegel  <triegel@redhat.com>
23321         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
23323 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
23325         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
23326         * stdio-common/tst-sprintf.c: Likewise.
23328 2014-12-15  Torvald Riegel  <triegel@redhat.com>
23330         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
23332 2014-12-15  Jeff Law  <law@redhat.com>
23334         [BZ #16617]
23335         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
23336         on the heap.  (CVE-2012-3406)
23337         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
23338         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
23339         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
23341 2014-12-15  Will Newton  <will.newton@linaro.org>
23343         * manual/install.texi: Bump required version of texinfo
23344         to 4.7 from 4.5.
23345         * INSTALL: Regenerated.
23346         * configure.ac: Check for makeinfo version 4.7 and above.
23347         * configure: Regenerated.
23349 2014-12-12  Roland McGrath  <roland@hack.frob.com>
23351         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
23352         PREFIX, string constant to insert between directory and name.
23353         * sysdeps/posix/shm_open.c: Update caller.
23354         * sysdeps/posix/shm_unlink.c: Likewise.
23355         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
23356         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
23357         (SEM_SHM_PREFIX): New macro.
23358         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
23359         [$(have-thread-library) = no].
23360         * nptl/Makefile (libpthread-routines): Add shm-directory.
23361         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
23362         * sysdeps/nptl/shm-directory.h: New file.
23363         * sysdeps/posix/shm-directory.c
23364         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
23365         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
23366         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
23367         INTERNAL_SYSCALL.
23368         (__where_is_shmfs): Function removed.
23369         (mountpoint, defaultmount, defaultdir, __namedsem_once):
23370         Variables removed.
23371         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
23372         Use SHM_GET_NAME.
23373         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
23375         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
23376         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
23377         unconditional for use inside libpthread.
23378         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
23380 2014-12-12  Roland McGrath  <roland@hack.frob.com>
23382         * nptl/pthread_getaffinity.c: New file.
23383         * nptl/pthread_setaffinity.c: New file.
23384         * nptl/pthread_getname.c: New file.
23385         * nptl/pthread_setname.c: New file.
23387         * nptl/pthread_create.c (START_THREAD_DEFN)
23388         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
23390 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
23391             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23393         * resolv/res_send.c (send_vc): Disable warning resplen may
23394         be used uninitialized.
23396 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
23398         * nptl/tst-mutex6.c
23399         (ATTR_NULL): New define checks ATTR against NULL.
23400         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
23401         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
23403 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
23405         [BZ #17581]
23406         * malloc/hooks.c
23407         (mem2mem_check): Revert my previous change.
23408         (malloc_check_get_size): Revert my previous change.
23409         (mem2chunk_check): Revert my previous change.
23411 2014-12-11  Roland McGrath  <roland@hack.frob.com>
23413         * sysdeps/posix/shm-directory.c: New file.
23414         * sysdeps/posix/shm-directory.h: New file.
23415         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
23416         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
23417         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
23418         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
23419         Transmute EPERM to EACCES.
23420         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
23421         from ...
23422         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
23423         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
23425 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23427         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
23428         pointer and cast to uintptr_t.
23429         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
23430         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
23431         Add cast to avoid warning.
23432         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
23434 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
23436         * nptl/semaphore.h: Move to ...
23437         * sysdeps/pthread/semaphore.h: ... here.
23438         * Makefile (installed-headers): Change nptl/semaphore.h to
23439         sysdeps/pthread/semaphore.h.
23441 2014-12-11  Roland McGrath  <roland@hack.frob.com>
23443         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
23444         generated error format strings.
23446         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
23447         -Wformat-extra-args warnings for scanf formats.
23448         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
23449         test of zero-length format (duh).
23450         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
23451         corner-case scanf format test.
23452         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
23453         generated fprintf format string.
23454         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
23455         corner-case sprintf format tests.
23456         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
23457         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
23458         -Wformat-extra-args warnings throughout.
23459         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
23460         (CFLAGS-scanf4.c): Likewise.
23461         (CFLAGS-scanf7.c): Likewise.
23462         (CFLAGS-tst-sprintf.c): Likewise.
23463         (CFLAGS-tst-printf.c): Likewise.
23464         (CFLAGS-tst-printfsz.c): Likewise.
23466 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
23468         * include/cpio.h: New file.
23469         * include/fmtmsg.h: Likewise.
23471         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
23472         corresponding format argument to size_t.
23473         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
23474         arguments.
23475         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
23476         corresponding format argument to size_t.
23477         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
23478         arguments.
23479         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
23480         corresponding format argument to size_t.
23481         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
23482         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
23483         (CFLAGS-tst-mbswcs2.c): Likewise.
23484         (CFLAGS-tst-mbswcs3.c): Likewise.
23485         (CFLAGS-tst-mbswcs4.c): Likewise.
23486         (CFLAGS-tst-mbswcs5.c): Likewise.
23487         (CFLAGS-tst-trans.c): Likewise.
23489 2014-12-11  Roland McGrath  <roland@hack.frob.com>
23491         * posix/regexbug1.c (main): Use "%s" format with regerror results,
23492         rather than assuming they won't contain any '%'s.
23494 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
23496         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
23497         inhibit_loop_to_libcall to avoid recursive calls.
23498         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
23499         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
23501 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
23503         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
23504         prototype.
23506 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
23508         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
23509         integer value instead of boolean.
23511 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
23513         * malloc/malloc.c: Fix powerof2 check.
23515 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
23517         * locale/programs/locfile.h (maybe_swap_uint32):
23518         Remove inline and add unused attribute.
23520 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
23522         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
23523         Truncating assembler expression to a .long expression.
23525 2014-12-11  Andreas Schwab  <schwab@suse.de>
23527         * elf/rtld.c (struct map_args): Constify str member.
23528         (do_preload): Constify fname argument.
23530 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23532         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
23533         constants definition.
23535 2014-12-11  Andreas Schwab  <schwab@suse.de>
23537         [BZ #16657]
23538         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
23539         FORCE_ELISION instead of DO_ELISION.
23540         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
23541         Remove.
23542         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
23543         Likewise.
23545         * iconvdata/gconv-modules: Remove duplicate entry.
23547 2014-12-11  Will Newton  <will.newton@linaro.org>
23549         Merge gettext 0.19.3 into intl/.
23551         This involves a number of cosmetic changes to comments
23552         and ANSI function definitions and prototypes throughout
23553         all the files. The gettext copyright header is used but
23554         with the date ranges taken from the glibc copy.
23556         * NEWS: Add gettext merge to 2.21.
23557         * intl/bindtextdom.c: Switch to gettext copyright.
23558         Use ANSI definitions and prototypes.
23559         Use gl_* locking primitives rather than __libc_* ones.
23560         Use __builtin_expect rather than __glibc_likely/unlikely.
23561         * intl/dcgettext.c: Switch to gettext copyright.
23562         Use ANSI definitions and prototypes.
23563         * intl/dcigettext.c: Switch to gettext copyright.
23564         Use ANSI definitions and prototypes.
23565         (INTDIV0_RAISES_SIGFPE): New define.
23566         Use gl_* locking primitives rather than __libc_* ones.
23567         Include eval-plural.h instead of plural-eval.c.
23568         Use __builtin_expect rather than __glibc_likely/unlikely.
23569         * intl/dcngettext.c: Switch to gettext copyright.
23570         Use ANSI definitions and prototypes.
23571         * intl/dgettext.c: Likewise.
23572         * intl/dngettext.c: Likewise.
23573         * intl/plural-eval.c: Renamed to...
23574         * intl/eval-plural.h: ...this.
23575         * intl/explodename.c: Switch to gettext copyright.
23576         Use ANSI definitions and prototypes.
23577         (_nl_explode_name): Use strchr instead of __rawmemchr.
23578         * intl/finddomain.c: Switch to gettext copyright.
23579         Use ANSI definitions and prototypes.
23580         Use gl_* locking primitives rather than __libc_* ones.
23581         (_nl_find_domain): Use malloc rather than alloca for
23582         allocation of temporary locale name.
23583         * intl/gettext.c: Switch to gettext copyright.
23584         Use ANSI definitions and prototypes.
23585         * intl/gettextP.h: Switch to gettext copyright.
23586         Use ANSI definitions and prototypes.
23587         Use gl_* locking primitives rather than __libc_* ones.
23588         * intl/gmo.h: Switch to gettext copyright.
23589         (struct sysdep_string): Move struct segment_pair outside of
23590         struct definition.
23591         * intl/hash-string.c: Use ANSI definitions and prototypes.
23592         * intl/hash-string.h: Switch to gettext copyright.
23593         Use ANSI definitions and prototypes.
23594         * intl/l10nflist.c: Switch to gettext copyright.
23595         Use ANSI definitions and prototypes.
23596         (_nl_normalize_codeset): Avoid integer overflow.
23597         * intl/loadinfo.h: Switch to gettext copyright.
23598         Use ANSI definitions and prototypes.
23599         (LIBINTL_DLL_EXPORTED): New define.
23600         (PATH_SEPARATOR): New define.
23601         * intl/loadmsgcat.c: Switch to gettext copyright.
23602         * intl/localealias.c: Switch to gettext copyright.
23603         Use ANSI definitions and prototypes.
23604         (_nl_expand_alias): Use PATH_SEPARATOR.
23605         * intl/ngettext.c: Switch to gettext copyright.
23606         Use ANSI definitions and prototypes.
23607         * intl/plural-exp.c: Likewise.
23608         * intl/plural-exp.h: Switch to gettext copyright.
23609         Use ANSI definitions and prototypes.
23610         (struct expression): Move definition of enum operator outside
23611         of struct definition.
23612         * intl/plural.c: Regenerate.
23613         * intl/plural.y: Switch to gettext copyright.
23614         Use ANSI definitions and prototypes.
23615         Port to bison 3.0.
23616         * intl/textdomain.c: Switch to gettext copyright.
23617         Use ANSI definitions and prototypes.
23618         Use gl_* locking primitives rather than __libc_* ones.
23620 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
23622         * debug/warning-nop.c: Add used atrribute.
23624 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
23626         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
23628         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
23629         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
23630         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
23632 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
23633             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23635         [BZ #17634]
23636         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
23637         Undefine after defining function.  Define as weak alias of
23638         __wcschr.  Use libc_hidden_weak.
23639         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
23640         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
23641         (libc_hidden_def): Also define __GI___wcschr alias.
23642         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
23643         __wcschr and define as weak alias of __wcschr.
23644         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
23645         __wcschr.
23646         [!WCSCHR] (DEFAULT_WCSCHR): Define.
23647         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
23648         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
23649         libc_hidden_weak.  Do not use libc_hidden_def.
23650         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
23651         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
23652         __GI___wcschr alias.
23653         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
23654         [IS_IN (libc)] (wcschr): Define as macro expanding to
23655         __redirect_wcschr.
23656         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
23657         [IS_IN (libc)] (__wcschr_power6): Likewise.
23658         [IS_IN (libc)] (__wcschr_power7): Likewise.
23659         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
23660         instead of wcschr.
23661         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
23662         __libc_wcschr.
23663         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
23664         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
23665         __wcschr and define as weak alias of __wcschr.  Use
23666         libc_hidden_builtin_def.
23667         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
23668         as weak alias of __wcschr.  Use libc_hidden_weak.
23669         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
23670         wcschr.
23671         * time/era.c (_nl_init_era_entries): Likewise.
23672         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
23673         variable.
23674         (test-xfail-XPG3/time.h/linknamespace): Likewise.
23675         (test-xfail-XPG4/time.h/linknamespace): Likewise.
23677 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
23679         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
23680         format for long int variable.
23682 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
23684         [BZ #10672]
23685         * manual/search.texi: (Array Sort Function): Remove claim how to make
23686         qsort stable.
23688 2014-12-10  Andreas Schwab  <schwab@suse.de>
23690         [BZ #12847]
23691         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
23692         user-controlled locks.
23694 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
23696         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
23697         register.
23699 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
23701         * configure.ac (--disable-werror): New configure option.
23702         (enable_werror): New AC_SUBST.
23703         * configure: Regenerated.
23704         * config.make.in (enable-werror): New variable.
23705         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
23706         -Wno-error=undef.
23707         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
23708         * manual/install.texi (Configuring and compiling): Document
23709         --disable-werror.
23710         * INSTALL: Regenerated.
23711         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
23712         (CFLAGS-tst-chk2.c): Likewise.
23713         (CFLAGS-tst-chk3.c): Likewise.
23714         (CFLAGS-tst-chk4.cc): Likewise.
23715         (CFLAGS-tst-chk5.cc): Likewise.
23716         (CFLAGS-tst-chk6.cc): Likewise.
23717         (CFLAGS-tst-lfschk1.c): Likewise.
23718         (CFLAGS-tst-lfschk2.c): Likewise.
23719         (CFLAGS-tst-lfschk3.c): Likewise.
23720         (CFLAGS-tst-lfschk4.cc): Likewise.
23721         (CFLAGS-tst-lfschk5.cc): Likewise.
23722         (CFLAGS-tst-lfschk6.cc): Likewise.
23724         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
23725         (main): Disable -Wdeprecated-declarations around calls to
23726         register_printf_function.
23728         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
23729         (do_test): Disable -Wdiv-by-zero around some calls to
23730         fwrite_unlocked and fread_unlocked.
23732         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
23733         (DIAG_POP_NEEDS_COMMENT): Likewise.
23734         (_DIAG_STR1): Likewise.
23735         (_DIAG_STR): Likewise.
23736         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
23737         * stdio-common/bug21.c: Include <libc-internal.h>.
23738         (do_test): Disable -Wformat around call to sscanf.
23739         * stdio-common/scanf14.c: Include <libc-internal.h>.
23740         (main): Disable -Wformat around some calls to scanf functions.
23742 2014-12-09  Torvald Riegel  <triegel@redhat.com>
23744         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
23746 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23748         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
23749         stack variable alignment.
23751 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
23753         [BZ #17682]
23754         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
23755         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
23756         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
23757         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
23758         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
23759         __getrlimit instead of getrlimit.
23760         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
23761         __gettimeofday instead of gettimeofday.
23762         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
23763         Likewise.
23764         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
23765         Likewise.
23766         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
23767         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
23768         Remove variable.
23769         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
23770         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
23772 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23774         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
23775         for wide-character tests.
23777 2014-12-04  Roland McGrath  <roland@hack.frob.com>
23779         * io/openat64.c: #include <libc-internal.h>
23780         (__openat64): Prototypify.  Use ignore_value on MODE.
23781         * io/openat.c: Likewise.
23782         * misc/reboot.c: #include <libc-internal.h>
23783         (reboot): Prototypify.  Use ignore_value on HOWTO.
23784         * misc/ptrace.c: #include <libc-internal.h>
23785         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
23787 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
23789         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
23790         XPG4, UNIX98 and XOPEN2K.
23791         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
23792         Remove variable.
23793         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
23795 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
23797         * libio/fileops.c: Use ISO C style for function definitions.
23798         * libio/iofopen.c: Likewise.
23799         * libio/wfileops.c: Likewise.
23801         [BZ #17653]
23802         * libio/fileops.c (_IO_new_file_underflow): Unset cached
23803         offset on EOF.
23804         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
23805         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
23806         (fgets_func): Function pointer to fgets and fgetws.
23807         (do_ftell_test): Add test to verify ftell value after read
23808         EOF.
23809         (do_test): Set fgets_func.
23811         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
23812         O_TRUNC flag for w and w+ modes.
23813         (do_rewind_test): Likewise.
23814         (do_ftell_test): Likewise.
23815         (do_write_test): Likewise.
23817         [BZ #17647]
23818         * libio/fileops.c (do_ftell): Seek only when there are
23819         unflushed writes.
23820         * libio/wfileops.c (do_ftell_wide): Likewise.
23821         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
23822         test case.
23823         (do_one_test): Call it.
23825 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
23827         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
23828         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
23829         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
23830         Remove variable.
23831         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
23832         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
23833         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
23835 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
23837         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
23838         Remove variable.
23839         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
23841         [BZ #17668]
23842         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
23843         as weak alias of __getifaddrs.  Use libc_hidden_weak.
23844         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
23845         __freeifaddrs.  Use libc_hidden_weak.
23846         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
23847         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
23848         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
23849         __freeifaddrs.  Use libc_hidden_weak.
23850         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
23851         __getifaddrs and define as weak alias of __getifaddrs.  Use
23852         libc_hidden_weak.
23853         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
23854         __freeifaddrs.  Use libc_hidden_weak.
23855         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
23856         Remove variable.
23857         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
23858         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
23860 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
23862         [BZ #17601]
23863         * sysdeps/mips/start.S (__start): Use indirect jump to call
23864         __libc_start_main.
23866 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
23868         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
23870         * nptl/tst-mutex1.c: Include <stdbool.h>.
23871         [!ATTR] (ATTR_NULL): New macro.
23872         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
23873         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
23874         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
23876         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
23877         to char *.
23879         [BZ #17665]
23880         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
23881         Change conditional to [__USE_MISC].
23883         [BZ #17664]
23884         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
23885         fgets_unlocked.
23886         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
23887         __fgets_unlocked.
23888         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
23889         fgets_unlocked.
23890         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
23891         Remove variable.
23892         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
23893         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
23894         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
23895         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
23896         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
23897         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
23898         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
23899         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
23900         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
23902         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
23904 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23906         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23907         Remove strpbrk objects.
23908         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23909         (__libc_ifunc_impl_list): Remove strpbrk implementation.
23910         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
23911         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
23912         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
23913         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
23915         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23916         Remove strcspn objects.
23917         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23918         (__libc_ifunc_impl_list): Remove strcspn implementation.
23919         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
23920         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
23921         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
23922         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
23924         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23925         Remove strspn objetcs.
23926         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23927         (__libc_ifunc_impl_list): Remove strspn implementation.
23928         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
23929         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
23930         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
23931         * sysdeps/powerpc/powerpc64/strspn.S: New file.
23933 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
23935         [BZ #17581]
23936         * malloc/hooks.c
23937         (mem2mem_check): Add a terminator to the chain of checking blocks.
23938         (malloc_check_get_size): Use it here.
23939         (mem2chunk_check): Ditto.
23941 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23943         * sysdeps/powerpc/powerpc64/strtok.S: New file.
23944         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
23946 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
23948         * bits/ioctl-types.h: Indent preprocessor directives correctly.
23950         * nptl/nptl-init.c: Include libc-internal.h.
23951         (__pthread_initialize_minimal_internal): Use ROUND_UP.
23953         * elf/ldconfig.c (search_dir): Expand comment.
23955 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
23957         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
23958         variable.
23959         (linknamespace-symlist-stdlibs-tests): Likewise.
23960         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
23961         instead of $(objpfx)symlist-stdlibs.
23962         (linknamespace-libs-isoc): New variable.
23963         (linknamespace-libs): Use $(linknamespace-libs-isoc).
23964         (linknamespace-libs-ISO): New variable.
23965         (linknamespace-libs-ISO99): Likewise.
23966         (linknamespace-libs-ISO11): Likewise.
23967         (linknamespace-libs-XPG3): Likewise.
23968         (linknamespace-libs-XPG4): Likewise.
23969         (linknamespace-libs-POSIX): Likewise.
23970         (linknamespace-libs-UNIX98): Likewise.
23971         (linknamespace-libs-XOPEN2K): Likewise.
23972         (linknamespace-libs-POSIX2008): Likewise.
23973         (linknamespace-libs-XOPEN2K8): Likewise.
23974         ($(objpfx)symlist-stdlibs): Replace by
23975         $(linknamespace-symlist-stdlibs-tests).  Use
23976         $(linknamespace-libs-$*) as set of libraries.
23977         ($(linknamespace-header-tests)): Update dependencies.  Use
23978         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
23979         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
23980         * conform/linknamespace.pl: Remove comment about considering
23981         definitions of symbols from irrelevant libraries.
23983 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
23985         [BZ #13862]
23986         * elf/dl-tls.c: Include <atomic.h>.
23987         (oom): Remove #ifdef SHARED/#endif.
23988         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
23989         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
23990         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
23991         big enough.
23992         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
23993         * nptl/Makefile (tests): Add tst-stack4.
23994         (modules-names): Add tst-stack4mod.
23995         ($(objpfx)tst-stack4): New.
23996         (tst-stack4mod.sos): Likewise.
23997         ($(objpfx)tst-stack4.out): Likewise.
23998         ($(tst-stack4mod.sos)): Likewise.
23999         (clean): Likewise.
24000         * nptl/tst-stack4.c: New file.
24001         * nptl/tst-stack4mod.c: Likewise.
24003 2014-11-27  J. Brown  <jb999@gmx.de>
24005         * sysdeps/x86/bits/string.h: Add recent CPUs.
24007 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
24009         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
24010         sigblock.
24012         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
24013         feof.
24015         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
24016         variable.
24018 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
24020         * nscd/connections.c: Include libc-internal.h because of macro
24021         usage ignore_value.
24023 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
24025         * string/bits/string3.h (__warn_memset_zero_len): Don't
24026         declare for gcc newer than 5.0.
24027         (memset): Don't test for zero-length __LEN for gcc newer than
24028         5.0.
24030 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
24032         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
24033         size_t for %zu format.
24035         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
24036         difference, not %ju.
24038 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
24040         * include/libc-internal.h (ignore_value): New macro.
24041         * nscd/connections.c (restart): Wrap calls to setuid and setgid
24042         with ignore_value.
24044         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
24045         definition.
24047         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
24048         pthread_cleanup_push to void *.
24050         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
24051         Undefine.
24053         [BZ #16619]
24054         [BZ #16740]
24055         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
24056         instead of 1L << 52.
24058         * libio/bug-rewind.c (do_test): Check fwscanf return values.
24059         * libio/bug-rewind2.c (do_test): Likewise.
24061         * debug/test-stpcpy_chk-ifunc.c: Remove file.
24062         * debug/test-strcpy_chk-ifunc.c: Likewise.
24063         * wcsmbs/test-wcschr-ifunc.c: Likewise.
24064         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
24065         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
24066         * wcsmbs/test-wcslen-ifunc.c: Likewise.
24067         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
24068         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
24069         * Rules [$(multi-arch) = no] (tests): Do not filter out
24070         $(tests-ifunc).
24071         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
24072         * debug/Makefile (tests-ifunc): Remove variable.
24073         (tests): Do not add $(tests-ifunc).
24074         * wcsmbs/Makefile (tests-ifunc): Remove variable.
24075         (tests): Do not add $(tests-ifunc).
24076         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
24077         [TEST_IFUNC]: Remove conditionals.
24078         * string/test-string.h (TEST_IFUNC): Remove macro.
24079         [TEST_IFUNC]: Remove conditionals.
24081         * string/test-strchr.c [!WIDE] (L): New macro.
24082         [WIDE] (L): Likewise.
24083         (check1): Use CHAR instead of char.  Use L on string and character
24084         constants.
24086 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
24088         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
24089         tests.
24090         * sysdeps/powerpc/bits/atomic.h
24091         (__arch_atomic_exchange_and_add_32_acq): Add definition.
24092         (__arch_atomic_exchange_and_add_32_rel): Likewise.
24093         (atomic_exchange_and_add_acq): Likewise.
24094         (atomic_exchange_and_add_rel): Likewise.
24095         * sysdeps/powerpc/powerpc32/bits/atomic.h
24096         (__arch_atomic_exchange_and_add_64_acq): Add definition.
24097         (__arch_atomic_exchange_and_add_64_rel): Likewise.
24098         * sysdeps/powerpc/powerpc64/bits/atomic.h
24099         (__arch_atomic_exchange_and_add_64_acq): Add definition.
24100         (__arch_atomic_exchange_and_add_64_rel): Likewise.
24102 2014-11-26  Torvald Riegel  <triegel@redhat.com>
24104         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
24105         Change synchronization of __sched_fifo_min_prio and
24106         __sched_fifo_max_prio.
24107         * nptl/pthread_mutexattr_getprioceiling.c
24108         (pthread_mutexattr_getprioceiling): Likewise.
24109         * nptl/pthread_mutexattr_setprioceiling.c
24110         (pthread_mutexattr_setprioceiling): Likewise.
24111         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
24112         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
24113         Likewise.
24115 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
24117         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
24118         void.
24120 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
24122         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
24123         third argument const.
24125 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
24127         fnmatch: work around GCC compiler warning bug with uninit var
24128         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
24129         This works around a bug with x86-64 GCC 4.9.2 and earlier
24130         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
24131         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
24132         used uninitialized in this function [-Wmaybe-uninitialized]".
24134 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
24136         * posix/bug-regex31.c (main): Return RES not 0.
24138 2014-11-25  Anton Blanchard <anton@samba.org>
24140         * sysdeps/powerpc/bits/atomic.h
24141         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
24143 2014-11-24  Sterling Augustine  <saugustine@google.com>
24145         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
24147 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
24149         [BZ #17608]
24150         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
24152 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
24154         [BZ #17633]
24155         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
24156         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
24157         variable.
24158         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
24159         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
24161 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
24163         * string/strncpy.c (strncpy): Improve performance by using memset.
24165 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
24167         * string/strcpy.c (strcpy):
24168         Improve performance by using strlen and memcpy.
24170 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
24172         * string/strcoll_l.c (get_next_seq): __always_inline.
24173         * string/strcoll_l.c (do_compare): __always_inline.
24175 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24177         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
24178         defined.
24179         * include/mqueue.h: Likewise.
24180         * include/stdlib.h: Likewise.
24182         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
24183         (get_null_defines): Adjust.
24184         * sunrpc/Makefile: Adjust comment.
24185         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
24186         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
24187         (CFLAGS-interp.c): Likewise.
24188         (CFLAGS-ldconfig.c): Likewise.
24189         (CPPFLAGS-.os): Likewise.
24190         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
24191         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
24192         * extra-modules.mk (extra-modules.mk): Likewise.
24193         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
24194         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
24195         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
24196         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
24197         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
24198         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
24199         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
24200         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
24201         * iconvdata/Makefile (CPPFLAGS): Likewise.
24202         (cpp-srcs-left): Add libof for all iconvdata routines.
24203         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
24204         * include/assert.h: Likewise.
24205         * include/ctype.h: Likewise.
24206         * include/errno.h: Likewise.
24207         * include/libc-symbols.h: Likewise.
24208         * include/math.h: Likewise.
24209         * include/netdb.h: Likewise.
24210         * include/resolv.h: Likewise.
24211         * include/stdio.h: Likewise.
24212         * include/stdlib.h: Likewise.
24213         * include/string.h: Likewise.
24214         * include/sys/stat.h: Likewise.
24215         * include/wctype.h: Likewise.
24216         * intl/l10nflist.c: Likewise.
24217         * libidn/idn-stub.c: Likewise.
24218         * libio/libioP.h: Likewise.
24219         * nptl/libc_multiple_threads.c: Likewise.
24220         * nptl/pthreadP.h: Likewise.
24221         * posix/regex_internal.h: Likewise.
24222         * resolv/res_hconf.c: Likewise.
24223         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
24224         * sysdeps/arm/memmove.S: Likewise.
24225         * sysdeps/arm/sysdep.h: Likewise.
24226         * sysdeps/generic/_itoa.h: Likewise.
24227         * sysdeps/generic/symbol-hacks.h: Likewise.
24228         * sysdeps/gnu/errlist.awk: Likewise.
24229         * sysdeps/gnu/errlist.c: Likewise.
24230         * sysdeps/i386/i586/memcpy.S: Likewise.
24231         * sysdeps/i386/i586/memset.S: Likewise.
24232         * sysdeps/i386/i686/memcpy.S: Likewise.
24233         * sysdeps/i386/i686/memmove.S: Likewise.
24234         * sysdeps/i386/i686/mempcpy.S: Likewise.
24235         * sysdeps/i386/i686/memset.S: Likewise.
24236         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
24237         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24238         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
24239         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
24240         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24241         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
24242         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
24243         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24244         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
24245         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
24246         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24247         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24248         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24249         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24250         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24251         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24252         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
24253         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
24254         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
24255         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
24256         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
24257         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
24258         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
24259         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
24260         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
24261         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
24262         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
24263         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24264         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
24265         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
24266         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
24267         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
24268         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
24269         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24270         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
24271         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
24272         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24273         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24274         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24275         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24276         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24277         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24278         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24279         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
24280         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24281         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24282         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
24283         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
24284         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24285         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
24286         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24287         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
24288         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
24289         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24290         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
24291         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
24292         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24293         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
24294         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
24295         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24296         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
24297         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24298         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
24299         * sysdeps/nptl/bits/libc-lock.h: Likewise.
24300         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
24301         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
24302         * sysdeps/posix/closedir.c: Likewise.
24303         * sysdeps/posix/opendir.c: Likewise.
24304         * sysdeps/posix/readdir.c: Likewise.
24305         * sysdeps/posix/rewinddir.c: Likewise.
24306         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
24307         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
24308         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
24309         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
24310         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
24311         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
24312         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
24313         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
24314         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
24315         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
24316         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
24317         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
24318         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
24319         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
24320         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
24321         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
24322         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
24323         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
24324         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
24325         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
24326         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
24327         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
24328         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
24329         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
24330         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
24331         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
24332         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
24333         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
24334         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
24335         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
24336         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
24337         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
24338         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
24339         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
24340         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
24341         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
24342         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
24343         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
24344         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
24345         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
24346         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
24347         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
24348         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
24349         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
24350         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
24351         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
24352         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
24353         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
24354         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
24355         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
24356         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
24357         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
24358         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
24359         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
24360         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
24361         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
24362         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
24363         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
24364         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
24365         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
24366         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
24367         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
24368         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
24369         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
24370         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
24371         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
24372         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
24373         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
24374         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
24375         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
24376         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
24377         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
24378         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
24379         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
24380         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
24381         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
24382         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
24383         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
24384         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
24385         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
24386         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
24387         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
24388         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
24389         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
24390         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
24391         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
24392         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
24393         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
24394         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
24395         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24396         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
24397         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
24398         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
24399         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
24400         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
24401         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
24402         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
24403         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
24404         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
24405         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
24406         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24407         * sysdeps/unix/alpha/sysdep.S: Likewise.
24408         * sysdeps/unix/alpha/sysdep.h: Likewise.
24409         * sysdeps/unix/make-syscalls.sh: Likewise.
24410         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
24411         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
24412         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
24413         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
24414         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
24415         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
24416         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
24417         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
24418         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
24419         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
24420         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
24421         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
24422         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24423         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
24424         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
24425         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
24426         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
24427         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
24428         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
24429         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
24430         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
24431         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
24432         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
24433         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
24434         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
24435         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
24436         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
24437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
24438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
24439         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
24440         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
24441         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
24442         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
24443         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24444         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
24445         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
24446         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
24447         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24448         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
24449         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
24450         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
24451         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
24452         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
24453         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
24454         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
24455         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
24456         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24457         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24458         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
24459         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24460         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
24461         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
24462         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
24463         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
24464         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
24465         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
24466         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
24467         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
24468         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
24469         * sysdeps/x86_64/memcpy.S: Likewise.
24470         * sysdeps/x86_64/memmove.c: Likewise.
24471         * sysdeps/x86_64/memset.S: Likewise.
24472         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
24473         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
24474         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
24475         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
24476         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
24477         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24478         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24479         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
24480         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
24481         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
24482         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
24483         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
24484         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
24485         * sysdeps/x86_64/multiarch/memset.S: Likewise.
24486         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24487         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
24488         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
24489         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
24490         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
24491         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
24492         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
24493         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
24494         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24495         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
24496         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
24497         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
24498         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
24499         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
24500         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
24501         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
24502         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
24503         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
24504         * sysdeps/x86_64/strcmp.S: Likewise.
24506         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
24508         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
24509         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
24510         * elf/rtld-Rules: Likewise.
24511         * elf/setup-vdso.h: Likewise.
24512         * include/assert.h: Likewise.
24513         * include/bits/stdlib-float.h: Likewise.
24514         * include/errno.h: Likewise.
24515         * include/sys/stat.h: Likewise.
24516         * include/unistd.h: Likewise.
24517         * sysdeps/aarch64/setjmp.S: Likewise.
24518         * sysdeps/alpha/setjmp.S: Likewise.
24519         * sysdeps/arm/__longjmp.S: Likewise.
24520         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
24521         * sysdeps/arm/setjmp.S: Likewise.
24522         * sysdeps/arm/sysdep.h: Likewise.
24523         * sysdeps/generic/_itoa.h: Likewise.
24524         * sysdeps/generic/dl-sysdep.h: Likewise.
24525         * sysdeps/generic/ldsodefs.h: Likewise.
24526         * sysdeps/i386/dl-tls.h: Likewise.
24527         * sysdeps/i386/setjmp.S: Likewise.
24528         * sysdeps/m68k/setjmp.c: Likewise.
24529         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
24530         * sysdeps/mach/hurd/opendir.c: Likewise.
24531         * sysdeps/posix/getcwd.c: Likewise.
24532         * sysdeps/posix/opendir.c: Likewise.
24533         * sysdeps/posix/profil.c: Likewise.
24534         * sysdeps/powerpc/dl-procinfo.h: Likewise.
24535         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
24536         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
24537         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
24538         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
24539         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
24540         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
24541         * sysdeps/s390/dl-tls.h: Likewise.
24542         * sysdeps/s390/s390-32/setjmp.S: Likewise.
24543         * sysdeps/s390/s390-64/setjmp.S: Likewise.
24544         * sysdeps/sh/sh3/setjmp.S: Likewise.
24545         * sysdeps/sh/sh4/setjmp.S: Likewise.
24546         * sysdeps/unix/alpha/sysdep.h: Likewise.
24547         * sysdeps/unix/arm/sysdep.S: Likewise.
24548         * sysdeps/unix/i386/sysdep.S: Likewise.
24549         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
24550         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
24551         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
24552         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
24553         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24554         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
24555         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
24556         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
24557         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
24558         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
24559         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
24560         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
24561         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
24562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
24563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24564         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
24565         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24566         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24567         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
24568         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
24569         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
24570         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24571         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24572         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
24573         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
24574         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
24575         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
24576         * sysdeps/unix/x86_64/sysdep.S: Likewise.
24577         * sysdeps/x86_64/setjmp.S: Likewise.
24579         * include/math.h: Use IS_IN instead of IS_IN_libm.
24580         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
24581         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
24582         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
24583         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
24584         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
24585         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
24586         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
24587         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
24588         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24589         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
24590         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
24591         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
24592         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
24593         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
24594         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
24595         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
24596         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
24597         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
24598         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
24599         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
24600         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
24601         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
24602         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
24603         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
24604         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
24605         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
24606         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
24607         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
24608         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
24609         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
24610         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
24611         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
24612         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
24613         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
24614         Likewise.
24615         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
24616         Likewise.
24617         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
24618         Likewise.
24619         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
24620         Likewise.
24621         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
24622         Likewise.
24623         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
24624         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
24625         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
24626         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
24627         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
24628         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
24629         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
24630         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
24631         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
24632         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
24633         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
24634         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
24635         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
24636         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
24637         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
24638         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
24639         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
24640         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
24641         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
24642         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
24643         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
24644         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
24645         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
24646         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
24647         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
24648         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
24649         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
24651         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
24652         * nptl/pthreadP.h: Likewise.
24653         * nptl_db/structs.def: Likewise.
24654         * sysdeps/arm/sysdep.h: Likewise.
24655         * sysdeps/nptl/bits/libc-lock.h: Likewise.
24656         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
24657         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
24658         * sysdeps/unix/alpha/sysdep.h: Likewise.
24659         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
24660         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
24661         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
24662         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
24663         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
24664         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
24665         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24666         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
24667         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
24668         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
24669         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
24670         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
24671         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
24672         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
24673         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
24674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
24675         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
24676         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
24677         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
24678         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
24679         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
24680         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
24681         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
24682         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
24683         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
24684         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
24686         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
24687         * nptl/pthreadP.h: Likewise.
24688         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
24689         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
24690         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
24691         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
24692         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
24693         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
24694         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
24695         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
24696         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
24697         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
24698         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
24699         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
24700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
24701         Likewise.
24702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
24703         Likewise.
24704         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
24705         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
24706         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
24707         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
24708         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
24709         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
24710         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
24711         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
24713         * dlfcn/dladdr.c: Use IS_IN.
24714         * dlfcn/dladdr1.c: Likewise.
24715         * dlfcn/dlclose.c: Likewise.
24716         * dlfcn/dlerror.c: Likewise.
24717         * dlfcn/dlinfo.c: Likewise.
24718         * dlfcn/dlmopen.c: Likewise.
24719         * dlfcn/dlopen.c: Likewise.
24720         * dlfcn/dlsym.c: Likewise.
24721         * dlfcn/dlvsym.c: Likewise.
24723         * include/ifaddrs.h: Use IS_IN.
24724         * inet/check_pf.c: Likewise.
24725         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
24726         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
24728         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
24729         IS_IN_ldconfig.
24730         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
24731         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
24733         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
24734         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
24735         IS_IN (libc).
24737         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
24739         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
24740         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
24741         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
24742         * include/libc-symbols.h (IS_IN_LIB): New macro.
24743         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
24744         * include/netdb.h: Likewise.
24745         * include/stap-probe.h: Remove all uses of IN_LIB.
24747         * Makeconfig (module-cppflags-real): Define MODULE_NAME
24748         instead of IN_MODULE.
24749         * include/libc-symbols.h (IN_MODULE): Define using
24750         MODULE_NAME.
24751         (PASTE_NAME, PASTE_NAME1): New macros.
24752         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
24753         of IN_LIB.
24754         (STAP_PROBE_ASM): Likewise.
24756 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24758         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
24759         __mach_init in dlopened libc.
24761 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
24763         * sysdeps/arm/preconfigure.ac: Delete EABI check.
24764         * sysdeps/arm/preconfigure: Regenerate.
24766 2014-11-21  Roland McGrath  <roland@hack.frob.com>
24768         * nptl/pthread_create.c (__pthread_create_2_1): Set
24769         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
24770         when copying values from IATTR into PD.
24772 2014-11-21  Will Newton  <will.newton@linaro.org>
24773             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
24775         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
24776         Refactor inline-asm.  Also add comment.
24778         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
24779         ElfW macro instead of hardcoded Elf64 types.
24780         (la_aarch64_gnu_pltenter): Likewise.
24781         * sysdeps/aarch64/dl-machine.h
24782         (elf_machine_runtime_setup): Use ElfW(Addr).
24784         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
24785         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
24786         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
24787         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
24788         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
24789         (R_AARCH64_TLS_DTPMOD64): Rename to ..
24790         (R_AARCH64_TLS_DTPMOD): This.
24791         (R_AARCH64_TLS_DTPREL64): Rename to ...
24792         (R_AARCH64_TLS_DTPREL): This.
24793         (R_AARCH64_TLS_TPREL64): Rename to ...
24794         (R_AARCH64_TLS_TPREL): This.
24795         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
24796         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
24797         R_AARCH64_TLS_TPREL64.
24798         (elf_machine_rela): Likewise.
24800 2014-11-21  Torvald Riegel  <triegel@redhat.com>
24802         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
24803         by setting it to 0.  64b atomics are not supported currently.
24805 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
24807         [BZ #16469]
24808         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
24809         search domain names.
24811 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
24813         [BZ #16469]
24814         * NEWS: Update.
24815         * resolv/res_query.c (__libc_res_nquerydomain): Retain
24816         trailing dot.
24817         * posix/tst-getaddrinfo5.c: New.
24818         * posix/Makefile (tests): Add it.
24820 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
24822         [BZ #14498]
24823         * NEWS: Fixed.
24824         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
24825         after parsing line but before break_if_match.
24826         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
24827         if there is a protocol mismatch.
24829 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
24831         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
24832         because the potential race is on the user-supplied stream.
24834 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
24836         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
24837         string literal if not passed a buffer.
24838         * manual/job.texi (ctermid): Update reasoning, note deviation
24839         from posix, suggest mtasurace when not passed a buffer, for
24840         future non-preliminary safety notes.
24842 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
24844         * manual/users.texi (cuserid): Fix MT-Safety note for the case
24845         of not passing it a buffer.
24846         Reported by Peng Haitao.
24848 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
24850         * manual/Makefile ($(objpfx)stamp-summary): Require
24851         check-safety.sh to pass.
24852         * manual/check-safety.sh: Wish for verification that every
24853         @deftypefn and @deftypefun is followed by a @safety remark.
24855 2014-11-20  Roland McGrath  <roland@hack.frob.com>
24857         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
24859         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
24860         PTHREAD_CANCEL_ASYNCHRONOUS.
24861         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
24862         send SIGCANCEL.
24864         * nptl/default-sched.h: New file.
24865         * sysdeps/unix/sysv/linux/default-sched.h: New file.
24866         * nptl/pthread_create.c: Include it.
24867         (__pthread_create_2_1): Use collect_default_sched instead of making
24868         Linux syscalls here directly.
24870 2014-11-20  Torvald Riegel  <triegel@redhat.com>
24872         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
24873         __pthread_once): Use C11 atomics.
24875 2014-11-20  Torvald Riegel  <triegel@redhat.com>
24877         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
24879 2014-11-20  Torvald Riegel  <triegel@redhat.com>
24881         * include/atomic.h (__atomic_link_error, __atomic_check_size,
24882         atomic_thread_fence_acquire, atomic_thread_fence_release,
24883         atomic_thread_fence_seq_cst, atomic_load_relaxed,
24884         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
24885         atomic_compare_exchange_weak_relaxed,
24886         atomic_compare_exchange_weak_acquire,
24887         atomic_compare_exchange_weak_release,
24888         atomic_exchange_acquire, atomic_exchange_release,
24889         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
24890         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
24891         atomic_fetch_and_acquire,
24892         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
24894 2014-11-20  Torvald Riegel  <triegel@redhat.com>
24896         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
24897         USE_ATOMIC_COMPILER_BUILTINS): Define.
24898         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
24899         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24900         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
24901         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24902         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
24903         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24904         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
24905         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24906         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
24907         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24908         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
24909         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24910         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
24911         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24912         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
24913         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24914         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
24915         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24916         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
24917         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24918         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
24919         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24920         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
24921         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24922         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
24923         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24924         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
24925         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24926         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
24927         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24928         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
24929         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24930         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
24931         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24932         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
24933         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24934         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
24935         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24936         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
24937         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24939 2014-11-19  Roland McGrath  <roland@hack.frob.com>
24941         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
24942         the sched_priority value here.  It was already checked when the user
24943         called pthread_attr_setschedparam.
24945         * nptl/tst-bad-schedattr.c: New file.
24946         * nptl/Makefile (tests): Add it.
24948 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
24949             Florian Weimer  <fweimer@redhat.com>
24950             Joseph Myers  <joseph@codesourcery.com>
24951             Adam Conrad  <adconrad@0c3.net>
24952             Andreas Schwab  <schwab@suse.de>
24953             Brooks  <bmoses@google.com>
24955         [BZ #17625]
24956         * wordexp-test.c (__dso_handle): Add prototype.
24957         (__register_atfork): Likewise.
24958         (__app_register_atfork): New function.
24959         (registered_forks): New global.
24960         (register_fork): New function.
24961         (test_case): Add 3 new tests for WRDE_CMDSUB.
24962         (main): Call __app_register_atfork.
24963         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
24964         fork count is non-zero fail the test.
24965         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
24966         is set.
24967         (parse_dollars): Remove check for WRDE_NOCMD.
24968         (parse_dquote): Likewise.
24970 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
24972         * Makeconfig (built-modules): List non-library modules to be
24973         built.
24974         (module-cppflags): Include libc-modules.h for
24975         everything except shlib-versions.v.i.
24976         (CPPFLAGS): Use it.
24977         (before-compile): Add libc-modules.h.
24978         ($(common-objpfx)libc-modules.h,
24979         $(common-objpfx)libc-modules.stmp): New targets.
24980         (common-generated): Add libc-modules.h and libc-modules.stmp.
24981         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
24982         * include/libc-symbols.h: Don't include libc-modules.h.
24983         * include/libc-modules.h: Remove file.
24984         * scripts/gen-libc-modules.awk: New script to generate
24985         libc-modules.h.
24986         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
24987         Depend on libc-modules.stmp.
24989         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
24991         * Makeconfig (in-module): Get value of libof set for the
24992         translation unit.
24993         (CPPFLAGS): Use $(in-module).
24994         * Makerules: Don't suffix routine names for nonlib.
24995         * include/libc-modules.h: New file.
24996         * include/libc-symbols.h: Include libc-modules.h
24997         (IS_IN): New macro to replace IS_IN_* macros.
24998         * elf/Makefile: Set libof-* for each routine.
24999         * elf/rtld-Rules: Likewise.
25000         * extra-modules.mk: Likewise.
25001         * iconv/Makefile: Likewise.
25002         * iconvdata/Makefile: Likewise.
25003         * locale/Makefile: Likewise.
25004         * malloc/Makefile: Likewise.
25005         * nss/Makefile: Likewise.
25006         * sysdeps/gnu/Makefile: Likewise.
25007         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
25008         * sysdeps/unix/sysv/linux/Makefile: Likewise.
25009         * sysdeps/s390/s390-64/Makefile: Likewise.
25010         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
25011         CPPFLAGS for nscd instead of nonlib.
25013 2014-11-18  Roland McGrath  <roland@hack.frob.com>
25015         * nptl/createthread.c: New file.
25017         * nptl/createthread.c: Moved ...
25018         * sysdeps/unix/sysv/linux/createthread.c: ... here.
25020         * nptl/createthread.c: Add proper top-line comment.
25021         (do_clone): Folded into ...
25022         (create_thread): ... here.  Take new arguments STOPPED_START and
25023         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
25024         increment __nptl_threads, do event-reporting logic, do
25025         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
25026         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
25027         resource cleanup if sched_setaffinity or sched_setscheduler fails,
25028         just send SIGCANCEL.
25029         * nptl/pthread_create.c: Forward-declare create_thread before
25030         including createthread.c.
25031         (start_thread): Use new macro START_THREAD_DEFN to replace defining
25032         declaration, and new macro START_THREAD_SELF to replace argument.
25033         Remove return statement.
25034         (report_thread_creation): New function.
25035         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
25036         synchronization logic, and __nptl_nthreads increment here, around
25037         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
25038         PD->parent_cancelhandling here, before create_thread.  When
25039         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
25040         __deallocate_stack, and ENOMEM translation here.
25042 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
25044         [BZ #17616]
25045         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
25046         (mptwo): Rename to __mptwo.
25047         (__inv): Use __mptwo instead of mptwo.
25048         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
25049         (mptwo): Rename to __mptwo.
25050         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
25051         of mpone and __mptwo instead of mptwo.
25052         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
25053         instead of mpone.
25054         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
25055         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
25056         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
25057         of mpone and __mptwo instead of mptwo.
25058         (__mpranred): Use __mpone instead of mpone.
25059         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
25060         variable.
25061         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
25062         (test-xfail-ISO99/math.h/linknamespace): Likewise.
25063         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
25064         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
25065         (test-xfail-ISO11/math.h/linknamespace): Likewise.
25066         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
25067         (test-xfail-XPG3/math.h/linknamespace): Likewise.
25068         (test-xfail-XPG4/math.h/linknamespace): Likewise.
25069         (test-xfail-POSIX/math.h/linknamespace): Likewise.
25070         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
25071         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
25072         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
25073         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
25074         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
25075         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
25076         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
25077         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
25078         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
25079         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
25081 2014-11-18  Tom de Vries  <tom@codesoucery.com>
25083         * manual/signal.texi (Primitives Interrupted by Signals): In section,
25084         replace BSD Handler xref with BSD Signal Handling.
25086 2014-11-17  Richard Henderson  <rth@redhat.com>
25088         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
25089         (_FP_PACK_RAW_2): Remove.
25090         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
25091         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
25092         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
25093         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
25094         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
25095         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
25096         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
25097         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
25098         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
25099         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
25100         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
25101         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
25102         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
25103         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
25104         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
25105         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
25107 2014-11-14  Roland McGrath  <roland@hack.frob.com>
25109         * signal/signal.h [__USE_MISC]
25110         (struct sigvec): Remove type.
25111         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
25112         (sigvec): Remove declaration.
25113         * sysdeps/posix/sigvec.c: Moved ...
25114         * signal/sigvec.c: ... here, replacing old file.
25115         (struct sigvec): New type, copied from old signal.h definition.
25116         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
25117         (__sigvec): Convert definition to prototype.
25118         (sigvec): Replace weak_alias with compat_symbol.
25119         * signal/Versions (libc: GLIBC_2.21): New version set.
25120         * include/signal.h: Remove __sigvec declaration.
25121         * sysdeps/unix/bsd/sigvec.c: Remove file.
25122         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
25123         * manual/signal.texi (BSD Handler): Remove subsection.
25124         Move siginterrupt up to ...
25125         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
25126         (Blocking in BSD): Fold subsection into its parent.
25127         * NEWS: Mention sigvec removal.
25129 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
25131         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
25132         (DLA_FMS): Make definition conditional only on [__FMA4__].
25133         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
25134         definition.
25136         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
25137         Make definition conditional only on [PROF].
25138         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
25139         definition.
25140         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
25141         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
25143         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
25144         !__GNUC__].
25145         * include/signal.h (__sigpause): Move declaration above call to
25146         libc_hidden_proto.
25147         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
25148         variable.
25149         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
25150         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
25152 2014-11-14  David S. Miller  <davem@davemloft.net>
25154         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
25155         Define before including <string/memcpy.c> and <string/mempcpy.c>.
25157 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
25159         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
25160         * configure: Regenerated.
25161         * manual/install.texi (Tools for Compilation): Document a
25162         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
25163         compiler verified to work.
25164         * INSTALL: Regenerated.
25166         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
25167         redeclare with asm name.
25168         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
25169         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
25170         including <string.h>.
25171         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
25172         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
25173         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
25174         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
25175         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
25176         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
25177         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
25179 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
25181         * stdlib/strtol.c (__strtol): Use prototype definition.
25183         [BZ #17594]
25184         * stdlib/strtol.c (SYM__): New macro.
25185         (SYM__1): Likewise.
25186         (__strtol): Likewise.
25187         (strtol): Rename to __strtol and define as weak alias of
25188         __strtol.  Use libc_hidden_weak.
25190 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
25192         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
25193         Use numbered labels in inline assembly.
25195 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
25197         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
25198         Add setjmp LIBC_PROBE.
25199         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
25200         Likewise.
25201         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
25202         Add longjmp, longjmp_target LIBC_PROBE.
25203         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
25204         Likewise.
25206 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
25208         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
25209         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
25210         to get rid of unused variable warning.
25212 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
25214         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
25215         Check for unwind_backtrace ==  NULL only in SHARED case.
25216         (__backchain_backtrace): Compile only in SHARED case.
25217         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
25218         Likewise.
25219         (__backchain_backtrace): Declare as static.
25221 2014-11-12  Roland McGrath  <roland@hack.frob.com>
25223         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
25224         (__libc_multiple_threads_ptr): Variable moved ...
25225         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
25227 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
25229         * conform/GlibcConform.pm: New file.
25230         * conform/conformtest.pl: Use GlibcConform module.
25231         * conform/linknamespace.pl: New file.
25232         * conform/list-header-symbols.pl: Likewise.
25233         * conform/Makefile (linknamespace-symlists-base): New variable.
25234         (linknamespace-symlists-tests): Likewise.
25235         (linknamespace-header-base): Likewise.
25236         (linknamespace-header-tests): Likewise.
25237         (tests-special): Add new tests.
25238         ($(linknamespace-symlists-tests)): New rule.
25239         (linknamespace-libs): New variable.
25240         ($(objpfx)symlist-stdlibs): New rule.
25241         ($(linknamespace-header-tests)): Likewise.
25242         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
25243         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
25244         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
25245         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
25246         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
25247         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
25248         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
25249         (test-xfail-ISO/math.h/linknamespace): Likewise.
25250         (test-xfail-ISO/signal.h/linknamespace): Likewise.
25251         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
25252         (test-xfail-ISO/time.h/linknamespace): Likewise.
25253         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
25254         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
25255         (test-xfail-ISO99/math.h/linknamespace): Likewise.
25256         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
25257         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
25258         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
25259         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
25260         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
25261         (test-xfail-ISO11/math.h/linknamespace): Likewise.
25262         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
25263         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
25264         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
25265         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
25266         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
25267         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
25268         (test-xfail-XPG3/math.h/linknamespace): Likewise.
25269         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
25270         (test-xfail-XPG3/search.h/linknamespace): Likewise.
25271         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
25272         (test-xfail-XPG3/time.h/linknamespace): Likewise.
25273         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
25274         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
25275         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
25276         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
25277         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
25278         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
25279         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
25280         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
25281         (test-xfail-XPG4/math.h/linknamespace): Likewise.
25282         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
25283         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
25284         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
25285         (test-xfail-XPG4/search.h/linknamespace): Likewise.
25286         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
25287         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
25288         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
25289         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
25290         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
25291         (test-xfail-XPG4/time.h/linknamespace): Likewise.
25292         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
25293         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
25294         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
25295         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
25296         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
25297         (test-xfail-POSIX/math.h/linknamespace): Likewise.
25298         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
25299         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
25300         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
25301         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
25302         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
25303         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
25304         (test-xfail-POSIX/time.h/linknamespace): Likewise.
25305         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
25306         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
25307         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
25308         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
25309         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
25310         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
25311         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
25312         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
25313         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
25314         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
25315         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
25316         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
25317         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
25318         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
25319         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
25320         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
25321         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
25322         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
25323         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
25324         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
25325         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
25326         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
25327         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
25328         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
25329         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
25330         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
25331         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
25332         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
25333         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
25334         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
25335         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
25336         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
25337         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
25338         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
25339         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
25340         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
25341         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
25342         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
25343         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
25344         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
25345         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
25346         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
25347         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
25348         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
25349         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
25350         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
25351         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
25352         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
25353         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
25354         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
25355         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
25356         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
25357         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
25358         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
25359         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
25360         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
25361         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
25362         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
25363         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
25364         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
25365         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
25366         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
25367         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
25368         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
25369         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
25370         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
25371         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
25372         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
25373         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
25374         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
25375         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
25376         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
25377         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
25378         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
25379         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
25380         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
25381         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
25382         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
25383         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
25384         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
25385         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
25386         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
25387         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
25388         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
25389         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
25390         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
25391         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
25392         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
25393         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
25394         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
25395         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
25396         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
25397         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
25398         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
25399         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
25400         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
25401         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
25402         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
25404         [BZ #17589]
25405         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
25406         of fgets_unlocked.
25408         [BZ #17585]
25409         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
25410         (memmem): Rename to __memmem and define as weak alias of
25411         __memmem.  Use libc_hidden_weak.
25412         (__memmem): Use libc_hidden_def.
25413         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
25414         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
25415         memmem.
25417         [BZ #17582]
25418         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
25419         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
25420         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
25421         and define as weak alias of __fgets_unlocked.  Use
25422         libc_hidden_weak.
25423         (__fgets_unlocked): Use libc_hidden_def.
25424         * include/stdio.h (__fgets_unlocked): Declare.  Use
25425         libc_hidden_proto.
25426         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
25427         __fgets_unlocked instead of fgets_unlocked.
25428         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
25429         (GET_NPROCS_CONF_PARSER): Likewise.
25430         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
25431         (GET_NPROCS_CONF_PARSER): Likewise.
25433         [BZ #17574]
25434         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
25435         weak alias of __wmemset.  Use libc_hidden_weak.
25436         (__wmemset): Use libc_hidden_def.
25437         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
25438         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
25439         of wmemset.
25441         [BZ #17573]
25442         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
25443         with asm name __mempcpy.
25444         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
25446         [BZ #17572]
25447         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
25448         and define as weak alias of __rawmemchr.
25449         (__rawmemchr): Do not define as strong alias of rawmemchr.
25451         [BZ #17571]
25452         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
25453         alias of __qsort_r.
25454         (qsort): Call __qsort_r instead of qsort_r.
25455         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
25456         (__qsort_r): Declare.  Call libc_hidden_proto.
25457         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
25458         instead of qsort_r.
25459         * nscd/gai.c (__qsort_r): Define to qsort_r.
25460         * posix/tst-rfc3484.c (__qsort_r): Likewise.
25461         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
25462         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
25464         [BZ #17570]
25465         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
25466         define as weak alias of __malloc_info.
25468         [BZ #17584]
25469         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
25470         as weak alias of __rewinddir.  Don't use libc_hidden_def.
25471         (__rewinddir): Use libc_hidden_def.
25472         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
25473         as weak alias of __rewinddir.  Don't use libc_hidden_def.
25474         (__rewinddir): Use libc_hidden_def.
25475         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
25476         weak alias of __rewinddir.  Don't use libc_hidden_def.
25477         (__rewinddir): Use libc_hidden_def.
25478         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
25479         (__rewinddir): Use libc_hidden_proto.
25480         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
25481         rewinddir.
25482         (__getcwd): Use __rewinddir instead of rewinddir.
25484         [BZ #17583]
25485         * libio/fileno.c (fileno): Rename to __fileno and define as weak
25486         alias of __fileno.  Use libc_hidden_weak.
25487         (__fileno): Use libc_hidden_def.
25488         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
25489         * libio/ftello.c (ftello): Rename to __ftello and define as weak
25490         alias of __ftello.
25491         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
25492         __ftello.
25493         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
25494         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
25495         libc_hidden_def.
25496         (fread_unlocked): Don't use libc_hidden_ver.
25497         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
25498         and define as weak alias of __fread_unlocked.  Don't use
25499         libc_hidden_def.
25500         (__fread_unlocked): Use libc_hidden_def.
25501         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
25502         (ftello): Don't use libc_hidden_proto.
25503         (__ftello): Declare.  Use libc_hidden_proto.
25504         (fread_unlocked): Don't use libc_hidden_proto.
25505         (__fread_unlocked): Declare.  Use libc_hidden_proto.
25506         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
25507         and __ftello instead of fileno, fread_unlocked and ftello.
25509 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
25511         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
25512         GOT12.
25513         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
25514         Likewise.
25515         (_dl_start_user): Likewise.
25516         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
25518 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
25519             Siddhesh Poyarekar  <siddhesh@redhat.com>
25521         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
25522         Move argv and envp down instead of moving argc up.
25523         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
25525 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
25527         [BZ #17506]
25528         * test-skeleton.c (main): Return successful if one of
25529         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
25530         * string/tst-strcoll-overflow.c: Define expected status.
25532 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
25534         [BZ #17475]
25535         * locale/iso-639.def: Define Bhili and Tulu language codes.
25537 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
25539         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
25541 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
25543         [BZ #17555]
25544         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
25546 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
25548         * configure.ac: Updated check of minimal required version to
25549         2.22.
25550         * manual/install.texi (Tools for Compilation): Updated version
25551         number.
25552         * configure: Regenerated.
25553         * INSTALL: Likewise.
25555 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
25557         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
25558         __tls_get_addr.
25560 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
25562         * include/sys/wait.h (__libc_waitpid): Remove declaration.
25563         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
25564         (__waitpid): Don't define as alias.  Use libc_hidden_def not
25565         libc_hidden_weak.
25566         (waitpid): Define as alias of __waitpid.
25567         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
25568         __waitpid.
25569         (__waitpid): Don't define as alias.  Use libc_hidden_def not
25570         libc_hidden_weak.
25571         (waitpid): Define as alias of __waitpid.
25572         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
25573         __libc_waitpid alias.
25574         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
25575         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
25576         Likewise.
25577         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
25578         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
25579         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
25580         alias.
25581         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
25582         __waitpid.
25583         (__waitpid): Don't define as alias.  Use libc_hidden_def not
25584         libc_hidden_weak.
25585         (waitpid): Define as alias of __waitpid.
25587 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
25589         * manual/llio.texi: Add comment that write safety has been
25590         fixed in Linux.
25592         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
25593         (localplt-build-dso): Add elf/ld.so.
25594         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
25595         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
25596         and free for ld.so.
25597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
25598         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
25599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
25600         Likewise.
25601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
25602         Likewise.
25603         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
25604         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
25605         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
25606         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
25607         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
25608         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
25609         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
25610         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
25611         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
25612         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
25613         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
25615 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
25617         [BZ #14132]
25618         * include/libc-symbols.h (INTUSE): Remove macro.
25619         (INTDEF): Likewise.
25620         (INTVARDEF): Likewise.
25621         (_INTVARDEF): Likewise.
25622         (INTDEF2): Likewise.
25623         (INTVARDEF2): Likewise.
25624         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
25625         rtld_hidden_def instead of INTVARDEF.
25626         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
25627         (_dl_starting_up_internal): Remove declaration.
25628         (_dl_starting_up): Use rtld_hidden_proto.
25629         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
25630         declaration.
25631         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
25632         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
25633         _dl_starting_up.
25634         * elf/dl-writev.h (_dl_writev): Likewise.
25635         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
25636         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
25637         _dl_starting_up_internal.
25639 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25641         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
25642         test-skeleton.c.
25644 2014-11-05  Will Newton  <will.newton@linaro.org>
25646         * benchtests/Makefile: (bench-malloc): Add malloc thread
25647         scalability benchmark.
25648         * benchtests/bench-malloc-threads.c: New file.
25650 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
25652         * sysdeps/aarch64/strchrnul.S: New file.
25654 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25656         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
25657         definition.
25658         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
25659         Likwise.
25660         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
25661         Likewise.
25662         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
25663         Likewise.
25664         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
25665         Likewise.
25666         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
25667         Likewise.
25669 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
25671         * catgets/test-gencat.c: Use test-skeleton.c.
25672         * catgets/tst-catgets.c: Likewise.
25673         * csu/tst-empty.c: Likewise.
25674         * elf/tst-audit2.c: Likewise.
25675         * elf/tst-global1.c: Likewise.
25676         * elf/tst-pathopt.c: Likewise.
25677         * elf/tst-piemod1.c: Likewise.
25678         * elf/tst-tls10.c: Likewise.
25679         * elf/tst-tls11.c: Likewise.
25680         * elf/tst-tls12.c: Likewise.
25681         * gnulib/tst-gcc.c: Likewise.
25682         * iconvdata/tst-e2big.c: Likewise.
25683         * iconvdata/tst-loading.c: Likewise.
25684         * iconv/tst-iconv1.c: Likewise.
25685         * iconv/tst-iconv2.c: Likewise.
25686         * inet/test-inet6_opt.c: Likewise.
25687         * inet/tst-gethnm.c: Likewise.
25688         * inet/tst-network.c: Likewise.
25689         * inet/tst-ntoa.c: Likewise.
25690         * intl/tst-codeset.c: Likewise.
25691         * intl/tst-gettext2.c: Likewise.
25692         * intl/tst-gettext3.c: Likewise.
25693         * intl/tst-ngettext.c: Likewise.
25694         * intl/tst-translit.c: Likewise.
25695         * io/test-stat.c: Likewise.
25696         * libio/test-fmemopen.c: Likewise.
25697         * libio/tst-freopen.c: Likewise.
25698         * libio/tst-sscanf.c: Likewise.
25699         * libio/tst-ungetwc1.c: Likewise.
25700         * libio/tst-ungetwc2.c: Likewise.
25701         * libio/tst-widetext.c: Likewise.
25702         * localedata/tst-ctype.c: Likewise.
25703         * localedata/tst-digits.c: Likewise.
25704         * localedata/tst-leaks.c: Likewise.
25705         * localedata/tst-mbswcs1.c: Likewise.
25706         * localedata/tst-mbswcs2.c: Likewise.
25707         * localedata/tst-mbswcs3.c: Likewise.
25708         * localedata/tst-mbswcs4.c: Likewise.
25709         * localedata/tst-mbswcs5.c: Likewise.
25710         * localedata/tst-setlocale.c: Likewise.
25711         * localedata/tst-trans.c: Likewise.
25712         * localedata/tst-wctype.c: Likewise.
25713         * localedata/tst-xlocale1.c: Likewise.
25714         * login/tst-grantpt.c: Likewise.
25715         * malloc/tst-calloc.c: Likewise.
25716         * malloc/tst-malloc.c: Likewise.
25717         * malloc/tst-mallocstate.c: Likewise.
25718         * malloc/tst-mcheck.c: Likewise.
25719         * malloc/tst-mtrace.c: Likewise.
25720         * malloc/tst-obstack.c: Likewise.
25721         * math/atest-exp2.c: Likewise.
25722         * math/atest-exp.c: Likewise.
25723         * math/atest-sincos.c: Likewise.
25724         * math/test-matherr.c: Likewise.
25725         * math/test-misc.c: Likewise.
25726         * math/test-powl.c: Likewise.
25727         * math/tst-definitions.c: Likewise.
25728         * misc/tst-dirname.c: Likewise.
25729         * misc/tst-efgcvt.c: Likewise.
25730         * misc/tst-fdset.c: Likewise.
25731         * misc/tst-hsearch.c: Likewise.
25732         * misc/tst-mntent2.c: Likewise.
25733         * nptl/tst-sem7.c: Likewise.
25734         * nptl/tst-sem8.c: Likewise.
25735         * nptl/tst-sem9.c: Likewise.
25736         * nss/test-netdb.c: Likewise.
25737         * posix/tst-fnmatch.c: Likewise.
25738         * posix/tst-getlogin.c: Likewise.
25739         * posix/tst-gnuglob.c: Likewise.
25740         * posix/tst-mmap.c: Likewise.
25741         * pwd/tst-getpw.c: Likewise.
25742         * resolv/tst-inet_ntop.c: Likewise.
25743         * rt/tst-timer.c: Likewise.
25744         * stdio-common/test-fseek.c: Likewise.
25745         * stdio-common/test-popen.c: Likewise.
25746         * stdio-common/test-vfprintf.c: Likewise.
25747         * stdio-common/tst-cookie.c: Likewise.
25748         * stdio-common/tst-fileno.c: Likewise.
25749         * stdio-common/tst-gets.c: Likewise.
25750         * stdio-common/tst-obprintf.c: Likewise.
25751         * stdio-common/tst-perror.c: Likewise.
25752         * stdio-common/tst-sprintf2.c: Likewise.
25753         * stdio-common/tst-sprintf3.c: Likewise.
25754         * stdio-common/tst-sprintf.c: Likewise.
25755         * stdio-common/tst-swprintf.c: Likewise.
25756         * stdio-common/tst-tmpnam.c: Likewise.
25757         * stdio-common/tst-unbputc.c: Likewise.
25758         * stdio-common/tst-wc-printf.c: Likewise.
25759         * stdlib/tst-environ.c: Likewise.
25760         * stdlib/tst-fmtmsg.c: Likewise.
25761         * stdlib/tst-limits.c: Likewise.
25762         * stdlib/tst-rand48-2.c: Likewise.
25763         * stdlib/tst-rand48.c: Likewise.
25764         * stdlib/tst-random2.c: Likewise.
25765         * stdlib/tst-random.c: Likewise.
25766         * stdlib/tst-strtol.c: Likewise.
25767         * stdlib/tst-strtoll.c: Likewise.
25768         * stdlib/tst-tls-atexit.c: Likewise.
25769         * stdlib/tst-xpg-basename.c: Likewise.
25770         * string/test-ffs.c: Likewise.
25771         * string/tst-bswap.c: Likewise.
25772         * string/tst-inlcall.c: Likewise.
25773         * string/tst-strtok.c: Likewise.
25774         * string/tst-strxfrm.c: Likewise.
25775         * sysdeps/x86_64/tst-audit10.c: Likewise.
25776         * sysdeps/x86_64/tst-audit3.c: Likewise.
25777         * sysdeps/x86_64/tst-audit4.c: Likewise.
25778         * sysdeps/x86_64/tst-audit5.c: Likewise.
25779         * time/tst-ftime_l.c: Likewise.
25780         * time/tst-getdate.c: Likewise.
25781         * time/tst-mktime3.c: Likewise.
25782         * time/tst-mktime.c: Likewise.
25783         * time/tst-posixtz.c: Likewise.
25784         * time/tst-strptime2.c: Likewise.
25785         * time/tst-strptime3.c: Likewise.
25786         * wcsmbs/tst-btowc.c: Likewise.
25787         * wcsmbs/tst-mbrtowc.c: Likewise.
25788         * wcsmbs/tst-mbsrtowcs.c: Likewise.
25789         * wcsmbs/tst-wchar-h.c: Likewise.
25790         * wcsmbs/tst-wcpncpy.c: Likewise.
25791         * wcsmbs/tst-wcrtomb.c: Likewise.
25792         * wcsmbs/tst-wcsnlen.c: Likewise.
25793         * wcsmbs/tst-wcstof.c: Likewise.
25795 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
25797         [BZ #14132]
25798         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
25799         INTDEF.
25800         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
25801         declaration.
25802         (_dl_mcount): Use rtld_hidden_proto.
25803         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
25804         _dl_mcount.
25805         * elf/rtld.c (_rtld_global_ro): Likewise.
25807         [BZ #14132]
25808         * elf/dl-init.c (_dl_init): Don't use INTDEF.
25809         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
25810         of _dl_init_internal.
25811         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
25812         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
25813         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
25814         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
25815         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
25816         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
25817         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
25818         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
25819         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
25820         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
25821         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
25822         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
25823         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
25824         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
25825         * sysdeps/tile/dl-start.S (_start): Likewise.
25826         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
25827         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
25829         [BZ #14132]
25830         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
25831         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
25832         (rtld_progname): Make macro definition unconditional.
25833         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
25834         INTDEF.
25835         (dlmopen_doit): Do not use INTUSE with _dl_argv.
25836         (dl_main): Likewise.
25837         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
25838         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
25839         instead of _dl_argv_internal.
25840         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
25841         __GI__dl_argv instead of INTUSE(_dl_argv).
25842         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
25843         __GI__dl_argv instead of _dl_argv_internal.
25845         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
25846         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
25847         macro.
25848         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
25849         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
25850         New macro.
25851         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
25852         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
25853         macro.
25854         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
25855         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
25857 2014-11-04  Andreas Schwab  <schwab@suse.de>
25859         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
25861 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25863         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
25864         mtvsrd instruction in binary form.
25866 2014-11-03  Andreas Schwab  <schwab@suse.de>
25868         [BZ #17522]
25869         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
25870         for less than MB_LEN_MAX use a local buffer of that size.
25871         * libio/tst-fputws.c: New file.
25872         * libio/Makefile (tests): Add tst-fputws.
25874 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
25876         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
25877         the size of the fpu_fr.fpu_dregs[] array.
25879 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
25881         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
25882         (__nanosleep): Do not define as alias.
25883         (nanosleep): Define as alias of __nanosleep.
25884         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
25885         __libc_nanosleep name.
25887 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
25889         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
25890         install.texi in comment.
25892 2014-10-31  Torvald Riegel  <triegel@redhat.com>
25894         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
25895         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
25896         ... add here and use lwsync or sync ...
25897         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
25898         ... and add here using lwsync.
25900 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
25902         * elf/dl-machine-reject-phdr.h: New file.
25903         * elf/dl-load.c: #include that.
25904         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
25905         if that returned true.
25907 2014-10-31  Roland McGrath  <roland@hack.frob.com>
25909         [BZ #17496]
25910         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
25911         gen-as-const-headers chunk.  Add a big scare comment after the last
25912         safe place to touch before-compile.
25914 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
25916         * manual/install.texi (Tools for Compilation): Update autoconf
25917         version requirements.
25918         * INSTALL: Regenerated.
25920         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
25921         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
25922         (__libc_pselect): Likewise.
25924         [BZ #14138]
25925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
25926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
25927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
25928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
25930 2014-10-31  Torvald Riegel  <triegel@redhat.com>
25932         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
25933         correct barrier instruction.
25934         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
25935         Likewise.
25936         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
25937         Likewise.
25939 2014-10-30  Roland McGrath  <roland@hack.frob.com>
25941         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
25942         after defining inlines.  Instead, just use parens to defeat macro
25943         expansion of __isctype in its declaration.
25945 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
25947         * include/sys/uio.h (__libc_readv): Remove declaration.
25948         (__libc_writev): Likewise.
25949         * misc/readv.c (__libc_readv): Rename to __readv.
25950         (__readv): Do not define as alias.
25951         (readv): Define as alias of __readv.
25952         * misc/writev.c (__libc_writev): Rename to __writev.
25953         (__writev): Do not define as alias.
25954         (writev): Define as alias of __writev.
25955         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
25956         (__readv): Do not define as alias.
25957         (readv): Define unconditionally as alias of __readv.
25958         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
25959         (__writev): Do not define as alias.
25960         (writev): Define unconditionally as alias of __writev.
25961         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
25962         name.
25963         (writev): Do not define __libc_writev name.
25965 2014-10-30  Roland McGrath  <roland@hack.frob.com>
25967         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
25968         (convert_charseq): New function, broken out of ...
25969         (use_from_charmap): ... here.  Call it.
25970         (use_to_charmap): Use convert_charseq and free instead of duplicating
25971         its code with a variable-length stack struct.
25973 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
25975         * include/fcntl.h (__libc_creat): Remove declaration.
25976         * io/creat.c (__libc_creat): Rename to creat.
25977         (creat): Do not define as alias.
25978         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
25979         of creat instead of __libc_creat.
25980         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
25981         to creat.
25982         (creat): Do not define as alias.
25983         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
25984         __libc_creat.
25985         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
25986         __libc_creat name.
25987         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
25988         Likewise.
25990 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
25992         * manual/llio.texi: Add comments discussing why write() may be
25993         considered MT-unsafe on Linux.
25995 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
25997         * dl-load.c (local_strdup): Remove.
25998         (expand_dynamic_string_token): Use __strdup.
25999         (decompose_rpath): Likewise.
26000         (_dl_map_object): Likewise.
26002 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
26004         [BZ #14132]
26005         * sysdeps/generic/unwind-dw2-fde.c
26006         (__register_frame_info_bases_internal): Do not declare.
26007         (__register_frame_info_table_bases_internal): Likewise.
26008         (__deregister_frame_info_bases_internal): Likewise.
26009         (__register_frame_info_bases): Declare and use hidden_proto before
26010         definition.  Use hidden_def instead of INTDEF.
26011         (__register_frame_info_table_bases): Likewise.
26012         (__deregister_frame_info_bases): Likewise.
26013         (__register_frame_info): Do not use INTUSE.
26014         (__register_frame): Likewise.
26015         (__register_frame_info_table): Likewise.
26016         (__register_frame_table): Likewise.
26017         (__deregister_frame_info): Likewise.
26018         (__deregister_frame): Likewise.
26020 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
26022         * sysdeps/unix/sysv/linux/arm/kernel-features.h
26023         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
26024         not undefine.
26025         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
26026         Likewise.
26027         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
26028         Likewise.
26030 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
26032         [BZ #14138]
26033         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
26034         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
26035         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
26036         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
26037         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
26038         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
26039         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
26040         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
26041         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
26042         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
26043         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
26044         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
26045         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
26046         syscall.
26047         (setfsuid): Likewise.
26048         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
26049         (setfsuid): Likewise.
26050         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
26051         (setfsuid): Likewise.
26052         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
26053         Likewise.
26054         (setfsuid): Likewise.
26055         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
26056         (setfsuid): Likewise.
26057         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
26058         Likewise.
26059         (setfsuid): Likewise.
26061 2014-10-27  Andreas Schwab  <schwab@suse.de>
26063         [BZ #17501]
26064         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
26065         check for Slow_SSE4_2 feature bit.
26066         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
26067         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
26068         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
26069         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
26071 2014-10-24  Roland McGrath  <roland@hack.frob.com>
26073         * configure.ac: Validate compiler version with a empirical test of
26074         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
26075         $CC -v output.
26076         * configure: Regenerated.
26078         * inet/htons.c (htons): Prototypify.
26079         * inet/htonl.c (htonl): Likewise.
26081 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
26083         * string/strncat.c (strncat): Improve performance by using strlen.
26085 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
26087         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
26089 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
26091         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
26092         Call libc_fetestexcept_aarch64.
26094 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
26096         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
26097         Call libc_feholdexcept_aarch64.
26099 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
26101         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
26102         Call get_rounding_mode.
26104 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
26106         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
26107         Simplify logic.
26109 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
26111         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
26112         Simplify logic.
26114 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
26116         [BZ #14138]
26117         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
26118         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
26119         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
26120         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
26121         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
26122         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
26123         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
26124         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
26125         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
26126         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
26127         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
26128         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
26129         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
26130         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
26131         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
26132         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
26133         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
26134         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
26135         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
26136         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
26137         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
26138         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
26139         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
26140         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
26141         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
26142         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
26143         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
26144         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
26145         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
26146         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
26147         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
26148         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
26149         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
26150         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
26151         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
26152         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
26153         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
26154         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
26155         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
26156         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
26157         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
26158         syscall.
26159         (geteuid): Likewise.
26160         (getgid): Likewise.
26161         (getuid): Likewise.
26162         (getresgid): Likewise.
26163         (getresuid): Likewise.
26164         (getgroups): Likewise.
26165         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
26166         (geteuid): Likewise.
26167         (getgid): Likewise.
26168         (getuid): Likewise.
26169         (getresgid): Likewise.
26170         (getresuid): Likewise.
26171         (getgroups): Likewise.
26172         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
26173         (geteuid): Likewise.
26174         (getgid): Likewise.
26175         (getuid): Likewise.
26176         (getresgid): Likewise.
26177         (getresuid): Likewise.
26178         (getgroups): Likewise.
26179         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
26180         Likewise.
26181         (geteuid): Likewise.
26182         (getgid): Likewise.
26183         (getuid): Likewise.
26184         (getresgid): Likewise.
26185         (getresuid): Likewise.
26186         (getgroups): Likewise.
26187         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
26188         (geteuid): Likewise.
26189         (getgid): Likewise.
26190         (getuid): Likewise.
26191         (getresgid): Likewise.
26192         (getresuid): Likewise.
26193         (getgroups): Likewise.
26194         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
26195         Likewise.
26196         (geteuid): Likewise.
26197         (getgid): Likewise.
26198         (getuid): Likewise.
26199         (getgroups): Likewise.
26201         [BZ #14138]
26202         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
26203         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
26204         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
26205         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
26206         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
26207         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
26208         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
26209         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
26210         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
26211         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
26212         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
26213         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
26214         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
26215         __chown.
26216         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
26217         (lchown): Likewise.
26218         (fchown): Likewise.
26219         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
26220         Likewise.
26221         (lchown): Likewise.
26222         (fchown): Likewise.
26223         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
26224         (lchown): Likewise.
26225         (fchown): Likewise.
26226         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
26227         Likewise.
26228         (lchown): Likewise.
26229         (fchown): Likewise.
26231 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
26233         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
26234         Simplify logic.
26236 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
26238         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
26239         Cleanup logic.
26241 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
26243         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
26244         Remove unused include.
26246 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
26248         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
26249         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
26250         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
26251         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
26253 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
26254             Helge Deller <deller@gmx.de>
26256         [BZ #17508]
26257         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
26258         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
26259         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
26261 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
26263         [BZ #14132]
26264         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
26265         Remove macro definition.
26266         (__ashrdi3_v_glibc20): Likewise.
26267         (__lshrdi3_v_glibc20): Likewise.
26268         (__cmpdi2_v_glibc20): Likewise.
26269         (__ucmpdi2_v_glibc20): Likewise.
26270         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
26271         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
26272         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
26273         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
26274         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
26275         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
26277 2014-10-22  Roland McGrath  <roland@hack.frob.com>
26279         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
26280         old GNU extension [0] syntax.
26281         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
26282         alloca rather than an array member with variable length.
26283         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
26284         * nscd/nscd.c (invalidate_db): New function, broken out of ...
26285         (parse_opt): ... here.  Likewise use alloca there.
26286         Validate the -i argument before checking for rootness.
26287         (send_shutdown): New function, broken out of ...
26288         (parse_opt): ... here.
26290 2014-10-22  Roland McGrath  <roland@hack.frob.com>
26292         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
26293         macro to get at the _rt_local_ro field.
26294         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
26295         ([PIC] case) or _dl_hwcap ([!PIC] case).
26296         * sysdeps/arm/setjmp.S: Likewise.
26298         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
26299         * sysdeps/arm/configure.ac: New check to define it.
26300         * sysdeps/arm/configure: Regenerated.
26301         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
26302         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
26303         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
26304         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
26305         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
26306         Use move/movt pair instead of a load.
26307         (LDST_GLOBAL): Macro removed.
26308         (LDR_GLOBAL): New macro replaces it.
26309         (LDR_HIDDEN): New macro.
26310         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
26311         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
26313         * setjmp/tst-setjmp-static.c: New file.
26314         * setjmp/Makefile (tests): Add it.
26315         (tests-static): New variable.
26317 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
26319         [BZ #17485]
26320         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
26322 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
26324         [BZ #14132]
26325         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
26327 2014-10-21  Roland McGrath  <roland@hack.frob.com>
26329         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
26331 2014-10-20  Roland McGrath  <roland@hack.frob.com>
26333         * io/fts.c (dirent_not_directory): New function.
26334         (fts_build): Call it.
26336 2014-10-20  Roland McGrath  <roland@hack.frob.com>
26338         * nptl/version.c (__nptl_main): Use normal __write rather than
26339         INTERNAL_SYSCALL.
26340         (banner): Update copyright years.
26342         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
26343         gettimeofday.
26344         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
26345         * nptl/pthread_cond_timedwait.c: Likewise.
26346         * nptl/pthread_mutex_timedlock.c: Likewise.
26347         * nptl/sem_timedwait.c: Likewise.
26349         * sysdeps/nptl/bits/libc-lock.h
26350         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
26351         (__libc_lock_init_recursive): Return void, not 0.
26352         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
26353         (__libc_rwlock_init): Likewise.
26354         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
26356 2014-10-20  Torvald Riegel  <triegel@redhat.com>
26358         [BZ #15215]
26359         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
26360         (__pthread_once_slow): ... here.
26361         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
26362         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
26364 2014-10-20  Torvald Riegel  <triegel@redhat.com>
26366         [BZ #15215]
26367         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
26368         __PTHREAD_ONCE_FORK_GEN_INCR): New.
26369         * sysdeps/nptl/fork.c (__libc_fork): Use them.
26370         * nptl/pthread_once.c (__pthread_once): Likewise.
26371         Update comments.
26373 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
26375         [BZ #14138]
26376         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
26377         name.
26378         (writev): Use __libc_writev as strong name.
26379         * sysdeps/unix/sysv/linux/readv.c: Remove file.
26380         * sysdeps/unix/sysv/linux/writev.c: Likewise.
26382 2014-10-17  Roland McGrath  <roland@hack.frob.com>
26384         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
26386         * sysdeps/i386/nptl/tls.h
26387         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
26388         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
26389         New macros.
26390         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
26391         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
26392         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
26393         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
26394         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
26395         Call CHECK_THREAD_SYSINFO instead of doing an assert.
26397         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
26398         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
26399         on [__NR_futex].
26400         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
26401         broken out of ...
26402         (__pthread_mutex_init): ... here.  Call it.
26403         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
26404         Conditionalize PI cases on [__NR_futex].
26405         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
26406         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
26407         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
26409         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
26410         conditional on [SIGSETXID].
26411         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
26412         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
26413         is defined.  Likewise for SIGSETXID.
26414         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
26415         Conditionalize definitions on [SIGSETXID].
26416         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
26417         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
26418         unblocking on [SIGCANCEL].
26420         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
26421         [__NR_set_robust_list].
26423 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
26425         * string/strcoll_l.c (get_next_seq): Fix up formatting.
26426         (do_compare): Likewise.
26428 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
26430         [BZ #15884]
26431         * string/strcoll_l.c: Don't include stdio.h.
26432         (coll_seq): Remove members idxarr and rulearr.
26433         (get_next_seq_cached): Remove function.
26434         (get_next_seq): Likewise.
26435         (get_next_seq_nocache): Rename to get_next_seq.
26436         (do_compare): Remove function.
26437         (do_compare_nocache): Rename to do_compare.
26438         (STRCOLL): Remove weight and rules cache.
26440 2014-10-16  Roland McGrath  <roland@hack.frob.com>
26442         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
26443         * sysdeps/arm/sfp-machine.h: ... to here.
26444         * sysdeps/arm/Implies: Remove arm/soft-fp.
26446 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
26448         * conform/data/sys/utsname.h-data (*_t): Allow.
26449         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
26450         [POSIX] (WEXITED): Do not expect constant.
26451         [POSIX] (WSTOPPED): Likewise.
26452         [POSIX] (WNOHANG): Likewise.
26453         [POSIX] (WNOWAIT): Likewise.
26454         [POSIX] (siginfo_t): Do not expect type or elements.
26455         [POSIX] (pid_t): Do not expect type.
26456         [POSIX] (signal.h): Do not allow header.
26457         [POSIX] (sys/resource.h): Likewise.
26458         [POSIX] (si_*): Do not allow pattern.
26459         [POSIX] (W*): Likewise.
26460         [POSIX] (P_*): Likewise.
26461         [POSIX] (BUS_*): Likewise.
26462         [POSIX] (CLD_*): Likewise.
26463         [POSIX] (FPE_*): Likewise.
26464         [POSIX] (ILL_*): Likewise.
26465         [POSIX] (POLL_*): Likewise.
26466         [POSIX] (SEGV_*): Likewise.
26467         [POSIX] (SI_*): Likewise.
26468         [POSIX] (TRAP_*): Likewise.
26469         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
26470         variable.
26472 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
26474         [BZ #12926]
26475         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
26476         infinite loop when __recvmsg returns 0.
26478 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
26480         * CANCEL-FCT-WAIVE: Remove file.
26481         * CANCEL-FILE-WAIVE: Likewise.
26483         [BZ #14132]
26484         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
26485         instead of INTVARDEF.
26486         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
26487         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
26488         rtld_hidden_data_def instead of INTVARDEF.
26489         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
26490         * elf/dl-deps.c (expand_dst): Likewise.
26491         * elf/dl-load.c (_dl_dst_count): Likewise.
26492         (_dl_dst_substitute): Likewise.
26493         (decompose_rpath): Likewise.
26494         (_dl_init_paths): Likewise.
26495         (open_path): Likewise.
26496         (_dl_map_object): Likewise.
26497         * elf/rtld.c (dl_main): Likewise.
26498         (process_dl_audit): Likewise.
26499         (process_envvars): Likewise.
26500         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
26501         Remove declaration.
26502         (__libc_enable_secure): Use rtld_hidden_proto.
26504 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
26506         * elf/dl-load.c
26507         (add_path): New function broken out of _dl_rtld_di_serinfo.
26508         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
26510 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
26512         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
26513         parentheses around macro arguments.
26514         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
26515         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
26516         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
26517         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
26518         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
26519         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
26520         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
26521         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
26522         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
26523         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
26524         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
26525         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
26526         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
26527         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
26528         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
26529         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
26530         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
26531         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
26532         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
26533         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
26534         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
26535         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
26536         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
26537         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
26538         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
26539         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
26540         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
26541         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
26542         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
26543         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
26544         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
26545         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
26546         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
26547         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
26548         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
26549         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
26550         Likewise.
26551         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
26552         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
26553         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
26554         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
26555         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
26556         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
26557         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
26558         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
26559         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
26560         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
26561         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
26562         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
26563         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
26564         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
26565         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
26566         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
26567         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
26568         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
26569         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
26570         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
26571         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
26572         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
26573         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
26574         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
26575         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
26576         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
26577         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
26578         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
26579         (_FP_FRAC_SRS_1): Likewise.
26580         (_FP_FRAC_CLZ_1): Likewise.
26581         (_FP_MUL_MEAT_1_imm): Likewise.
26582         (_FP_MUL_MEAT_1_wide): Likewise.
26583         (_FP_MUL_MEAT_1_hard): Likewise.
26584         (_FP_SQRT_MEAT_1): Likewise.
26585         (_FP_FRAC_ASSEMBLE_1): Likewise.
26586         (_FP_FRAC_DISASSEMBLE_1): Likewise.
26587         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
26588         (__FP_CLZ_2): Likewise.
26589         (_FP_MUL_MEAT_2_wide): Likewise.
26590         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
26591         (_FP_MUL_MEAT_2_gmp): Likewise.
26592         (_FP_MUL_MEAT_2_120_240_double): Likewise.
26593         (_FP_SQRT_MEAT_2): Likewise.
26594         (_FP_FRAC_ASSEMBLE_2): Likewise.
26595         (_FP_FRAC_DISASSEMBLE_2): Likewise.
26596         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
26597         (_FP_FRAC_CLZ_4): Likewise.
26598         (_FP_MUL_MEAT_4_wide): Likewise.
26599         (_FP_MUL_MEAT_4_gmp): Likewise.
26600         (_FP_SQRT_MEAT_4): Likewise.
26601         (_FP_FRAC_ASSEMBLE_4): Likewise.
26602         (_FP_FRAC_DISASSEMBLE_4): Likewise.
26603         * soft-fp/op-common.h (_FP_CMP): Likewise.
26604         (_FP_CMP_EQ): Likewise.
26605         (_FP_CMP_UNORD): Likewise.
26606         (_FP_TO_INT): Likewise.
26607         (_FP_FROM_INT): Likewise.
26608         [!__FP_CLZ] (__FP_CLZ): Likewise.
26609         (_FP_DIV_HELP_imm): Likewise.
26610         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
26611         Likewise.
26612         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
26613         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
26614         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
26615         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
26616         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
26617         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
26618         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
26619         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
26620         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
26621         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
26622         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
26623         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
26624         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
26625         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
26626         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
26627         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
26628         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
26629         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
26630         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
26631         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
26632         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
26633         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
26634         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
26635         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
26636         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
26637         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
26638         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
26639         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
26640         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
26641         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
26642         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
26643         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
26644         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
26645         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
26646         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
26647         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
26648         (FP_UNPACK_RAW_SP): Likewise.
26649         (FP_PACK_RAW_S): Likewise.
26650         (FP_PACK_RAW_SP): Likewise.
26651         (FP_UNPACK_S): Likewise.
26652         (FP_UNPACK_SP): Likewise.
26653         (FP_UNPACK_SEMIRAW_S): Likewise.
26654         (FP_UNPACK_SEMIRAW_SP): Likewise.
26655         (FP_PACK_S): Likewise.
26656         (FP_PACK_SP): Likewise.
26657         (FP_PACK_SEMIRAW_S): Likewise.
26658         (FP_PACK_SEMIRAW_SP): Likewise.
26659         (_FP_SQRT_MEAT_S): Likewise.
26660         (FP_CMP_S): Likewise.
26661         (FP_CMP_EQ_S): Likewise.
26662         (FP_CMP_UNORD_S): Likewise.
26663         (FP_TO_INT_S): Likewise.
26664         (FP_FROM_INT_S): Likewise.
26666         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
26668         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
26669         (FP_EX_INVALID_IMZ): Likewise.
26670         (FP_EX_INVALID_IMZ_FMA): Likewise.
26671         (FP_EX_INVALID_ISI): Likewise.
26672         (FP_EX_INVALID_ZDZ): Likewise.
26673         (FP_EX_INVALID_IDI): Likewise.
26674         (FP_EX_INVALID_SQRT): Likewise.
26675         (FP_EX_INVALID_CVI): Likewise.
26676         (FP_EX_INVALID_VC): Likewise.
26677         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
26678         "invalid" exceptions.
26679         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
26680         (_FP_ADD_INTERNAL): Likewise.
26681         (_FP_MUL): Likewise.
26682         (_FP_FMA): Likewise.
26683         (_FP_DIV): Likewise.
26684         (_FP_CMP_CHECK_NAN): Likewise.
26685         (_FP_SQRT): Likewise.
26686         (_FP_TO_INT): Likewise.
26687         (FP_EXTEND): Likewise.
26689 2014-10-09  Allan McRae  <allan@archlinux.org>
26691         * po/fr.po: Update French translation from translation project.
26693 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
26695         [BZ #14132]
26696         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
26697         of INTDEF.
26698         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
26699         (__cxa_atexit): Use libc_hidden_proto.
26700         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
26702         [BZ #14132]
26703         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
26704         declaration.
26705         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
26706         [!_ISOMAC] (__iswspace_l_internal): Likewise.
26707         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
26708         [!_ISOMAC] (__iswctype_internal): Likewise.
26709         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
26710         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
26711         alias.
26712         (fcntl): Remove __fcntl_internal alias.
26713         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
26714         __connect_internal alias.
26715         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
26716         Likewise.
26718         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
26719         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
26720         FP_DENORM_ZERO.
26721         (_FP_CHECK_FLUSH_ZERO): New macro.
26722         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
26723         (_FP_CMP): Likewise.
26724         (_FP_CMP_EQ): Likewise.
26725         (_FP_TO_INT): Do not set inexact for subnormal arguments if
26726         FP_DENORM_ZERO.
26727         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
26728         (FP_TRUNC): Likewise.
26730         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
26731         treated as invalid conversion, not as normal exponent.
26733         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
26734         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
26735         (_FP_CMP_EQ): Likewise.
26736         (_FP_CMP_UNORD): Likewise.
26737         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
26738         (FP_CMP_EQ_D): Likewise.
26739         (FP_CMP_UNORD_D): Likewise.
26740         * soft-fp/extended.h (FP_CMP_E): Likewise.
26741         (FP_CMP_EQ_E): Likewise.
26742         (FP_CMP_UNORD_E): Likewise.
26743         * soft-fp/quad.h (FP_CMP_Q): Likewise.
26744         (FP_CMP_EQ_Q): Likewise.
26745         (FP_CMP_UNORD_Q): Likewise.
26746         * soft-fp/single.h (FP_CMP_S): Likewise.
26747         (FP_CMP_EQ_S): Likewise.
26748         (FP_CMP_UNORD_S): Likewise.
26749         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
26750         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
26751         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
26752         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
26753         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
26754         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
26755         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
26756         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
26757         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
26758         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
26759         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
26760         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
26761         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
26762         to FP_CMP_Q.
26763         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
26764         FP_CMP_Q.
26765         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
26766         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
26767         FP_CMP_EQ_Q.
26768         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
26769         FP_CMP_Q.
26770         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
26771         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
26772         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
26773         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
26774         FP_CMP_EQ_Q.
26775         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
26776         FP_CMP_Q.
26777         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
26778         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
26779         FP_CMP_EQ_Q.
26780         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
26781         FP_CMP_Q.
26782         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
26783         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
26784         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
26785         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
26786         FP_CMP_EQ_Q.
26788         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
26789         a subnormal result, set the underflow exception if trapping on
26790         underflow is enabled.
26791         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
26792         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
26793         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
26794         redefine to 0.
26795         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
26796         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
26797         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
26798         * soft-fp/extendxftf2.c (__extendxftf2): Use
26799         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
26801         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
26802         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
26803         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
26804         FP_HANDLE_EXCEPTIONS.
26805         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
26806         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
26807         FP_HANDLE_EXCEPTIONS.
26808         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
26809         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
26810         FP_HANDLE_EXCEPTIONS.
26811         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
26812         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
26813         FP_HANDLE_EXCEPTIONS.
26815 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
26817         [BZ #14132]
26818         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
26819         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
26820         use INTUSE.
26821         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
26822         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
26823         Remove alias.
26824         (__adjtimex): Define using libc_hidden_ver.
26825         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
26826         Remove declaration.
26827         (ntp_gettime): Call __adjtimex directly.
26828         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
26829         Remove declaration.
26830         (ntp_gettimex): Call __adjtimex directly.
26831         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
26832         __adjtimex_internal alias.
26834 2014-10-08  Roland McGrath  <roland@hack.frob.com>
26836         [BZ #17460]
26837         * nscd/nscd.c (more_help): Rewrite list of tables collection
26838         using xstrdup and asprintf.
26840         * nscd/nscd_conf.c: Remove local xstrdup declaration.
26842 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
26843             Roland McGrath  <roland@hack.frob.com>
26845         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
26846         (do_lookup_unique): ... local function 'enter' here; update callers.
26848 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
26850         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
26851         compat_symbol calls on [SHARED].
26852         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
26853         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
26854         Remove.
26855         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
26856         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
26857         (oldsetrlimit): Remove.
26858         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
26859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
26860         (lchown): New syscall entry.
26861         (oldsetrlimit): Remove.
26862         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
26863         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
26864         (oldsetrlimit): Remove.
26865         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
26867         [BZ #14138]
26868         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
26869         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
26870         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
26871         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
26872         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
26873         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
26874         (fchown): Likewise.
26875         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
26876         (fchown): Likewise.
26877         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
26878         Likewise.
26880 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26882         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
26883         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
26884         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
26885         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
26886         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
26887         Likewise.
26888         (__old_sem_post): Likewise.
26890 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
26892         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
26893         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
26894         HAVE_CLOCK_GETTIME_VSYSCALL macros.
26895         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
26896         Use INLINE_VSYSCALL macro.
26897         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
26898         __vdso_clock_gettime.
26899         * sysdeps/unix/sysv/linux/tile/init-first.c
26900         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
26901         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
26902         __vdso_clock_gettime.
26904         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
26905         to set up frame more cleanly.
26907         * sysdeps/tile/memcmp.c: New file.
26909         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
26911         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
26912         * sysdeps/tile/tilegx/strcasestr.c: New file.
26913         * sysdeps/tile/tilegx/strnlen.c: New file.
26914         * sysdeps/tile/tilegx/strstr.c: New file.
26916         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
26918 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
26920         * nptl/tst-setuid3.c: Write errors to stdout.
26922 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
26924         * elf/dl-deps.c
26925         (preload): New functions broken out of _dl_map_object_deps.
26926         (_dl_map_object_deps):  Remove a nested function. Update call sites.
26928 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
26930         [BZ #14138]
26931         * sysdeps/unix/sysv/linux/execve.c: Remove file.
26932         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
26934 2014-10-01  Steve Ellcey  <sellcey@mips.com>
26936         * sysdeps/mips/strcmp.S: New.
26938 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
26940         [BZ #14138]
26941         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
26942         (linkat): Likewise.
26943         (mkdirat): Likewise.
26944         (readlinkat): Likewise.
26945         (renameat): Likewise.
26946         (symlinkat): Likewise.
26947         (unlinkat): Likewise.
26948         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
26949         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
26950         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
26951         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
26952         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
26953         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
26954         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
26956 2014-09-30  Will Newton  <will.newton@linaro.org>
26958         * math/math.h: Define long double math functions if
26959         _LIBC_TEST is defined.
26960         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
26962         * localedata/Makefile: Move assignment to tests-special
26963         into an ifdef testing run-built-tests.
26964         * timezone/Makefile: Likewise.
26966 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
26968         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
26969         with $(BASH) not $(SHELL).
26971 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
26972             Matthew LeGendre  <legendre1@llnl.gov>
26974         [BZ #17411]
26975         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
26976         l_reloc_result.
26978 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
26980         * stdio-common/printf_fp.c
26981         (hack_digit): New function, broken out of ...
26982         (__printf_fp): ... local function here.  Update call sites.
26983         hack_digit now takes an additional parameter that is a pointer
26984         to a struct of the referenced locals.  Those locals moved inside
26985         the struct and references updated.
26987 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
26989         * aclocal.m4: Require autoconf 2.69.
26990         * configure: Regenerated.
26991         * sysdeps/aarch64/configure: Likewise.
26992         * sysdeps/alpha/configure: Likewise.
26993         * sysdeps/arm/armv7/configure: Likewise.
26994         * sysdeps/arm/configure: Likewise.
26995         * sysdeps/ia64/configure: Likewise.
26996         * sysdeps/mach/configure: Likewise.
26997         * sysdeps/mips/configure: Likewise.
26998         * sysdeps/s390/configure: Likewise.
26999         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
27000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
27002         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
27003         file.
27004         * sysdeps/ia64/configure.ac: Likewise.
27006 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
27008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
27009         specify symbol version for ld.so.  Do not include entry for
27010         libpthread.
27011         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
27012         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
27013         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
27015         [BZ #14171]
27016         * Makeconfig [$(build-shared) = yes]
27017         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
27018         makefiles.
27019         [$(build-shared) = yes && $(soversions.mk-done) = t]
27020         ($(common-objpfx)gnu/lib-names.h): Remove rule.
27021         [$(build-shared) = yes && $(soversions.mk-done) = t]
27022         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
27023         to Makerules.
27024         [$(build-shared) = yes && $(soversions.mk-done) = t]
27025         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
27026         here.
27027         [$(build-shared) = yes && $(soversions.mk-done) = t]
27028         (common-generated): Don't append gnu/lib-names.h and
27029         gnu/lib-names.stmp here.
27030         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
27031         (lib-names-h-abi): New variable.
27032         [$(build-shared) = yes && $(soversions.mk-done) = t]
27033         (lib-names-stmp-abi): Likewise.
27034         [$(build-shared) = yes && $(soversions.mk-done) = t &&
27035         abi-variants] (before-compile): Append
27036         $(common-objpfx)$(lib-names-h-abi).
27037         [$(build-shared) = yes && $(soversions.mk-done) = t &&
27038         abi-variants] (common-generated): Append gnu/lib-names.h.
27039         [$(build-shared) = yes && $(soversions.mk-done) = t &&
27040         abi-variants] (install-others-nosubdir): Depend on
27041         $(inst_includedir)/$(lib-names-h-abi).
27042         [$(build-shared) = yes && $(soversions.mk-done) = t &&
27043         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
27044         [$(build-shared) = yes && $(soversions.mk-done) = t]
27045         ($(common-objpfx)$(lib-names-h-abi)): New rule.
27046         [$(build-shared) = yes && $(soversions.mk-done) = t]
27047         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
27048         [$(build-shared) = yes && $(soversions.mk-done) = t]
27049         (common-generated): Append $(lib-names-h-abi) and
27050         $(lib-names-stmp-abi).
27051         * scripts/lib-names.awk: Do not handle multi being set.
27052         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
27053         Remove variable.
27054         (abi-lp64_be-ld-soname): Likewise.
27055         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
27056         Likewise.
27057         (abi-hard-ld-soname): Likewise.
27058         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
27059         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
27060         Remove variable.
27061         (abi-o32_hard-ld-soname): Likewise.
27062         (abi-o32_soft_2008-ld-soname): Likewise.
27063         (abi-o32_hard_2008-ld-soname): Likewise.
27064         (abi-n32_soft-ld-soname): Likewise.
27065         (abi-n32_hard-ld-soname): Likewise.
27066         (abi-n32_soft_2008-ld-soname): Likewise.
27067         (abi-n32_hard_2008-ld-soname): Likewise.
27068         (abi-n64_soft-ld-soname): Likewise.
27069         (abi-n64_hard-ld-soname): Likewise.
27070         (abi-n64_soft_2008-ld-soname): Likewise.
27071         (abi-n64_hard_2008-ld-soname): Likewise.
27072         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
27073         Likewise.
27074         (abi-64-v2-ld-soname): Likewise.
27075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
27076         ld.so entries.
27077         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
27078         variable.
27079         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
27080         entry.
27081         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
27082         variable.
27083         (abi-64-ld-soname): Likewise.
27084         (abi-x32-ld-soname): Likewise.
27085         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
27086         entry.
27087         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
27089 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
27091         [BZ #14138]
27092         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
27093         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
27094         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
27095         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
27096         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
27097         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
27098         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
27099         syscall entry for GLIBC_2.2 symbol version.
27100         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
27101         Likewise.
27102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
27103         (setrlimit): Likewise.
27104         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
27105         Likewise.
27107 2014-09-23  Will Newton  <will.newton@linaro.org>
27109         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
27110         _LINUX_ARM_SYSDEP_H include guard too.
27111         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
27112         define.
27114 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
27116         * sysdeps/unix/sysv/linux/eventfd.c:
27117         Make first argument unsigned.
27118         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
27119         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
27121 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
27123         [BZ #16852]
27124         * socket/recvmmsg.c (recvmmsg): Drop const argument.
27125         * socket/sys/socket.h: Likewise.
27126         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
27128 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27130         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
27132 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
27134         * time/tst-ftime.c: New test.
27135         * time/Makefile (tests): Add tst-ftime.
27137 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
27139         * soft-fp/extended.h: Fix comment formatting.
27140         * soft-fp/op-1.h: Likewise.
27141         * soft-fp/op-2.h: Likewise.
27142         * soft-fp/op-4.h: Likewise.
27143         * soft-fp/op-8.h: Likewise.
27144         * soft-fp/op-common.h: Likewise.
27145         * soft-fp/soft-fp.h: Likewise.
27147         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
27149 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
27151         [BZ #6652]
27152         * Makeconfig (soversions-default-setname): Remove variable.
27153         ($(common-objpfx)soversions.i): Don't pass default_setname to
27154         soversions.awk.
27155         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
27156         oldest_abi to abi-versions.awk.
27157         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
27158         * config.make.in (oldest-abi): Remove variable.
27159         * configure.ac (--enable-oldest-abi): Remove configure option.
27160         * configure: Regenerated.
27161         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
27162         text.
27163         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
27164         * scripts/soversions.awk: Do not handle default_setname variable.
27165         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
27166         variable.
27167         * sysdeps/mach/hurd/configure: Regenerated.
27168         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
27169         variable.
27170         * sysdeps/unix/sysv/linux/configure: Regenerated.
27172 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27174         * elf/Makefile (CFLAGS-interp.c): Remove.
27175         ($(elf-objpfx)runtime-linker.h): Generate header with linker
27176         path string.
27177         * elf/interp.c: Include generated runtime-linker.h
27179         * Makerules (lib%.so): Don't include $(+interp) in
27180         prerequisites.
27181         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
27182         * dlfcn/eval.c: Remove file.
27184         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
27185         macros.
27187         [BZ #17266]
27188         * misc/sys/cdefs.h: Define __extern_always_inline for clang
27189         4.2 and newer.
27191         [BZ #17370]
27192         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
27194 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27195             Jakub Jelinek  <jakub@redhat.com>
27197         [BZ #17266]
27198         * libio/stdio.h: Check definition of __fortify_function
27199         instead of __extern_always_inline to include bits/stdio2.h.
27200         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
27201         check if __extern_always_inline is defined.
27202         [__USE_MISC || __USE_XOPEN]: Likewise.
27203         [__USE_ISOC99] Likewise.
27204         * misc/sys/cdefs.h (__fortify_function): Define only if
27205         __extern_always_inline is defined.
27206         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
27207         __extern_always_inline and __extern_inline only for g++-4.3
27208         and newer or a compatible gcc.
27210 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
27212         [BZ #17371]
27213         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
27214         last change to handle zero prefix length.
27216 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27218         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
27219         _SC_REGEX_VERSION.
27221         * posix/getconf.c (vars): Add _POSIX_IPV6 and
27222         _POSIX_RAW_SOCKETS.
27224 2014-09-13  Allan McRae  <allan@archlinux.org>
27226         * po/ru.po: Update Russian translation from translation project.
27228 2014-09-12  Roland McGrath  <roland@hack.frob.com>
27230         * locale/programs/locale.c (show_locale_vars): Inline local function
27231         into its sole call site.  Clean up some style nits.
27232         (print_item): New function, broken out of ...
27233         (show_info): ... local function here.  Clean up style nits.
27235         * locale/programs/ld-ctype.c (set_one_default): New function, broken
27236         out of ...
27237         (set_class_defaults): ... local function set_default here.
27238         Define set_default as a macro locally to pass constant parameters.
27239         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
27240         rather than a shared local.
27242         * stdlib/rpmatch.c (try): New function, broken out of ...
27243         (rpmatch): ... local function here.  Also, prototypify definition.
27245 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
27247         * scripts/soversions.awk: Do not handle configuration names.
27248         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
27249         vendor and os variables to soversions.awk.
27250         * configure.ac: Do not modify gnu-* host_os.
27251         * configure: Regenerated
27252         * shlib-versions: Remove first column with configuration names.
27253         * nptl/shlib-versions: Likewise.
27254         * nptl_db/shlib-versions: Likewise.
27255         * sysdeps/hppa/shlib-versions: Likewise.
27256         * sysdeps/m68k/shlib-versions: Likewise.
27257         * sysdeps/mach/hurd/shlib-versions: Likewise.
27258         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
27259         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
27260         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
27261         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
27262         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
27263         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
27264         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
27265         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
27266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
27267         Likewise.
27268         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
27269         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
27270         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
27271         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
27272         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
27273         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
27274         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
27275         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
27277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
27278         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
27279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
27280         Regenerated.
27281         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
27282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
27283         Condition symbol version definitions on [HAVE_ELFV2_ABI].
27285         * shlib-versions: Remove OS-specific entries.  Moved to files in
27286         sysdeps.
27287         * sysdeps/mach/hurd/shlib-versions: New file.
27288         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
27290         * nptl/shlib-versions: Remove architecture-specific entries.
27291         Moved to files in sysdeps.
27292         * shlib-versions: Likewise.
27293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
27294         file.
27295         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
27296         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
27297         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
27298         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
27300         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
27301         (UDP_NO_CHECK6_RX): Likewise.
27303 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
27305         * sysdeps/posix/sysconf.c (__sysconf): Spell
27306         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
27308 2014-08-12  Florian Weimer  <fweimer@redhat.com>
27310         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
27311         loading.
27312         * iconv/Versions (__gconv_transliterate): Export for use from
27313         gconv modules.
27314         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
27315         (struct __gconv_trans_data, __gconv_trans_fct,
27316         __gconv_trans_context_fct, __gconv_trans_query_fct,
27317         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
27318         definitions.
27319         (struct __gconv_step_data): Remove __trans member.
27320         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
27321         longer hidden.  Remove unused trans_data argument.
27322         * iconv/gconv_int.h (struct trans_struct): Remove definition.
27323         (__gconv_translit_find): Remove declaration.
27324         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
27325         prototype.
27326         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
27327         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
27328         trans_data argument.  Add hidden definition.
27329         (__gconv_translit_find): Remove.
27330         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
27331         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
27332         * iconv/skeleton.c: Remove transliteration initialization.
27333         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
27334         __gconv_step_data initialization.
27335         * libio/iofwide.c (__libio_translit_): Remove.
27336         (_IO_fwide): Adjust struct __gconv_step_data initialization.
27337         * wcsmbs/btowc.c (__btowc): Likewise.
27338         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
27339         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
27340         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
27341         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
27342         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
27343         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
27344         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
27345         * wcsmbs/wctob.c (wctob): Likewise.
27347 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
27349         [BZ #16194]
27350         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
27351         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
27352         register usage.
27353         * sysdeps/x86/Makefile: Adjust.
27355 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
27356             Roland McGrath  <roland@hack.frob.com>
27358         * locale/weight.h: Add include guard.
27359         (findidx): Make static rather than auto; take new parameters
27360         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
27361         * locale/weightwc.h: Likewise.
27362         * posix/fnmatch_loop.c
27363         (FCT): Change type of EXTRA from int32_t to wint_t.
27364         Don't include either header inside the function.
27365         Call FINDIDX rather than findidx, and pass new arguments.
27366         #undef FINDIDX at the end of the file.
27367         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
27368         FINDIDX before including fnmatch_loop.c for the non-wide version.
27369         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
27370         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
27371         for the wide version.
27372         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
27373         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
27374         Pass new arguments to findidx.
27375         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
27376         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
27377         Don't #include it inside the function.  Pass new arguments to findidx.
27378         * posix/regex_internal.h
27379         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
27380         (re_string_elem_size_at): Don't #include it inside the function.
27381         Pass new arguments to findidx.
27382         * string/strcoll_l.c: #include WEIGHT_H at top level.
27383         (get_next_seq): Don't #include it inside the function.
27384         Pass new arguments to findidx.
27385         (get_next_seq_nocache): Likewise.
27386         * string/strxfrm_l.c: #include WEIGHT_H at top level.
27387         (STRXFRM): Don't #include it inside the function.
27388         Pass new arguments to findidx.
27390 2014-09-11  Florian Weimer  <fweimer@redhat.com>
27392         [BZ #17344]
27393         * malloc/malloc.c (unlink): Turn asserts into a call to
27394         malloc_printerr.
27396 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
27398         [BZ #17370]
27399         * libio/wfileops (do_ftell_wide): Free OUT.
27401 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
27403         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
27405 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
27407         [BZ #17363]
27408         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
27409         group if the current group is empty.
27411 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27413         * benchtests/bench-memset.c (test_main): Add more test from size
27414         from 32 to 512 bytes.
27415         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27416         Add POWER8 memset object.
27417         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27418         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
27419         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
27420         implementation.
27421         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
27422         Likewise.
27423         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
27424         multiarch POWER8 memset optimization.
27425         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
27426         POWER8 memset optimization.
27428         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27429         Remove bzero multiarch objects.
27430         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
27431         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
27432         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
27433         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
27434         Remove define.
27435         [__bzero]: Redefine to specific name.
27436         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
27437         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
27438         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
27439         define.
27440         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
27441         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
27443 2014-09-10  Florian Weimer  <fweimer@redhat.com>
27445         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
27446         warnings into errors.
27448         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
27449         __cxa_thread_atexit_impl prototype.
27451 2014-09-09  Steve Ellcey  <sellcey@mips.com>
27453         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
27454         Fix capitalization of error message.
27456 2014-09-09  Steve Ellcey  <sellcey@mips.com>
27458         * sysdeps/mips/preconfigure: Modify ABI tests.
27460 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
27462         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
27464 2014-09-07  Roland McGrath  <roland@hack.frob.com>
27465             Carlos O'Donell  <carlos@systemhalted.org>
27467         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
27468         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
27469         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
27470         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
27471         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
27472         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
27473         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
27474         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
27475         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
27476         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
27477         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
27478         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
27479         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
27480         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
27481         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
27482         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
27483         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
27484         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
27485         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
27486         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
27487         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
27488         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
27489         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
27490         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
27491         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
27492         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
27493         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
27494         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
27495         Deconditionalize the code that was previously under [RESET_PID].
27496         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
27497         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
27498         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
27499         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
27500         include sysdep.h.
27502 2014-09-08  Allan McRae  <allan@archlinux.org>
27504         * version.h (RELEASE): Set to "development".
27505         (VERSION): Set to "2.20.90"
27507 2014-09-07  Allan McRae  <allan@archlinux.org
27509         * version.h (RELEASE): Set to "stable".
27510         (VERSION): Set to "2.20"
27511         * include/features.h (__GLIBC_MINOR__): Set to 20.
27513         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
27514         Liebler.
27516         * po/ko.po: Update Korean translation from translation project.
27518 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
27520         [BZ #17354]
27521         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
27522         macro for handling signed relocations.
27524 2014-09-03  Florian Weimer  <fweimer@redhat.com>
27526         [BZ #17325]
27527         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
27528         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
27529         assert.
27530         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
27531         * iconvdata/ibm935.c (BODY): Likewise.
27532         * iconvdata/ibm937.c (BODY): Likewise.
27533         * iconvdata/ibm939.c (BODY): Likewise.
27534         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
27535         assert.
27536         * iconvdata/Makefile (iconv-test.out): Pass module list to test
27537         script.
27538         * iconvdata/run-iconv-test.sh: New test loop for checking for
27539         decoder crashers.
27541 2014-09-02  Khem Raj  <raj.khem@gmail.com>
27543         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
27544         libm_hidden_ver.
27546 2014-09-01  Allan McRae  <allan@archlinux.org>
27548         * po/eo.po: Update Esperanto translation from translation project.
27550         * po/ca.po: Update Catalan translation from translation project.
27552 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27554         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
27555         __proc_dostop call.
27557 2014-08-27  Mark Wielaard  <mjw@redhat.com>
27559         [BZ #17319]
27560         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
27561         to call set_thread_area instead of hand written asm.
27562         (__NR_set_thread_area): Removed define.
27563         (TLS_FLAG_WRITABLE): Likewise.
27564         (__ASSUME_SET_THREAD_AREA): Remove check.
27565         (TLS_EBX_ARG): Remove define.
27566         (TLS_LOAD_EBX): Likewise.
27568 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27570         Simplify atomicity of socket creation in bind.
27572         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
27573         looking up the name after linking the file.
27575 2014-08-27  Allan McRae  <allan@archlinux.org>
27577         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
27579 2014-08-26  Florian Weimer  <fweimer@redhat.com>
27581         [BZ #17187]
27582         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
27583         trans_compare, open_translit, __gconv_translit_find):
27584         Remove module loading code.
27586 2014-08-26  Allan McRae  <allan@archlinux.org>
27588         * po/vi.po: Update Vietnamese translation from translation project.
27590         * po/uk.po: Update Ukrainian translation from translation project.
27592         * po/fr.po: Update French translation from translation project.
27594         * po/ru.po: Update Russian translation from translation project.
27596         * po/pl.po: Update Polish translation from translation project.
27598         * po/cs.po: Update Czech translation from translation project.
27600         * po/de.po: Update German translation from translation project.
27602         * po/bg.po: Update Bulgarian translation from translation project.
27604         * po/sv.po: Update Sweedish translation from translation project.
27606         * po/nl.po: Update Dutch translation from translation project.
27608         * po/es.po: Update Spanish translation from translation project.
27610 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
27612         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
27614         * catgets/Makefile (CPPFLAGS-gencat): Remove.
27615         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
27616         (CPPFLAGS-iconvconfig): Likewise.
27617         * timezone/Makefile (CPPFLAGS-zic): Likewise.
27619         * include/libc-symbols.h: Remove unnecessary check for
27620         NOT_IN_libc.
27621         * nptl/pthreadP.h: Likewise.
27622         * sysdeps/aarch64/setjmp.S: Likewise.
27623         * sysdeps/alpha/setjmp.S: Likewise.
27624         * sysdeps/arm/sysdep.h: Likewise.
27625         * sysdeps/i386/setjmp.S: Likewise.
27626         * sysdeps/m68k/setjmp.c: Likewise.
27627         * sysdeps/posix/getcwd.c: Likewise.
27628         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
27629         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
27630         * sysdeps/s390/s390-32/setjmp.S: Likewise.
27631         * sysdeps/s390/s390-64/setjmp.S: Likewise.
27632         * sysdeps/sh/sh3/setjmp.S: Likewise.
27633         * sysdeps/sh/sh4/setjmp.S: Likewise.
27634         * sysdeps/unix/alpha/sysdep.h: Likewise.
27635         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
27636         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27637         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
27638         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
27639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
27640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27641         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27642         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27643         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27644         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27645         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27646         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
27647         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27648         * sysdeps/x86_64/setjmp.S: Likewise.
27650 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
27652         [BZ #17263]
27653         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
27654         <stdint.h>.
27655         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
27656         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
27658 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
27660         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
27662         [BZ #17262]
27663         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
27664         and __x86_64__ when disabling x87 inline functions.
27666 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
27668         [BZ #17259]
27669         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
27670         asm statement with __cpuid_count.
27672 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
27674         * configure.ac: Change __ehdr_start code to dereference the struct.
27675         Run readelf on the output to look for relocations.
27676         * configure: Regenerated.
27678 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
27680         [BZ #17261]
27681         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
27682         value to 0.
27683         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
27685 2014-08-12  Roland McGrath  <roland@hack.frob.com>
27687         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
27689 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
27691         [BZ #16892]
27692         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
27693         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
27695 2014-08-12  Sean Anderson  <seanga2@gmail.com>
27697         * malloc/malloc.c: Fix typo in comment.
27699 2014-08-09  Allan McRae  <allan@archlinux.org>
27701         * Regenerate libc.po.
27703 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
27705         * intl/tst-gettext2.sh: Check every lang file for creation.
27707 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
27709         * sysdeps/aarch64/fpu/math_private.h
27710         (libc_feholdsetround_noex_aarch64_ctx): New function.
27712 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
27714         * sysdeps/arm/armv6/strcpy.S (strcpy):
27715         Fix performance issue in misaligned cases.
27717 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27719         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
27720         Move definition from termios.h.
27721         (struct termio): Likewise.
27722         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
27723         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
27724         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
27725         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
27726         Likewise.
27727         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
27728         Move definition to ioctl-types.h
27729         (struct termio): Likewise.
27730         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
27731         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
27732         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
27733         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
27734         Likewise.
27736 2014-08-05  Richard Henderson  <rth@redhat.com>
27738         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
27739         exceptions.
27740         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
27741         Add fraiseexcpt.
27742         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
27743         Use __feraiseexcept.
27744         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
27745         Protect libm symbols with IS_IN_libm.
27747         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
27749 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
27751         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
27753 2014-08-04  Will Newton  <will.newton@linaro.org>
27755         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
27756         file.
27758 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
27760         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
27761         variants for each function.
27763 2014-08-04  Roland McGrath  <roland@hack.frob.com>
27765         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
27766         appended ...
27767         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
27768         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
27769         appended ...
27770         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
27771         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
27772         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
27773         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
27774         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
27775         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
27776         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
27777         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
27778         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
27779         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
27780         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
27781         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
27782         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
27783         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
27784         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
27785         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
27786         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
27787         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
27788         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
27789         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
27790         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
27791         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
27792         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
27793         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
27794         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
27795         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
27796         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
27797         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
27798         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
27799         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
27800         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
27801         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
27802         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
27803         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
27804         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
27805         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
27806         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
27807         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
27808         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
27809         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
27810         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
27811         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
27812         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
27813         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
27814         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
27815         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
27816         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
27817         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
27818         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
27819         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
27820         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
27821         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
27822         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
27823         Update #include.
27824         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
27825         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
27827 2014-08-04  Roland McGrath  <roland@hack.frob.com>
27829         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
27830         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
27831         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
27832         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
27833         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
27834         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
27836 2014-08-04  Roland McGrath  <roland@hack.frob.com>
27838         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
27839         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
27840         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27841         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
27843 2014-08-04  Roland McGrath  <roland@hack.frob.com>
27845         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
27846         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
27847         (__libc_vfork): Define function under this name.
27848         (__vfork): Define as an alias.
27849         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
27850         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
27852 2014-08-04  Roland McGrath  <roland@hack.frob.com>
27854         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
27855         that was previously under [RESET_PID].
27856         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
27858 2014-08-04  Andreas Schwab  <schwab@suse.de>
27860         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
27862 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
27864         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
27865         (main): Likewise.
27867 2014-08-01  Roland McGrath  <roland@hack.frob.com>
27869         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
27871 2014-08-01  Richard Henderon  <rth@redhat.com>
27873         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
27874         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
27875         typo in exact zero test.
27876         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27877         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27878         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27880 2014-08-01  Roland McGrath  <roland@hack.frob.com>
27882         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
27883         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
27884         * sysdeps/arm/sysdep.h: ... here.
27885         [!__ASSEMBLER__]: Include <stdint.h>.
27887 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
27889         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
27890         (HAVE_WCTYPE_H): Likewise.
27891         (HAVE_ISWCTYPE): Likewise.
27892         (ENABLE_NLS): Likewise.
27893         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
27894         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
27896         * posix/regex_internal.c: Check if DEBUG is defined and is
27897         set.
27899         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
27900         (HAVE_MBSRTOWCS): Likewise.
27901         * posix/fnmatch.c: Include string.h unconditionally.
27903 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
27905         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
27906         reversal.
27908 2014-07-31  Roland McGrath  <roland@hack.frob.com>
27910         * sysdeps/generic/safe-fatal.h: New file.
27911         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
27912         * nptl/forward.c: Include it.
27913         (__pthread_unwind): Use __safe_fatal as default action, rather
27914         than a bogus use of INTERNAL_SYSCALL that could never work.
27916         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
27917         * configure.ac (libc_cv_builtin_trap): New test.
27918         * configure: Regenerated.
27919         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
27920         (ABORT_INSTRUCTION): Define using __builtin_trap.
27922         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
27923         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
27924         * sysdeps/nptl/nptl-signals.h: New file.
27925         * nptl/pthreadP.h: Include <nptl-signals.h>.
27927 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
27929         * sysdeps/s390/s390-64/utf16-utf32-z9.c
27930         (ONE_DIRECTION): Define.
27931         * sysdeps/s390/s390-64/utf8-utf16-z9.c
27932         (ONE_DIRECTION): Define.
27933         * sysdeps/s390/s390-64/utf8-utf32-z9.c
27934         (ONE_DIRECTION): Define.
27936 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
27938         * sysdeps/s390/Makefile: Delete file.
27939         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
27940         * sysdeps/s390/__longjmp.c: Delete file.
27941         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
27942         Remove fields __flags and __reserved.
27943         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
27944         and add versioning.
27945         * sysdeps/s390/rtld-__longjmp.c: Delete file.
27946         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
27947         * sysdeps/s390/rtld-setjmp.S: Likewise.
27948         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
27949         * sysdeps/s390/s390-32/__longjmp.c: ... here.
27950         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
27951         * sysdeps/s390/s390-32/setjmp.S: ... here.
27952         Add versioning.
27953         (__sigsetjmp): Remove setting __flags field.
27954         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
27955         * sysdeps/s390/s390-64/__longjmp.c: ... here.
27956         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
27957         * sysdeps/s390/s390-64/setjmp.S: ... here.
27958         Add versioning.
27959         (__sigsetjmp): Remove setting __flags field.
27960         * sysdeps/s390/setjmp.S: Delete file.
27961         * sysdeps/s390/sigjmp.c: Likewise.
27962         * sysdeps/s390/v1-longjmp.c: Likewise.
27963         * sysdeps/s390/v1-setjmp.h: Likewise.
27964         * sysdeps/s390/v1-sigjmp.c: Likewise.
27965         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
27966         Remove v1-longjmp_chk.
27967         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
27968         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
27969         Include debug/longjmp_chk.c and add versioning.
27970         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
27971         Include nptl/pt-longjmp.c and add versioning.
27972         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
27973         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
27974         Include __longjmp.c.
27975         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
27976         Move to ...
27977         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
27978         (__getcontext): Remove setting __flags field.
27979         Add versioning.
27980         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
27981         Don't restore upper high grps.
27982         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
27983         Likewise.
27984         (__swapcontext): Remove setting uc_flags field.
27985         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
27986         Delete file.
27987         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
27988         Include __longjmp.c.
27989         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
27990         Move to ...
27991         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
27992         (__getcontext): Remove setting __flags field.
27993         Add versioning.
27994         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
27995         (__swapcontext): Remove setting uc_flags field.
27996         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
27997         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
27998         Remove fields uc_high_gprs and __reserved.
27999         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
28000         New file with reverted content.
28001         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
28002         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
28003         Regenerated.
28004         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
28005         Regenerated.
28007 2014-07-31  Andreas Schwab  <schwab@suse.de>
28009         * config.h.in (HAVE_IFUNC): Define to 0.
28010         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
28011         definedness.
28013 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
28015         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28016         memmove-avx-unaligned, memcpy-avx-unaligned and
28017         mempcpy-avx-unaligned.
28018         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28019         Add tests for AVX memcpy functions.
28020         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
28021         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
28022         memcpy_chk.
28023         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
28024         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
28025         memmove_chk.
28026         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
28027         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
28028         mempcpy_chk.
28029         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
28030         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
28031         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
28033 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28035         [BZ #17213]
28036         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
28037         powerpc64le.
28039 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
28041         [BZ #16839]
28042         * manual/llio.texi: Add section about open file description locks.
28043         * manual/examples/ofdlocks.c: Example of open file description
28044         lock usage.
28045         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
28046         F_OFD_SETLK, and F_OFD_SETLKW.
28048 2014-07-23  Allan McRae  <allan@archlinux.org>
28050         * po/es.po: Update Spanish translation from translation project.
28052 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
28054         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
28056 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
28058         [BZ #17078]
28059         * sysdeps/arm/dl-machine.h (elf_machine_rela)
28060         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
28061         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
28063 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
28065         [BZ #17088]
28066         * math/fesetenv.c (__fesetenv)
28067         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
28068         * math/feupdateenv.c (__feupdateenv)
28069         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
28071         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
28072         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
28073         (__ASSUME_SOCKETCALL): Do not define.
28075         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
28076         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
28077         (__ASSUME_SOCKETCALL): Do not define.
28078         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
28079         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
28080         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
28081         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
28082         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
28083         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
28084         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
28085         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
28087         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
28088         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
28089         (__ASSUME_SOCKETCALL): Do not define.
28090         (__ASSUME_IPC64): Define unconditionally.
28091         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
28092         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
28093         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
28094         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
28095         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
28096         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
28097         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
28098         Likewise.
28100         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
28101         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
28102         (__ASSUME_SOCKETCALL): Do not define.
28103         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
28104         (__ASSUME_FUTEX_LOCK_PI): Likewise.
28105         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
28106         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
28107         (__ASSUME_REQUEUE_PI): Define unconditionally.
28108         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
28109         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
28110         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
28111         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
28112         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
28113         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
28115         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
28116         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
28117         (__ASSUME_SOCKETCALL): Do not define.
28118         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
28119         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
28120         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
28121         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
28122         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
28123         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
28125         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
28126         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
28127         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
28128         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
28129         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
28130         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
28131         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
28132         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
28133         (__ASSUME_GETCPU_SYSCALL): Likewise.
28135         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
28136         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
28137         cases for individual architectures.
28138         * sysdeps/gnu/configure: Regenerated.
28139         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
28140         LIBC_SLIBDIR_RTLDDIR.
28141         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
28142         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
28143         LIBC_SLIBDIR_RTLDDIR.
28144         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
28145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
28146         LIBC_SLIBDIR_RTLDDIR.
28147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
28148         Regenerated.
28149         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
28150         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
28151         file.
28152         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
28153         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
28154         file.
28155         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
28156         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
28157         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
28158         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
28160         * sysdeps/aarch64/shlib-versions: Move to ...
28161         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
28162         * sysdeps/alpha/shlib-versions: Move to ...
28163         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
28164         * sysdeps/arm/shlib-versions: Move to ...
28165         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
28166         * sysdeps/hppa/shlib-versions: Move all contents except for
28167         libgcc_s entry to ...
28168         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
28169         entry from ...
28170         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
28171         * sysdeps/ia64/shlib-versions: Move to ...
28172         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
28173         entry from ...
28174         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
28175         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
28176         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
28177         * sysdeps/microblaze/shlib-versions: Move to ...
28178         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
28179         * sysdeps/mips/shlib-versions: Move to ...
28180         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
28181         entry from ...
28182         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
28183         * sysdeps/tile/shlib-versions: Move to ...
28184         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
28185         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
28186         from ...
28187         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
28188         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
28189         entry from ...
28190         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
28192 2014-07-17  Will Newton  <will.newton@linaro.org>
28194         * sysdeps/arm/bits/atomic.h
28195         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
28196         (__arch_compare_and_exchange_bool_16_int): Likewise.
28197         (__arch_compare_and_exchange_bool_64_int): Likewise.
28199         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
28200         into an #else block.
28202 2014-07-16  Roland McGrath  <roland@hack.frob.com>
28204         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
28205         just Linux configurations.  Test empirically that the compiler sets
28206         __ARM_EABI__, rather than using the tuple to decide.
28207         * sysdeps/arm/preconfigure: Regenerated.
28208         * sysdeps/unix/sysv/linux/arm/configure: File removed.
28209         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
28210         contents appended ...
28211         * sysdeps/arm/configure.ac: ... here.
28212         * sysdeps/arm/configure: Regenerated.
28214 2014-07-15  Roland McGrath  <roland@hack.frob.com>
28216         * nptl/pthread_kill.c: New file.
28217         * nptl/pthread_sigmask.c: New file.
28218         * nptl/pthread_sigqueue.c: New file.
28220         * sysdeps/nptl/lowlevellock.h: New file.
28221         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
28222         * sysdeps/nptl/lowlevellock-futex.h: New file.
28224         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
28225         Remove dead declarations.
28227 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
28229         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
28230         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
28231         config-cflags-avx2.
28232         * sysdeps/x86_64/configure.ac: Likewise.
28233         * sysdeps/i386/configure: Regenerated.
28234         * sysdeps/x86_64/configure: Likewise.
28235         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28236         memset-avx2 only if config-cflags-avx2 is yes.
28237         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28238         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
28239         defined.
28240         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
28241         only if HAVE_AVX2_SUPPORT is defined.
28242         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28244 2014-07-14  Alan Modra  <amodra@gmail.com>
28246         [BZ #17153]
28247         * elf/elf.h (DT_PPC64_NUM): Correct value.
28248         * NEWS: Add to fixed bug list.
28250 2014-07-13  Jim Meyering  <meyering@fb.com>
28252         [BZ 17150]
28253         regex: don't deref NULL upon heap allocation failure
28254         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
28255         failure in one more place.
28256         To trigger the segfault, configure grep -with-included-regex,
28257         build it, and run these commands:
28258         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
28260 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
28262         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
28264 2014-07-11  Richard Henderson  <rth@redhat.com>
28266         * sysdeps/aarch64/libm-test-ulps: Update.
28268 2014-07-10  Florian Weimer  <fweimer@redhat.com>
28270         [BZ #17135]
28271         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
28272         * nptl/allocatestack.c (__nptl_setxid_error): New function.
28273         (__nptl_setxid): Initialize error member.  Call
28274         __nptl_setxid_error.
28275         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
28276         * nptl/descr.h (struct xid_command): Add error member.
28277         * nptl/tst-setuid3.c: New file.
28278         * nptl/Makefile (tests): Add it.
28280 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28282         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
28283         New define.
28284         (__lll_trylock): Use __lll_base_trylock.
28285         (__lll_cond_trylock): Likewise.
28287 2014-07-10  Roland McGrath  <roland@hack.frob.com>
28289         * nptl/pthread_create.c (start_thread): Use atomic_or and
28290         lll_futex_wake directly rather than lll_robust_dead.
28291         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
28292         (lll_robust_dead): Macro removed.
28293         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
28294         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
28295         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
28296         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
28297         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
28298         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
28299         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
28300         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
28301         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
28302         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
28303         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
28304         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
28305         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
28306         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
28307         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
28309         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
28310         Use atomic_compare_and_exchange_val_acq directly rather than
28311         lll_robust_trylock.
28312         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
28313         (__lll_robust_trylock, lll_robust_trylock): Removed.
28314         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
28315         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
28316         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
28317         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
28318         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
28319         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
28320         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
28321         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
28322         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
28323         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
28324         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
28325         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
28326         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
28327         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
28329 2014-07-02  Florian Weimer  <fweimer@redhat.com>
28331         * manual/locale.texi (Locale Names): New section documenting
28332         locale name syntax.  Adjust menu and node chaining accordingly.
28333         (Choosing Locale): Reference Locale Names, Locale Categories.
28334         Mention setting LC_ALL=C.  Reflect that name syntax is now
28335         documented.
28336         (Locale Categories): New section title.  Reference Locale Names.
28337         LC_ALL is an environment variable, but not a category.
28338         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
28339         description, now in Locale Name.  Reference that section.  Locale
28340         name syntax is now documented.
28342 2014-07-02  Florian Weimer  <fweimer@redhat.com>
28344         [BZ #17137]
28345         * locale/findlocale.c (name_present, valid_locale_name): New
28346         functions.
28347         (_nl_find_locale): Use the loc_name variable to store name
28348         candidates.  Call name_present and valid_locale_name to check and
28349         validate locale names.  Return an error if the locale is invalid.
28351 2014-07-02  Florian Weimer  <fweimer@redhat.com>
28353         * locale/setlocale.c (setlocale): Use strdup for allocating
28354         composite name copy.
28356 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
28358         Sync up with gnulib.
28359         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
28360         [!_LIBC && ENABLE_NLS]: Include gettext.h.
28361         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
28362         and _GL_ARG_NONNULL.
28363         [USE_UNLOCKED_IO]: Include unlocked-io.h.
28364         [!_LIBC]: Include code for Windows and Cygwin.
28365         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
28366         Include prototype for int strerror_r.
28367         [!_LIBC] (is_open): New function.
28368         (flush_stdout): New function.
28369         (print_errno_message): Use it.
28370         (error): Likewise.
28371         (error_at_line): Likewise.
28372         (error_tail) Add function attribute macros.  Use
28373         __builtin_expect.
28375         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
28377         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
28379         * io/ftw.c: Include sys/param.h unconditionally.
28381         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
28383         [BZ #17125]
28384         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
28385         libc_freeres_ptr.
28386         (freecache): New function to free CACHE on exit.
28388         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
28389         initialization.
28391 2014-07-09  David S. Miller  <davem@davemloft.net>
28393         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28395         * sysdeps/sparc/nptl/internaltypes.h: Delete.
28396         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
28397         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
28398         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
28399         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
28400         * sysdeps/sparc/nptl/sem_init.c: Likewise.
28401         * sysdeps/sparc/nptl/sem_post.c: Likewise.
28402         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
28403         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
28404         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
28405         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
28406         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
28407         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
28409 2014-07-09  Andreas Schwab  <schwab@suse.de>
28411         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
28412         output.
28413         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
28414         (do_test): Likewise.
28416         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
28418 2014-07-09  Will Newton  <will.newton@linaro.org>
28420         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
28421         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
28422         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
28423         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
28424         * sysdeps/hppa/start.S (_start): Likewise.
28426 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
28428         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
28430         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
28431         defined.
28433 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
28435         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
28436         after checking that it is non-NULL.
28438         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
28440 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28442         * sysdeps/powerpc/memmove.c: Remove file.
28443         * sysdeps/powerpc/powerpc32/power4/memcopy.h
28444         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
28445         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
28446         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
28447         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
28448         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
28449         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
28450         string memmove instead of removed powerpc one.
28452         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
28453         [weak_alias]: Fix compiler warning due trailing data.
28454         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
28455         [weak_alias]: Likewise.
28456         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
28457         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
28459         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28460         (__libc_ifunc_impl_list): Add memmove functions.
28462 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
28464         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
28465         Remove code.
28466         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
28467         Likewise.
28468         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
28469         Likewise.
28470         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
28471         Likewise.
28472         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
28473         Likewise.
28474         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
28475         Likewise.
28476         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
28477         Likewise.
28478         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
28479         Likewise.
28480         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
28481         Likewise.
28482         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
28483         Likewise.
28484         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
28485         Likewise.
28486         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
28487         Likewise.
28488         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
28489         Likewise.
28490         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
28491         Likewise.
28492         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
28493         Likewise.
28494         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
28495         Likewise.
28496         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
28497         Likewise.
28499 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28501         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
28502         to avoid alignment traps in non-cacheable memory.
28503         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
28505         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
28506         multiarch objects.
28507         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
28508         file: multiarch power7 memmove.
28509         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
28510         multiarch default memmove.
28511         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
28512         multiarch memove for powerpc32/power4.
28514         * string/bcopy.c: Use full path to include memmove.c.
28515         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
28516         multiarch objects.
28517         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
28518         bcopy for powerpc64.
28519         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
28520         bcopy for powerpc64.
28521         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
28522         and memmove implementations.
28523         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
28524         optimized multiarch memmove for POWER7/powerpc64.
28525         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
28526         default multiarch memmove for powerpc64.
28527         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
28528         multiarch for powerpc64.
28529         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
28530         for POWER7/powerpc64.
28531         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
28532         memmove for POWER7/powerpc64.
28534         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
28535         glibc default one.
28537         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
28538         __ELF_NATIVE_CLASS equal to 64.
28540 2014-07-07  Roland McGrath  <roland@hack.frob.com>
28542         * sysdeps/nptl/lowlevellock.h: File removed.
28544         * NEWS: NPTL is no longer an add-on!
28545         * nptl/internaltypes.h: Moved ...
28546         * sysdeps/nptl/internaltypes.h: ... here.
28547         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
28548         * sysdeps/nptl/fork.c: Likewise.
28549         * sysdeps/nptl/gai_misc.h: Likewise.
28550         * sysdeps/nptl/librt-cancellation.c: Likewise.
28551         * sysdeps/nptl/jmp-unwind.c: Likewise.
28552         * sysdeps/nptl/setxid.h: Likewise.
28553         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
28554         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
28555         * sysdeps/unix/sysv/linux/arm/Implies: New file.
28556         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
28557         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
28558         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
28559         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
28560         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
28561         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
28562         * sysdeps/unix/sysv/linux/mips/Implies: New file.
28563         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
28564         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
28565         * sysdeps/unix/sysv/linux/sh/Implies: New file.
28566         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
28567         * sysdeps/unix/sysv/linux/tile/Implies: New file.
28568         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
28569         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
28570         * nptl/Makeconfig: Moved ...
28571         * sysdeps/nptl/Makeconfig: ... here.
28572         * nptl/configure: File removed.
28573         * nptl/ANNOUNCE: File removed.
28574         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
28575         * sysdeps/unix/sysv/linux/configure: Regenerated.
28577         * nptl/Makefile (routines): Add libc_pthread_init,
28578         libc_multiple_threads, register-atfork and unregister-atfork.
28579         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
28580         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
28581         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
28582         pthread-pi-defines.sym, structsem.sym.
28583         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
28584         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
28585         [$(subdir) = nptl] (tests): Add tst-setgetname.
28586         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
28587         * sysdeps/unix/sysv/linux/sigaction.c: Just include
28588         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
28589         [!LIBC_SIGACTION]: Remove aliases.
28590         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
28591         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
28592         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
28593         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
28594         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
28595         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
28596         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
28597         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
28598         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
28599         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
28600         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
28601         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
28602         __libc_allocate_rtsig_private.
28603         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
28604         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
28605         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
28606         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
28607         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
28608         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
28609         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
28610         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
28611         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
28612         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
28613         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
28614         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
28615         * nptl/internaltypes.h: ... here.
28616         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
28617         * sysdeps/nptl/jmp-unwind.c: ... here.
28618         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
28619         * nptl/libc-lowlevellock.c: ... here.
28620         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
28621         * nptl/libc_multiple_threads.c: ... here.
28622         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
28623         * nptl/libc_pthread_init.c: ... here.
28624         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
28625         * nptl/lowlevelbarrier.sym: ... here.
28626         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
28627         * nptl/lowlevelcond.sym: ... here.
28628         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
28629         * nptl/lowlevellock.c: ... here.
28630         * nptl/lowlevellock.h: Moved ...
28631         * sysdeps/nptl/lowlevellock.h: ... here.
28632         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
28633         * nptl/lowlevelrobustlock.c: ... here.
28634         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
28635         * nptl/lowlevelrobustlock.sym: ... here.
28636         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
28637         * nptl/lowlevelrwlock.sym: ... here.
28638         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
28639         * nptl/pt-fork.c: ... here.
28640         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
28641         * nptl/pthread-pi-defines.sym: ... here.
28642         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
28643         * nptl/pthread_attr_getaffinity.c: ... here.
28644         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
28645         * nptl/pthread_attr_setaffinity.c: ... here.
28646         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
28647         * nptl/pthread_mutex_cond_lock.c: ... here.
28648         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
28649         Update #include.
28650         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
28651         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
28652         * nptl/pthread_once.c: ... here, replacing old file.
28653         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
28654         * nptl/pthread_yield.c: ... here.
28655         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
28656         * nptl/register-atfork.c: ... here.
28657         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
28658         * nptl/sem_post.c: ... here.
28659         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
28660         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
28661         * nptl/sem_timedwait.c: ... here.
28662         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
28663         * nptl/sem_trywait.c: ... here.
28664         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
28665         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
28666         * nptl/sem_wait.c: ... here.
28667         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
28668         * nptl/structsem.sym: ... here.
28669         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
28670         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
28671         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
28672         * nptl/unregister-atfork.c: ... here.
28673         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
28674         * nptl/unwindbuf.sym: ... here.
28675         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
28676         * sysdeps/nptl/fork.c: ... here.
28677         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
28678         * sysdeps/nptl/fork.h: ... here.
28679         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
28680         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
28681         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
28682         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
28683         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
28684         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
28685         * sysdeps/unix/sysv/linux/getpid.c: ... here.
28686         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
28687         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
28688         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
28689         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
28690         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
28691         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
28692         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
28693         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
28694         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
28695         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
28696         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
28697         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
28698         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
28699         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
28700         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
28701         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
28702         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
28703         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
28704         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
28705         * sysdeps/unix/sysv/linux/raise.c: ... here.
28706         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
28707         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
28708         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
28709         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
28710         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
28711         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
28712         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
28713         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
28714         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
28715         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
28716         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
28717         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
28718         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
28719         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
28720         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
28722 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
28724         * sysdeps/generic/memcopy.h: Add comment for
28725         MEMCPY_OK_FOR_FWD_MEMMOVE.
28727 2014-07-04  Will Newton  <will.newton@linaro.org>
28729         * string/memchr.c: Merge from gnulib.
28730         [_LIBC]: Remove conditionals.
28731         (__ptr_t): Remove define.
28732         (LONG_MAX_32_BITS): Likewise.
28733         (LONG_MAX): Likewise.
28734         (MEMCHR): Use ANSI prototype and optimize algorithm.
28736         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
28738 2014-07-03  Roland McGrath  <roland@hack.frob.com>
28740         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
28741         (lll_futex_timed_wait_bitset): Fix syscall argument count.
28743         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
28744         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
28745         in a bare environment with no <stdlib.h> installed.
28746         * sysdeps/nptl/configure: Regenerated.
28748         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
28750         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
28751         AC_EGREP_CPP for kernel header checks, so they only succeed if
28752         including <linux/version.h> actually works right.
28753         * sysdeps/unix/sysv/linux/configure: Regenerated.
28755         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
28756         value so it's not diagnosed as unused.
28758         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
28759         thing) with "ifeq ($(subdir),rt)".
28761 2014-07-03  Richard Henderson  <rth@redhat.com>
28763         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
28764         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
28765         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
28767         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
28768         (math_force_eval): New.
28770         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
28771         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
28773         * sysdeps/alpha/fpu/s_round.c: Remove file.
28774         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
28776         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
28777         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
28778         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
28779         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
28780         (_dl_start, print_statistics): Likewise.
28781         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
28782         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
28784         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28785         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28786         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28787         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28788         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
28789         (HP_SMALL_TIMING_AVAIL): Define.
28790         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28791         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
28792         (HP_SMALL_TIMING_AVAIL): Define.
28793         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28794         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28796         * sysdeps/aarch64/hp-timing.h: New file.
28798         * sysdeps/generic/hp-timing.h: Remove dead comment.
28799         * sysdeps/generic/hp-timing-common.h: New file.
28800         * sysdeps/alpha/hp-timing.h: Include it.
28801         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
28802         * sysdeps/i386/i686/hp-timing.h: Likewise.
28803         * sysdeps/ia64/hp-timing.h: Likewise.
28804         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
28805         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
28806         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
28807         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
28808         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
28809         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
28810         (hp_timing_t): New.
28812         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
28813         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
28814         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
28815         * elf/rtld.c (_dl_start_final): Likewise.
28816         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
28817         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
28818         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
28819         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
28820         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
28821         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
28822         (HP_TIMING_DIFF_INIT): Remove.
28823         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
28824         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
28825         (HP_TIMING_DIFF_INIT): Remove.
28826         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
28827         * sysdeps/i386/i686/hp-timing.c: Remove file.
28828         * sysdeps/x86_64/hp-timing.c: Remove file.
28829         * sysdeps/ia64/hp-timing.c: Remove file.
28830         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
28831         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
28832         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
28833         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
28835         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
28836         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
28837         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
28838         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
28839         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
28840         (HP_TIMING_ACCUM): Remove.
28841         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
28842         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
28843         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
28845         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
28846         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
28847         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
28848         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
28849         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
28850         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
28851         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
28852         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
28854         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
28856 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
28858         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
28860 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28862         Sync up with gettext.
28863         * intl/loadmsgcat.c: Define O_BINARY if not defined.
28864         [_MSC_VER]: Include malloc.h
28865         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
28866         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
28867         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
28868         TEMP_FAILURE_RETRY.  Cast return of alloca.
28869         [!_LIBC] Call gl_rwlock_init.
28870         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
28872 2014-07-02  Roland McGrath  <roland@hack.frob.com>
28874         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
28875         before checking its value.
28877 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28879         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
28881         * debug/memcpy_chk.c: Don't include pagecopy.h.
28882         * debug/mempcpy_chk.c: Likewise.
28883         * string/memcpy.c: Likewise.
28884         * string/memmove.c: Likewise.
28885         * sysdeps/powerpc/memmove.c: Likewise.
28886         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
28887         definition of PAGE_COPY_FWD_MAYBE here...
28888         * sysdeps/generic/pagecopy.h: ... from here.
28889         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
28891 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
28892             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28894         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
28895         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
28896         optimizations.
28897         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
28898         (__libc_ifunc_impl_list): Likewise.
28899         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
28900         multiarch strcat for PPC64.
28901         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
28902         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
28904 2014-07-02  Roland McGrath  <roland@hack.frob.com>
28906         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
28908 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28910         * intl/loadmsgcat.c: Remove declaration of
28911         get_sysdep_segment_value.
28912         (get_sysdep_segment_value): Use ISO C style.
28913         (_nl_load_domain): Use ISO C style.  Get rid of redundant
28914         semicolon.  Fix typo and formatting in comment.
28915         (_nl_unload_domain): Use ISO C style.
28917         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
28919 2014-07-02  Will Newton  <will.newton@linaro.org>
28921         * malloc/obstack.c: Merge from gnulib master.
28922         [HAVE_CONFIG_H]: Remove conditional code.
28923         [!_LIBC]: Include config.h.
28924         [!ELIDE_CODE]: Don't include inttypes.h, include
28925         stdint.h unconditionally.
28926         (print_and_abort): Mark as _Noreturn.
28927         (_obstack_allocated_p): Mark as __attribute_pure__.
28928         (obstack_free): Rename to __obstack_free.
28929         [!__attribute__]: Remove conditional code.
28930         * malloc/obstack.h: Merge from gnulib master.
28931         [__cplusplus]: Move conditional down.
28932         [!__attribute_pure__]: Define __attribute_pure__ here
28933         if it is not already defined.
28934         (_obstack_memory_used): Mark as __attribute_pure__.
28935         [!__obstack_free]: Define as obstack_free.
28936         [__GNUC__]: Remove check for ancient NeXT gcc.
28938 2014-07-02  Will Newton  <will.newton@linaro.org>
28939             Paul Eggert  <eggert@cs.ucla.edu>
28941         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
28943 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28945         * resolv/gethnamaddr.c: Add comment warning that the file is
28946         not maintained.
28948 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
28950         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
28951         entries.
28953         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
28954         entry for aio_cancel and aio_cancel64.
28955         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
28956         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
28957         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
28958         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
28959         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
28960         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
28961         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
28962         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
28963         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
28964         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
28965         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
28966         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
28967         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
28969 2014-07-01  Roland McGrath  <roland@hack.frob.com>
28971         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
28972         * nptl/pthread_mutex_lock.c: Likewise.
28973         * nptl/pthread_mutex_timedlock.c: Likewise.
28974         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
28976 2014-07-01  Richard henderson  <rth@redhat.com>
28978         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
28979         (__isnan, __isnanl): Remove.
28980         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
28982         * sysdeps/alpha/fpu/libm-test-ulps: Update.
28984 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
28986         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
28988 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
28990         * resolv/nss_dns/dns-host.c (getanswer_r)
28991         [MULTI_PTRS_ARE_ALIASES]: Remove code.
28993 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
28995         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28996         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
28997         undefine.
28998         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
28999         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
29001 2014-07-01  Roland McGrath <roland@hack.frob.com>
29003         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
29004         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
29006         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
29007         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
29009         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
29010         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
29011         ... here.
29012         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
29013         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
29015         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
29016         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
29017         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
29018         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
29020         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
29021         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
29022         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
29023         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
29024         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
29025         Moved ...
29026         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
29027         ... here.
29028         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
29029         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
29030         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
29031         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
29032         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
29033         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
29034         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
29035         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
29036         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
29037         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
29038         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
29039         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
29040         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
29041         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
29042         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
29043         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
29044         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
29045         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
29046         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
29047         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
29048         ... here.
29049         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
29050         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
29051         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
29052         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
29053         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
29054         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
29055         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
29056         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
29058 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
29060         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
29061         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
29062         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
29063         Add sysdep.
29065 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29067         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29069 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
29071         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
29072         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
29074         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
29076         * sysdeps/arm/libm-test-ulps: Regenerated.
29078 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
29079             Roland McGrath <roland@hack.frob.com>
29081         * test-skeleton.c (signal_handler): Kill the whole process group
29082         before killing the child individually.
29083         (main): Report any failure on `setpgid'.
29085 2014-06-30  Roland McGrath  <roland@hack.frob.com>
29087         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
29088         from _TLS_H to _ARM_NPTL_TLS_H.
29089         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
29090         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
29092 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
29094         [BZ #16539]
29095         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
29096         (__expm1l): Return argument unchanged when small but not
29097         subnormal.
29099         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
29100         include macro name.
29101         (_FP_UNPACK_RAW_1_P): Likewise.
29102         (_FP_PACK_RAW_1): Likewise.
29103         (_FP_PACK_RAW_1_P): Likewise.
29104         (_FP_MUL_MEAT_1_wide): Likewise.
29105         (_FP_MUL_MEAT_DW_1_hard): Likewise.
29106         (_FP_MUL_MEAT_1_hard): Likewise.
29107         (_FP_DIV_MEAT_1_imm): Likewise.
29108         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
29109         (_FP_DIV_MEAT_1_udiv): Likewise.
29110         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
29111         (_FP_UNPACK_RAW_2): Likewise.
29112         (_FP_UNPACK_RAW_2_P): Likewise.
29113         (_FP_PACK_RAW_2): Likewise.
29114         (_FP_PACK_RAW_2_P): Likewise.
29115         (_FP_MUL_MEAT_DW_2_wide): Likewise.
29116         (_FP_MUL_MEAT_2_wide): Likewise.
29117         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
29118         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
29119         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
29120         (_FP_MUL_MEAT_2_gmp): Likewise.
29121         (_FP_DIV_MEAT_2_udiv): Likewise.
29122         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
29123         (_FP_FRAC_SRL_4): Likewise.
29124         (_FP_FRAC_SRST_4): Likewise.
29125         (_FP_FRAC_SRS_4): Likewise.
29126         (_FP_UNPACK_RAW_4): Likewise.
29127         (_FP_UNPACK_RAW_4_P): Likewise.
29128         (_FP_PACK_RAW_4): Likewise.
29129         (_FP_PACK_RAW_4_P): Likewise.
29130         (_FP_MUL_MEAT_DW_4_wide): Likewise.
29131         (_FP_MUL_MEAT_4_wide): Likewise.
29132         (_FP_MUL_MEAT_4_gmp): Likewise.
29133         (umul_ppppmnnn): Likewise.
29134         (_FP_DIV_MEAT_4_udiv): Likewise.
29135         (__FP_FRAC_ADD_4): Likewise.
29136         (__FP_FRAC_SUB_3): Likewise.
29137         (__FP_FRAC_SUB_4): Likewise.
29138         (__FP_FRAC_DEC_3): Likewise.
29139         (__FP_FRAC_DEC_4): Likewise.
29140         (__FP_FRAC_ADDI_4): Likewise.
29141         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
29142         (_FP_FRAC_SRL_8): Likewise.
29143         (_FP_FRAC_SRS_8): Likewise.
29145         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
29146         include macro name.
29147         (FP_UNPACK_RAW_EP): Likewise.
29148         (FP_PACK_RAW_E): Likewise.
29149         (FP_PACK_RAW_EP): Likewise.
29150         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
29151         (_FP_ISSIGNAN): Likewise.
29152         (_FP_ADD_INTERNAL): Likewise.
29153         (_FP_FMA): Likewise.
29154         (_FP_CMP): Likewise.
29155         (_FP_SQRT): Likewise.
29156         (_FP_TO_INT): Likewise.
29157         (_FP_FROM_INT): Likewise.
29158         (FP_EXTEND): Likewise.
29159         (_FP_DIV_MEAT_N_loop): Likewise.
29161 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
29163         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
29164         throughout.
29166 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
29168         [BZ #17097]
29169         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
29170         result with correct sign in case of exponents that produce
29171         overflow except for X very close to 1.
29173 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
29175         mktime: merge #if/#ifdef usage from glibc
29176         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
29177         as that works with both Glibc's and Gnulib's style.
29178         See thread starting at Siddhesh Poyarekar's bug report at:
29179         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
29181 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29183         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
29184         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
29185         * sysdeps/tile/tilegx/memmove.c: Remove file.
29187 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
29189         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
29190         abi-name definition.
29191         * scripts/soversions.awk: Do not handle or generate ABI lines.
29192         * shlib-versions: Remove ABI entries.
29193         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
29194         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
29196 2014-06-27  Roland McGrath  <roland@hack.frob.com>
29198         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
29199         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
29200         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
29201         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
29202         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
29203         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
29204         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
29205         Moved ...
29206         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
29207         ... here.
29208         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
29209         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
29210         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
29211         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
29212         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
29213         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
29214         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
29215         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
29216         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
29217         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
29218         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
29219         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
29220         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
29221         Moved ...
29222         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
29223         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
29224         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
29225         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
29226         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
29227         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
29228         Moved ...
29229         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
29230         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
29231         Moved ...
29232         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
29233         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
29234         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
29235         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
29236         Moved ...
29237         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
29238         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
29239         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
29240         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
29241         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
29242         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
29243         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
29244         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
29245         Moved ...
29246         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
29247         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
29248         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
29249         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
29250         Moved ...
29251         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
29252         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
29253         Moved ...
29254         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
29255         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
29256         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
29257         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
29258         Moved ...
29259         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
29260         ... here.
29261         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
29262         Identical file removed.
29263         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
29264         Moved ...
29265         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
29266         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
29267         Identical file removed.
29268         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
29269         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
29270         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
29271         Moved ...
29272         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
29273         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
29274         Identical file removed.
29275         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
29276         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
29277         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
29278         Identical file removed.
29279         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
29280         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
29281         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
29282         Identical file removed.
29283         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
29284         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
29285         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
29286         Identical file removed.
29287         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
29288         Moved ...
29289         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
29290         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
29291         Identical file removed.
29292         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
29293         Moved ...
29294         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
29295         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
29296         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
29297         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
29298         Identical file removed.
29299         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
29300         Moved ...
29301         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
29302         ... here.
29303         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
29304         Identical file removed.
29305         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
29306         Moved ...
29307         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
29308         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
29309         Identical file removed.
29310         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
29311         Moved ...
29312         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
29313         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
29314         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
29315         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
29316         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
29317         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
29318         Moved ...
29319         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
29320         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
29321         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
29323         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
29324         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
29325         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
29326         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
29327         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
29329 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
29331         [BZ #17092]
29332         * nscd/nscd.c (monitor_child): Return exit status of child
29333         instead of return value from wait syscall.
29335 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
29337         * configure.ac (libc_commonpagesize): Remove variable.
29338         (libc_relro_required): Likewise.
29339         (libc_cv_z_relro): Remove configure test.
29340         * configure: Regenerated.
29341         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
29342         variable.
29343         (libc_relro_required): Likewise.
29344         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
29345         (libc_relro_required): Likewise.
29346         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
29347         (libc_relro_required): Likewise.
29348         * sysdeps/arm/preconfigure: Regenerated.
29349         * sysdeps/ia64/preconfigure: Remove file.
29350         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
29351         variable.
29352         (libc_relro_required): Likewise.
29354         [BZ #16561]
29355         [BZ #16562]
29356         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
29357         (__ieee754_yn): Set FE_TONEAREST mode internally and then
29358         recompute overflowing results in original rounding mode.
29359         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
29360         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
29361         recompute overflowing results in original rounding mode.
29362         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
29363         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
29364         recompute overflowing results in original rounding mode.
29365         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
29366         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
29367         recompute overflowing results in original rounding mode.
29368         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
29369         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
29370         recompute overflowing results in original rounding mode.
29371         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
29372         (libc_feholdsetround_ctx): New macro.
29373         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
29374         * sysdeps/i386/fpu/libm-test-ulps: Update.
29375         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
29377 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
29379         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
29380         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
29381         corresponding .cpsetup call.
29383 2014-06-26  Roland McGrath  <roland@hack.frob.com>
29385         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
29386         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
29387         * sysdeps/arm/Makefile [$(subdir) = csu]
29388         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
29389         (static-only-routines): Add aeabi_read_tp here.
29390         (shared-only-routines): Add libc-aeabi_read_tp here.
29391         (CFLAGS-libc-start.c): Add -fexceptions here.
29392         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
29393         (sysdep_routines, static-only-routines, shared-only-routines):
29394         Don't add to these here.
29395         (CFLAGS-libc-start.c): Likewise.
29397         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
29398         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
29399         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
29400         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
29401         * sysdeps/arm/Makefile [$(subdir) = rt]
29402         (librt-sysdep_routines, librt-shared-only-routines):
29403         Append rt-aeabi_unwind_cpp_pr1 here.
29404         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
29405         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
29406         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
29407         (libpthread-sysdep_routines, libpthread-shared-only-routines):
29408         Append nptl-aeabi_unwind_cpp_pr1 here.
29409         (tests): Filter out tst-cleanupx4 here.
29410         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
29411         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
29412         Don't do those here.
29414 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
29416         * scripts/list-sources.sh: Do not handle ports specially.
29418 2014-06-26  Roland McGrath  <roland@hack.frob.com>
29420         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
29421         * sysdeps/arm/feupdateenv.c: Likewise.
29423         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
29425 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
29427         * manual/texinfo.tex: Update to version 2014-05-05.10 with
29428         trailing whitespace removed.
29429         * scripts/config.guess: Update to version 2014-03-23.
29430         * scripts/config.sub: Update to version 2014-05-01
29431         * scripts/install-sh: Update to version 2013-12-25.23.
29432         * scripts/move-if-change: Update from gnulib.
29434 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
29436         * debug/memmove_chk.c: Remove pagecopy.h include.
29438 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
29440         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
29441         identical to gnulib mktime.
29443 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
29445         * configure.ac: Do not test for machine being rs6000.  Do not test
29446         for powerpc*-*soft.
29447         * configure: Regenerated.
29449         [BZ #11505]
29450         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
29451         test.
29452         * configure: Regenerated.
29453         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
29454         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
29455         Remove configure test.
29456         * sysdeps/arm/configure: Regenerated.
29457         * sysdeps/nptl/configure.ac: Do not check
29458         libc_cv_asm_cfi_directives.
29459         * sysdeps/nptl/configure: Regenerated.
29460         * sysdeps/x86_64/nptl/configure.ac: Remove file.
29461         * sysdeps/x86_64/nptl/configure: Remove generated file.
29462         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
29463         unconditional.
29464         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
29466 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
29468         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
29469         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
29470         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
29471         it is defined.
29473         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
29474         instead of whether it is defined.
29475         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
29476         * sysdeps/hppa/dl-machine.h: Likewise.
29477         * sysdeps/ia64/dl-machine.h: Likewise.
29478         * sysdeps/m68k/dl-machine.h: Likewise.
29479         * sysdeps/microblaze/dl-machine.h: Likewise.
29480         * sysdeps/mips/dl-machine.: Likewise.
29481         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
29482         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
29483         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
29484         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
29485         * sysdeps/sh/dl-machine.h: Likewise.
29486         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29487         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29488         * sysdeps/tile/dl-machine.h: Likewise.
29489         * sysdeps/x86_64/dl-machine.h: Likewise.
29491         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
29492         code.
29493         (verify_persistent_db): Likewise.
29495 2014-06-26  Roland McGrath  <roland@hack.frob.com>
29497         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
29498         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
29499         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
29500         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
29501         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
29502         Moved ...
29503         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
29504         ... here.
29505         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
29506         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
29507         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
29508         Identical file removed.
29509         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
29510         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
29511         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
29512         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
29513         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
29514         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
29515         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
29516         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
29517         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
29518         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
29519         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
29520         Moved ...
29521         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
29522         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
29523         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
29524         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
29525         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
29526         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
29527         Moved ...
29528         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
29529         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
29530         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
29531         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
29532         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
29533         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
29534         Identical file removed.
29535         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
29536         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
29537         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
29538         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
29539         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
29540         Moved ...
29541         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
29542         ... here.
29543         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
29544         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
29545         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
29546         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
29547         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
29548         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
29549         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
29550         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
29551         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
29552         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
29553         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
29554         Moved ...
29555         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
29556         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
29557         Moved ...
29558         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
29559         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
29560         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
29561         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
29562         Moved ...
29563         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
29564         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
29565         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
29567         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
29568         folded into ...
29569         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
29570         * sysdeps/unix/sysv/linux/s390/Versions
29571         (libpthread: GLIBC_2.19): New version set.
29572         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
29573         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
29574         (librt: GLIBC_2.3.3): New version set.
29575         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
29576         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
29577         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
29578         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
29579         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
29580         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
29581         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
29582         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
29583         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
29584         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
29585         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
29586         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
29587         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
29588         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
29589         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
29590         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
29591         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
29592         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
29593         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
29594         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
29595         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
29596         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
29597         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
29598         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
29599         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
29600         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
29601         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
29602         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
29603         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
29604         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
29605         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
29606         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
29607         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
29608         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
29609         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
29610         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
29611         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
29612         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
29613         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
29614         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
29615         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
29616         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
29617         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
29618         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
29619         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
29621         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
29622         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
29623         (__libc_vfork): Define the function under this name.
29624         [!NOT_IN_libc] (__vfork): Make this an alias.
29625         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
29626         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
29627         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
29628         (__libc_vfork): Define the function under this name.
29629         [!NOT_IN_libc] (__vfork): Make this an alias.
29630         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
29631         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
29632         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
29633         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
29634         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
29635         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
29637         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
29638         code that was previously under [RESET_PID].
29639         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
29640         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
29641         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
29643         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
29644         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
29645         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
29646         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
29647         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
29648         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
29649         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
29650         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
29651         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
29652         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
29653         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
29654         Moved ...
29655         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
29656         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
29657         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
29658         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
29659         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
29660         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
29661         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
29662         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
29663         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
29664         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
29665         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
29666         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
29667         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
29668         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
29669         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
29670         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
29671         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
29672         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
29673         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
29674         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
29675         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
29676         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
29677         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
29678         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
29679         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
29680         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
29681         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
29682         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
29683         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
29685 2014-06-25  Roland McGrath  <roland@hack.frob.com>
29687         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
29688         that was previously under [RESET_PID].
29689         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
29691 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
29693         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
29694         not undefine and redefine.
29695         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
29696         [O_CLOEXEC]: Make code unconditional.
29697         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
29698         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
29699         <kernel-features.h>.
29700         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
29701         conditional variable definition.
29702         (shm_open) [O_CLOEXEC]: Make code unconditional.
29703         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
29704         code.
29706         * configure.ac (USE_REGPARMS): Don't define here.
29707         * configure: Regenerated.
29708         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
29709         * sysdeps/i386/configure: Regenerated.
29711         * nptl/createthread.c: Don't include kernel-features.h.
29712         * nptl/pthread_cancel.c: Likewise.
29713         * nptl/pthread_condattr_setclock.c: Likewise.
29714         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
29715         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
29716         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
29717         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
29718         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
29719         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
29720         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
29721         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
29722         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
29723         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
29724         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
29725         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
29726         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
29727         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
29728         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
29729         * nscd/gai.c: Likewise.
29730         * nss/nss_db/db-open.c: Likewise.
29731         * sysdeps/generic/ldsodefs.h: Likewise.
29732         * sysdeps/sh/nptl/tls.h: Likewise.
29733         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
29734         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
29735         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
29736         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
29737         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
29738         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
29739         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
29740         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
29741         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
29742         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
29743         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
29744         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
29745         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
29746         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
29747         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
29748         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
29749         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
29750         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
29751         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
29752         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
29753         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
29754         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
29755         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
29756         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
29757         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
29758         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
29759         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
29760         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
29761         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
29762         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
29763         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
29764         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
29765         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
29766         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
29767         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
29768         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
29769         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
29770         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
29771         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
29772         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
29773         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
29774         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
29775         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
29776         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
29777         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
29778         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
29779         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
29780         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
29781         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
29782         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
29783         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
29784         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
29785         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
29786         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
29787         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
29788         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
29789         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
29790         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
29791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
29792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
29793         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
29794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
29795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
29796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
29797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
29798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
29799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
29800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
29801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
29802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
29803         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
29804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
29805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
29806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
29807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
29808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
29809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
29810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
29811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
29812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
29813         * sysdeps/unix/sysv/linux/pread.c: Likewise.
29814         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
29815         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
29816         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
29817         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
29818         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
29819         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
29820         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
29821         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
29822         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
29823         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
29824         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
29825         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
29826         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
29827         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
29828         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
29829         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
29830         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
29831         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
29832         * sysdeps/unix/sysv/linux/system.c: Likewise.
29833         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
29834         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
29835         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
29836         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
29837         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
29838         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
29839         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
29841         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
29842         * configure: Regenerated.
29843         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
29845         * configure.ac (base_machine): Do not set specially for particular
29846         machines here.
29847         * configure: Regenerated.
29848         * sysdeps/powerpc/preconfigure: Move machine and base_machine
29849         settings from configure.ac.
29850         * sysdeps/i386/preconfigure: New file.
29851         * sysdeps/s390/preconfigure: Likewise.
29852         * sysdeps/sh/preconfigure: Likewise.
29853         * sysdeps/sparc/preconfigure: Likewise.
29855 2014-06-25  Roland McGrath  <roland@hack.frob.com>
29857         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
29858         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
29859         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
29860         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
29861         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
29862         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
29863         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
29864         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
29865         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
29866         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
29867         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
29868         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
29869         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
29870         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
29871         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
29872         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
29873         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
29874         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
29875         * sysdeps/sparc/sparc64/Makefile: ... appended here.
29877         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
29878         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
29879         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
29880         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
29881         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
29882         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
29883         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
29884         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
29885         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
29886         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
29887         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
29888         * sysdeps/sparc/sparc32/sem_post.c: ... here.
29889         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
29890         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
29891         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
29892         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
29893         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
29894         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
29895         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
29896         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
29897         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
29898         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
29899         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
29900         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
29901         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
29902         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
29903         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
29904         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
29905         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
29906         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
29907         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
29908         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
29909         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
29910         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
29911         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
29912         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
29913         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
29914         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
29916         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
29917         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
29918         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
29919         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
29920         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
29921         Moved ...
29922         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
29923         ... here.
29924         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
29925         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
29926         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
29927         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
29928         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
29929         Moved ...
29930         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
29931         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
29932         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
29933         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
29934         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
29935         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
29936         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
29937         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
29938         Moved ...
29939         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
29940         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
29941         Moved ...
29942         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
29943         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
29944         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
29945         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
29946         Moved ...
29947         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
29948         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
29949         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
29950         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
29951         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
29952         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
29953         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
29954         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
29955         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
29956         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
29957         Moved ...
29958         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
29959         ... here.
29960         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
29961         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
29962         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
29963         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
29964         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
29965         Moved ...
29966         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
29967         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
29968         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
29969         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
29970         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
29971         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
29972         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
29973         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
29974         Moved ...
29975         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
29976         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
29977         Moved ...
29978         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
29979         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
29980         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
29981         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
29982         Moved ...
29983         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
29984         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
29985         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
29986         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
29987         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
29989 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
29991         * timezone/checktab.awk: Update from tzcode 2014e.
29992         * timezone/private.h: Likewise.
29993         * timezone/tzfile.h: Likewise.
29994         * timezone/zdump.c: Likewise.
29995         * timezone/zic.c: Likewise.
29997         * sysdeps/unix/sysv/linux/kernel-features.h
29998         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
29999         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
30000         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
30001         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
30002         Remove conditional code.
30004 2014-06-25  Will Newton  <will.newton@linaro.org>
30006         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
30007         (_dl_arm_cap_flags): Add HWCAP2 values.
30008         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
30009         (_DL_HWCAP_COUNT): Increase to 37.
30010         (_DL_HWCAP_LAST): New define.
30011         (_DL_HWCAP2_LAST): New define.
30012         (_dl_procinfo): Add support for printing
30013         AT_HWCAP2 entries.
30014         (_dl_string_hwcap): Use _dl_hwcap_string.
30016 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30018         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30020 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
30022         * README: Do not mention ports directory.
30024         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
30025         Remove macro.
30026         * sysdeps/unix/sysv/linux/futimes.c: Do not include
30027         <kernel-features.h>.
30028         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
30029         conditional variable definition.
30030         (__futimes): Update comment.
30031         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
30032         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
30034         [BZ #16560]
30035         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
30036         arguments close to 0.
30037         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
30038         Likewise.
30039         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
30040         Likewise.
30041         * math/auto-libm-test-in: Add more tests of exp10.
30042         * math/auto-libm-test-out: Regenerated.
30043         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30045         * sysdeps/unix/sysv/linux/kernel-features.h
30046         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
30047         * sysdeps/unix/sysv/linux/readv.c: Do not include
30048         <kernel-features.h>.
30049         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
30050         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
30051         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
30052         unconditional.
30053         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
30054         conditional code.
30055         * sysdeps/unix/sysv/linux/writev.c: Do not include
30056         <kernel-features.h>.
30057         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
30058         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
30059         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
30060         unconditional.
30061         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
30062         conditional code.
30064 2014-06-25  Will Newton  <will.newton@linaro.org>
30066         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
30067         comment changes throughout the file.  Remove checks
30068         for HAVE_*_H definitions that are not required.
30069         (__gen_tempname): Call abort if an unknown kind value is
30070         passed.
30072 2014-06-25  Andreas Schwab  <schwab@suse.de>
30074         [BZ #17086]
30075         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
30076         scalbln, scalblnf, scalblnl in libc.
30078 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
30080         [BZ #17086]
30081         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
30082         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
30083         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
30085 2014-06-24  Roland McGrath  <roland@hack.frob.com>
30087         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
30088         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
30089         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
30090         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
30091         Update #include.
30092         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
30093         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
30094         Update #include.
30095         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
30096         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
30097         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
30098         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
30099         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
30100         * sysdeps/x86/bits/pthreadtypes.h: ... here.
30101         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
30102         * sysdeps/x86/bits/semaphore.h: ... here.
30103         * sysdeps/x86/nptl/elide.h: Moved ...
30104         * sysdeps/x86/elide.h: ... here.
30105         * sysdeps/x86_64/nptl/Implies: File removed.
30106         * sysdeps/i386/nptl/Implies: File removed.
30108 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
30110         [BZ #16539]
30111         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
30112         return the argument for normal arguments with exponent below -64.
30113         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
30114         Likewise.
30115         * math/auto-libm-test-in: Add another test of expm1.
30116         * math/auto-libm-test-out: Regenerated.
30118         [BZ #16287]
30119         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
30120         calling __erfcl for arguments at least 16.
30121         * math/auto-libm-test-in: Add more tests of erf.
30122         * math/auto-libm-test-out: Regenerated.
30124         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
30125         individual architectures.
30126         * sysdeps/unix/sysv/linux/configure: Regenerated.
30127         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
30128         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
30129         * sysdeps/unix/sysv/linux/powerpc/configure.ac
30130         (ldd_rewrite_script): Define variable.
30131         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
30132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
30133         file.
30134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
30135         generated file.
30136         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
30137         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
30138         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
30139         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
30140         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
30141         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
30142         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
30143         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
30145 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30147         [BZ #17084]
30148         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
30149         Rename member __data.d to __data.__elision_data.
30151 2014-06-24  Wilco  <wdijkstr@arm.com>
30153         * NEWS: Add 16918 to fixed bug list.
30155 2014-06-24  Wilco  <wdijkstr@arm.com>
30157         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
30159 2014-06-24  Wilco  <wdijkstr@arm.com>
30161         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
30162         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
30163         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
30164         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
30165         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
30166         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
30167         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
30168         Use _FPU_MASK_RM.
30170 2014-06-24  Wilco  <wdijkstr@arm.com>
30172         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
30174 2014-06-24  Wilco  <wdijkstr@arm.com>
30176         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
30177         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
30178         * sysdeps/arm/fesetround.c (fesetround): Remove space.
30179         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
30181 2014-06-24  Wilco  <wdijkstr@arm.com>
30183         [BZ #16918]
30184         * sysdeps/arm/feupdateenv.c (feupdateenv):
30185         Rewrite to reduce FPSCR accesses and fix return value.
30187 2014-06-24  Wilco  <wdijkstr@arm.com>
30189         * sysdeps/arm/fclrexcpt.c (feclearexcept):
30190         Optimize to avoid unnecessary FPSCR writes.
30191         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
30192         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
30193         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
30194         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
30196 2014-06-24  Wilco  <wdijkstr@arm.com>
30198         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
30199         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
30200         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
30201         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
30202         Call libc_fetestexcept_vfp.
30203         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
30204         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
30205         __SOFTFP__ ifdef so that they can be built for softfp.
30207 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30209         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
30210         argument type signed char.
30212         * Makerules (check-abi): Dump diff of symlist if the test
30213         fails.
30215 2014-06-23  Roland McGrath  <roland@hack.frob.com>
30217         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
30218         using abort.
30220         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
30221         Remove unused variable ST.
30223 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
30225         [BZ #16354]
30226         [BZ #17061]
30227         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
30228         small arguments before calling __expm1.
30229         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
30230         small arguments before calling __expm1f.
30231         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
30232         small arguments before calling __expm1l.
30233         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
30234         Likewise.
30235         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
30236         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
30237         spurious underflow for some cosh tests.
30238         * math/auto-libm-test-out: Regenerated.
30239         * sysdeps/i386/fpu/libm-test-ulps: Update.
30241         [BZ #17050]
30242         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
30243         (__ieee754_y1): Set errno if return value overflows.
30244         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
30245         (__ieee754_y1f): Set errno if return value overflows.
30246         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
30247         (__ieee754_y1l): Set errno if return value overflows.
30248         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
30249         (__ieee754_y1l): Set errno if return value overflows.
30250         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
30251         * math/auto-libm-test-out: Regenerated.
30253         * math/gen-auto-libm-tests.c: Document use of
30254         ignore-zero-inf-sign.
30255         (input_flag_type): Add value flag_ignore_zero_inf_sign.
30256         (input_flags): Add ignore-zero-inf-sign.
30257         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
30258         * math/gen-libm-test.pl (generate_testfile): Handle
30259         ignore-zero-inf-sign.
30260         * math/auto-libm-test-in: Mark some cpow tests with
30261         ignore-zero-inf-sign and some with xfail-rounding.
30262         * math/auto-libm-test-out: Regenerated.
30263         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
30264         * sysdeps/i386/fpu/libm-test-ulps: Update.
30265         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30267         [BZ #16315]
30268         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
30269         overflowing or underflowing operations take place with sign of
30270         result.
30271         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
30272         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
30273         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
30274         (__ieee754_pow): Recompute overflowing and underflowing results in
30275         original rounding mode.
30276         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
30277         (__powl_helper): Allow negative argument X and scale negated value
30278         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
30279         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
30280         overflowing or underflowing operations take place with sign of
30281         result.
30282         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
30283         Include <math.h>.
30284         * math/auto-libm-test-in: Add more tests of pow.
30285         * math/auto-libm-test-out: Regenerated.
30286         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
30287         (pow_tonearest_test_data): Remove.
30288         (pow_test_tonearest): Likewise.
30289         (pow_towardzero_test_data): Likewise.
30290         (pow_test_towardzero): Likewise.
30291         (pow_downward_test_data): Likewise.
30292         (pow_test_downward): Likewise.
30293         (pow_upward_test_data): Likewise.
30294         (pow_test_upward): Likewise.
30295         (main): Don't call removed functions.
30296         * sysdeps/i386/fpu/libm-test-ulps: Update.
30297         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30299 2014-06-23  Roland McGrath  <roland@hack.frob.com>
30301         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
30302         Moved ...
30303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
30304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30305         Moved ...
30306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
30307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
30308         Moved ...
30309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
30310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
30311         Moved ...
30312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
30313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
30314         File removed.
30315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
30316         File removed.
30317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
30318         File removed.
30319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
30320         File removed.
30321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
30322         File removed.
30323         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
30324         File removed.
30325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
30326         File removed.
30327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
30328         File removed.
30329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
30330         File removed.
30331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
30332         File removed.
30333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
30334         File removed.
30335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
30336         File removed.
30337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
30338         Moved ...
30339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
30340         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
30341         Moved ...
30342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
30343         ... here.
30344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
30345         Moved ...
30346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
30347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
30348         Moved ...
30349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
30350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
30351         Moved ...
30352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
30353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
30354         Moved ...
30355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
30356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
30357         Moved ...
30358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
30359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
30360         Moved ...
30361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
30362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
30363         Moved ...
30364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
30365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
30366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
30367         ... here.
30368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
30369         Moved ...
30370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
30371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
30372         Moved ...
30373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
30374         ... here.
30375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
30376         Moved ...
30377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
30378         ... here.
30379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
30380         Moved ...
30381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
30382         ... here.
30383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
30384         Moved ...
30385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
30386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
30387         Moved ...
30388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
30389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
30390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
30391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
30392         Moved ...
30393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
30394         ... here.
30395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
30396         Moved ...
30397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
30398         ... here.
30399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
30400         Moved ...
30401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
30402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
30403         Moved ...
30404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
30405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
30406         Moved ...
30407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
30408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30409         Moved ...
30410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
30411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
30412         Moved ...
30413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
30414         ... here.
30415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
30416         Moved ...
30417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
30418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
30419         Moved ...
30420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
30421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
30422         Moved ...
30423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
30424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
30425         Moved ...
30426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
30427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
30428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
30429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
30430         Moved ...
30431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
30432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
30433         Moved ...
30434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
30435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
30436         Moved ...
30437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
30438         ... here.
30439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30440         Moved ...
30441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
30442         ... here.
30443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
30444         Moved ...
30445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
30446         ... here.
30447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
30448         Moved ...
30449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
30450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
30451         Moved ...
30452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
30453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
30454         Moved ...
30455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
30456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
30457         Moved ...
30458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
30459         ... here.
30460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
30461         Moved ...
30462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
30463         ... here.
30464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
30465         Moved ...
30466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
30467         ... here.
30468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
30469         Moved ...
30470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
30471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
30472         Moved ...
30473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
30475 2014-06-23  Will Newton  <will.newton@linaro.org>
30476             Wilco  <wdijkstr@arm.com>
30478         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
30479         implementation.  Include get-rounding-mode.h.
30480         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
30481         [!libc_feholdsetround_noex_ctx]: Define
30482         libc_feholdsetround_noex_ctx.
30483         [!libc_feholdsetround_noexf_ctx]: Define
30484         libc_feholdsetround_noexf_ctx.
30485         [!libc_feholdsetround_noexl_ctx]: Define
30486         libc_feholdsetround_noexl_ctx.
30487         (libc_feholdsetround_ctx): New function.
30488         (libc_feresetround_ctx): New function.
30489         (libc_feholdsetround_noex_ctx): New function.
30490         (libc_feresetround_noex_ctx): New function.
30492 2014-06-23  Roland McGrath  <roland@hack.frob.com>
30494         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
30495         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
30496         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
30497         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
30498         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
30499         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
30501         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
30502         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
30503         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
30504         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
30505         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
30506         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
30507         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
30508         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
30509         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
30510         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
30511         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
30512         Moved ...
30513         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
30514         ... here.
30515         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
30516         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
30517         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
30518         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
30519         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
30520         Moved ...
30521         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
30522         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
30523         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
30524         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
30525         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
30526         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
30527         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
30528         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
30529         Moved ...
30530         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
30531         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
30532         Moved ...
30533         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
30534         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
30535         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
30536         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
30537         Moved ...
30538         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
30539         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
30540         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
30541         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
30542         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
30543         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
30544         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
30545         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
30546         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
30547         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
30548         Moved ...
30549         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
30550         ... here.
30551         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
30552         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
30553         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
30554         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
30555         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
30556         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
30557         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
30558         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
30559         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
30560         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
30561         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
30562         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
30563         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
30564         Moved ...
30565         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
30566         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
30567         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
30568         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
30569         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
30570         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
30571         Moved ...
30572         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
30573         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
30574         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
30575         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
30576         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
30578         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
30579         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
30580         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
30581         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
30582         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
30583         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
30584         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
30585         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
30586         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
30587         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
30588         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
30589         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
30590         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
30591         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
30592         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
30593         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
30594         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
30595         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
30596         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
30597         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
30598         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
30599         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
30600         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
30601         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
30602         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
30603         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
30604         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
30605         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
30607 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
30609         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
30610         (FALLOC_FL_COLLAPSE_RANGE): New macro.
30611         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
30612         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
30613         (IPV6_PMTUDISC_INTERFACE): Likewise.
30614         (IPV6_PMTUDISC_OMIT): Likewise.
30616 2014-06-23  Andreas Schwab  <schwab@suse.de>
30618         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
30619         Remove unused errout label.
30621 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30623         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
30624         macro: hardware supports Vector Crypto instructions.
30626 2014-06-23  Will Newton  <will.newton@linaro.org>
30628         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
30629         rather than __builtin_expect.
30631         * elf/dl-lookup.c (undefined_msg): Remove variable.
30632         (_dl_lookup_symbol_x): Replace undefined_msg with string
30633         literal.
30635         * elf/dl-lookup.c (do_lookup_unique): New function.
30636         (do_lookup_x): Move STB_GNU_UNIQUE handling code
30637         to a separate function.
30639 2014-06-23  Andreas Schwab  <schwab@suse.de>
30641         [BZ #17079]
30642         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
30643         before reading the next line.
30645 2014-06-23  Will Newton  <will.newton@linaro.org>
30647         * test-skeleton.c (signal_handler): Use printf and %m
30648         rather than perror.  Use printf rather than fprintf to
30649         stderr.  Use puts rather than fputs to stderr.
30650         (main): Likewise.
30652 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
30654         * nscd/nscd.c (thread_info_t): Remove typedef.
30655         (thread_info): Remove variable.
30657 2014-06-21  Allan McRae  <allan@archlinux.org>
30659         * NEWS: Mention CVE-2014-4043.
30661 2014-06-20  Roland McGrath  <roland@hack.frob.com>
30663         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
30664         * nptl/smp.h: ... here.
30666         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
30668         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
30669         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
30670         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
30671         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
30673         * nptl/allocatestack.c: Include <stack-aliasing.h>.
30674         * nptl/stack-aliasing.h: New file.
30675         * sysdeps/i386/i686/stack-aliasing.h: New file.
30676         * sysdeps/i386/i686/nptl/Makefile: File removed.
30677         * sysdeps/x86_64/stack-aliasing.h: New file.
30678         * sysdeps/x86_64/nptl/Makefile
30679         (CFLAGS-pthread_create.c): Variable removed.
30681         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
30682         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
30683         old file.
30684         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
30685         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
30686         old file.
30688 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
30690         * sysdeps/unix/sysv/linux/arm/kernel-features.h
30691         (__ASSUME_SIGFRAME_V2): Remove macro.
30692         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
30693         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
30694         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
30695         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
30696         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
30697         Declare as function.  Remove conditional macro definitions.
30698         (__default_rt_sa_restorer): Likewise.
30699         (__default_sa_restorer_v1): Remove declaration.
30700         (__default_sa_restorer_v2): Likewise.
30701         (__default_rt_sa_restorer_v1): Likewise.
30702         (__default_rt_sa_restorer_v2): Likewise.
30703         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
30704         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
30705         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
30707 2014-06-20  Roland McGrath  <roland@hack.frob.com>
30709         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
30710         (libpthread-routines): Add sysdep.
30711         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
30712         * sysdeps/unix/sysv/linux/sparc/Versions
30713         (libpthread: GLIBC_2.3.3): New version set.
30714         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
30715         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
30716         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
30717         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
30718         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
30719         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
30720         Moved ...
30721         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
30722         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
30723         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
30724         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
30725         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
30726         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
30727         * sysdeps/sparc/nptl/sem_init.c: ... here.
30728         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
30729         * sysdeps/sparc/nptl/sem_post.c: ... here.
30730         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
30731         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
30732         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
30733         * sysdeps/sparc/nptl/sem_wait.c: ... here.
30734         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
30735         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
30736         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
30737         (libpthread-routines): Add cpu_relax.
30738         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
30739         File removed.
30740         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
30741         (librt: GLIBC_2.3.3): New version set.
30742         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
30743         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
30744         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
30745         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
30746         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
30747         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
30748         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
30749         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
30750         Moved ...
30751         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
30752         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
30753         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
30754         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
30755         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
30756         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
30757         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
30758         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
30759         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
30760         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
30761         Moved ...
30762         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
30763         Update #include.
30764         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
30765         Moved ...
30766         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
30767         Update #include.
30768         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
30769         Moved ...
30770         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
30771         Update #include.
30772         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
30773         Moved ...
30774         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
30775         Update #include.
30776         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
30777         Moved ...
30778         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
30779         Update #include.
30780         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
30781         Moved ...
30782         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
30783         Update #include.
30784         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
30785         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
30786         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
30787         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
30788         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
30789         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
30790         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
30791         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
30792         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
30793         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
30794         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
30795         Moved ...
30796         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
30797         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
30798         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
30799         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
30800         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
30802 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
30804         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
30805         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
30806         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
30807         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
30808         * nscd/nscd.c: Likewise.
30809         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
30810         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
30811         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
30812         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
30814         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
30815         <kernel-features.h>.
30816         (init_mq_netlink): Remove conditional have_sock_cloexec
30817         definitions.  Remove code conditional on have_sock_cloexec < 0.
30818         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
30819         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
30820         * sysdeps/unix/sysv/linux/opensock.c: Do not include
30821         <kernel-features.h>.
30822         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
30823         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
30825 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
30827         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30828         Add tests for memset_chk and memset.
30830         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
30831         with AVX2_Usable.
30833 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
30835         [BZ #16046]
30836         * elf/tst-dl-iter-static.c: New file.
30837         * elf/Makefile (tests-static): Add tst-dl-iter-static.
30839         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
30840         error.
30842 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
30844         * sysdeps/unix/sysv/linux/kernel-features.h
30845         (__ASSUME_F_GETOWN_EX): Remove macro.
30846         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
30847         <kernel-features.h>.
30848         (miss_F_GETOWN_EX): Remove variable or macro.
30849         (do_fcntl): Do not check miss_F_GETOWN_EX.
30850         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
30852         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
30853         Remove macro.
30854         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
30855         [!__ASSUME_AT_RANDOM]: Remove conditional code.
30856         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
30858         * sysdeps/unix/sysv/linux/kernel-features.h
30859         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
30860         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
30861         [ADJ_OFFSET_SS_READ]: Make code unconditional.
30862         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
30864 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
30866         [BZ #17075]
30867         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
30868         Fix calculation of the symbol's value.
30869         * sysdeps/arm/tst-armtlsdescloc.c: New file.
30870         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
30871         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
30872         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
30873         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
30874         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
30875         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
30876         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
30877         (modules-names): Add `tst-armtlsdescmod',
30878         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
30879         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
30880         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
30881         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
30882         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
30883         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
30884         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
30885         ($(objpfx)tst-armtlsdescloc): New dependency.
30886         ($(objpfx)tst-armtlsdescextnow): Likewise.
30887         ($(objpfx)tst-armtlsdescextlazy): Likewise.
30888         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
30889         TLS scheme support.
30890         * sysdeps/arm/configure: Regenerate.
30892 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
30894         * include/fcntl.h (__atfct_seterrno): Remove prototype.
30895         (__atfct_seterrno_2): Likewise.
30896         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
30897         <kernel-features.h>.
30898         (__ASSUME_ATFCTS): Do not undefine and redefine.
30899         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
30900         (__have_atfcts): Remove conditional definition.
30901         (__fxstatat([__NR_fstatat64]: Make code unconditional.
30902         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
30903         unreachable if [__ASSUME_ATFCTS].
30904         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
30905         not undefine and redefine.
30906         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
30907         <kernel-features.h>.
30908         (faccessat) [__NR_faccessat]: Make code unconditional.
30909         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
30910         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
30911         <kernel-features.h>.
30912         (fchmodat) [__NR_fchmodat]: Make code unconditional.
30913         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
30914         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
30915         <kernel-features.h>.
30916         (fchownat) [__NR_fchownat]: Make code unconditional.
30917         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
30918         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
30919         <kernel-features.h>.
30920         (futimesat) [__NR_futimesat]: Make code unconditional.
30921         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
30922         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
30923         <kernel-features.h>.
30924         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
30925         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
30926         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
30927         <kernel-features.h>.
30928         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
30929         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
30930         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
30931         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
30932         <kernel-features.h>.
30933         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
30934         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
30935         * sysdeps/unix/sysv/linux/linkat.c: Do not include
30936         <kernel-features.h>.
30937         (linkat) [__NR_linkat]: Make code unconditional.
30938         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
30939         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
30940         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
30941         <kernel-features.h>.
30942         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
30943         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
30944         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
30945         <kernel-features.h>.
30946         (mkdirat) [__NR_mkdirat]: Make code unconditional.
30947         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
30948         * sysdeps/unix/sysv/linux/openat.c: Do not include
30949         <kernel-features.h>.
30950         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
30951         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
30952         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
30953         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
30954         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
30955         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
30956         <kernel-features.h>.
30957         (readlinkat) [__NR_readlinkat]: Make code unconditional.
30958         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
30959         result of INLINE_SYSCALL directly, not via int variable.
30960         * sysdeps/unix/sysv/linux/renameat.c: Do not include
30961         <kernel-features.h>.
30962         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
30963         (renameat) [__NR_renameat]: Make code unconditional.
30964         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
30965         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
30966         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
30967         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
30968         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
30969         (__ASSUME_ATFCTS): Do not undefine and redefine.
30970         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
30971         <kernel-features.h>.
30972         (symlinkat) [__NR_symlinkat]: Make code unconditional.
30973         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
30974         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
30975         <kernel-features.h>.
30976         (unlinkat) [__NR_unlinkat]: Make code unconditional.
30977         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
30978         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
30979         (__ASSUME_ATFCTS): Do not undefine and redefine.
30980         * sysdeps/unix/sysv/linux/wordsize-64/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/xmknodat.c: Do not include
30985         <kernel-features.h>.
30986         (__xmknodat) [__NR_mknodat]: Make code unconditional.
30987         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
30989 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
30991         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
30993 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
30995         [BZ #17069]
30996         * posix/regcomp.c (parse_reg_exp): Deallocate partially
30997         constructed tree before returning error.
30998         * posix/bug-regexp36.c: Expand test case.
31000 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
31002         [BZ #6803]
31003         * math/libm-test.inc (scalbln_test_date):
31004         Add errno expectations.
31005         * math/w_scalblnf.c: New File.
31006         Add wrapper which checks for setting errno to ERANGE.
31007         Add weak_alias for corresponding scalbln function.
31008         * math/w_scalbln.c: Likewise.
31009         * math/w_scalblnl.c: Likewise.
31010         * math/Makefile (libm-calls): Add w_scalbln.
31011         * sysdeps/ieee754/flt-32/s_scalblnf.c:
31012         Remove weak_alias for corresponding scalbln function.
31013         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
31014         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
31015         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
31016         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
31017         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
31018         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
31019         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
31020         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
31021         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
31022         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
31023         Remove long_double_symbol for scalblnl function in libm, libc.
31024         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
31025         Add wrapper which checks for setting errno to ERANGE.
31026         Add long_double_symbol for scalblnl function in libm, libc.
31027         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
31028         Remove long_double_symbol for scalblnl in libm.
31029         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
31030         Add wrapper which checks for setting errno to ERANGE.
31031         Add long_double_symbol for scalblnl function in libm.
31032         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
31033         Do not use wrapper because of own implementation.
31035 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
31037         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
31038         3 bytes for __pad1 for x32.
31039         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
31041 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
31042             H.J. Lu  <hongjiu.lu@intel.com>
31044         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
31045         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
31046         * sysdeps/x86_64/multiarch/memset.S: Likewise.
31047         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
31048         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
31050 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
31052         [BZ #17069]
31053         * posix/regcomp.c (parse_expression): Deallocate partially
31054         constructed tree before returning error.
31055         * posix/Makefile.c (tests): Add bug-regex36.
31056         (generated): Add bug-regex36.mtrace.
31057         (tests-special): Add $(objpfx)bug-regex36-mem.out
31058         (bug-regex36-ENV): New variable.
31059         ($(objpfx)bug-regex36-mem.out): New rule.
31060         * posix/bug-regex36.c: New file.
31062 2014-06-19  Will Newton  <will.newton@linaro.org>
31064         * malloc/malloc.c (systrim): If extra is zero then return
31065         early.
31067 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
31069         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
31071 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
31073         * sysdeps/aarch64/strchr.S: New file.
31075 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
31077         [BZ #17022]
31078         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
31079         from arguments -2 or below.
31080         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
31081         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
31083 2014-06-18  Andreas Schwab  <schwab@suse.de>
31085         [BZ #17062]
31086         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
31087         of a bracket expr not to run off the end of the string.
31088         * posix/Makefile (tests): Add tst-fnmatch3.
31089         * posix/tst-fnmatch3.c: New file.
31091 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
31093         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
31094         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
31095         [$(cross-compiling) = no]: Likewise.
31096         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
31097         [$(cross-compiling) = no]: Likewise.
31099 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31101         [BZ #17031]
31102         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
31103         double, adjusted for any remainder from the high double.
31104         * math/libm-test.inc (nearbyint): Add tests.
31105         (rint): Likewise.
31107 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31109         * nptl/sysdeps/powerpc/Makefile: Moved ...
31110         * sysdeps/powerpc/nptl/Makefile: ... here.
31111         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
31112         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
31113         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
31114         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
31115         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
31116         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
31117         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
31118         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
31119         * nptl/sysdeps/powerpc/tls.h: Moved ...
31120         * sysdeps/powerpc/nptl/tls.h: ... here.
31122 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
31124         [BZ #16681]
31125         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
31126         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
31127         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
31128         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
31129         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
31130         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
31131         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
31132         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
31133         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
31135 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
31137         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
31139 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
31141         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
31142         defined operator.
31144         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
31145         $TIMEOUTFACTOR.
31147 2014-06-16  Florian Weimer  <fweimer@redhat.com>
31149         [BZ #17058]
31150         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
31151         non-executed part of the test.
31153 2014-06-16  Andreas Schwab  <schwab@suse.de>
31155         * string/bits/string2.h (strdup, strndup): Update feature guard.
31157 2014-06-14  David S. Miller  <davem@davemloft.net>
31159         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31161 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
31163         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
31164         that was previously under [RESET_PID].
31165         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
31167         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
31168         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
31169         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
31170         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
31171         (__libc_vfork): New strong alias.
31172         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
31174 2014-06-14 Andi Kleen  <ak@linux.intel.com>
31176         * sysdeps/generic/elide.h: New file.
31178 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
31180         * Makefile (installed-headers): Adjust path of pthread.h header.
31182 2014-06-13  Roland McGrath  <roland@hack.frob.com>
31184         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
31185         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
31186         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
31187         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
31189         * nptl/sysdeps/s390/Makefile: Moved ...
31190         * sysdeps/s390/nptl/Makefile: ... here.
31191         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
31192         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
31193         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
31194         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
31195         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
31196         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
31197         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
31198         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
31199         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
31200         * sysdeps/s390/nptl/pthreaddef.h: ... here.
31201         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
31202         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
31203         * nptl/sysdeps/s390/tls.h: Moved ...
31204         * sysdeps/s390/nptl/tls.h: ... here.
31206         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
31207         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
31209 2014-06-13  David S. Miller  <davem@davemloft.net>
31211         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
31212         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
31213         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
31214         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
31215         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
31216         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
31217         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
31218         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
31219         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
31220         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
31221         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
31222         Remove RESET_PID cpp guards.
31223         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
31224         Remove RESET_PID cpp guards.
31225         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
31227 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
31229         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
31230         __sp to uintptr_t.
31232 2014-06-13  Andi Kleen  <ak@linux.intel.com>
31234         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
31235         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
31236         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
31237         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
31238         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
31239         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
31240         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
31241         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
31242         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
31243         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
31244         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
31245         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
31246         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
31247         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
31248         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
31249         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
31250         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
31251         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
31252         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
31253         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
31255         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
31256         (pthread_rwlock_rdlock): Add elision.
31257         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
31258         (pthread_rwlock_wrlock): Add elision.
31259         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
31260         (pthread_rwlock_trywrlock): Add elision.
31261         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
31262         (pthread_rwlock_tryrdlock): Add elision.
31263         * nptl/pthread_rwlock_unlock.c: Include elide.h.
31264         (pthread_rwlock_tryrdlock): Add elision unlock.
31265         * nptl/sysdeps/pthread/pthread.h:
31266         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
31267         (PTHREAD_RWLOCK_INITIALIZER,
31268         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
31269         Handle new elision field.
31270         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
31271         * sysdeps/arm/nptl/bits/pthreadtypes.h
31272         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31273         * sysdeps/sh/nptl/bits/pthreadtypes.h
31274         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31275         * sysdeps/tile/nptl/bits/pthreadtypes.h
31276         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31277         * sysdeps/a/nptl/bits/pthreadtypes.h
31278         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31279         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
31280         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31281         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
31282         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31283         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
31284         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31285         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
31286         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31287         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
31288         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31289         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
31290         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31291         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
31292         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31293         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
31294         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31295         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
31296         (elision_init): Set try_xbegin to zero when no RTM.
31297         * sysdeps/x86/nptl/bits/pthreadtypes.h
31298         (pthread_rwlock_t): Change __pad1 to __rwelision.
31299         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31301 2014-06-13  Andi Kleen  <ak@linux.intel.com>
31303         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
31304         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
31305         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
31306         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
31308 2014-06-13  Meador Inge  <meadori@codesourcery.com>
31310         [BZ #16996]
31311         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
31312         that the cached result has been set before returning it.
31314 2014-06-12  Roland McGrath  <roland@hack.frob.com>
31316         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
31317         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
31318         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
31319         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
31320         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
31321         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
31323         * nptl/sysdeps/sparc/Makefile: Moved ...
31324         * sysdeps/sparc/nptl/Makefile: ... here.
31325         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
31326         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
31327         * nptl/sysdeps/sparc/tls.h: Moved ...
31328         * sysdeps/sparc/nptl/tls.h: ... here.
31329         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
31330         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
31331         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
31332         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
31333         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
31334         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
31335         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
31336         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
31337         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
31338         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
31339         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
31340         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
31341         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
31342         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
31343         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
31344         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
31345         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
31346         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
31347         Update #include.
31348         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
31349         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
31350         Update #include.
31351         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
31352         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
31353         Update #include.
31354         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
31355         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
31356         Update #include.
31358         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
31360         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
31361         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
31363         * sysdeps/pthread/posix-timer.h: Include <list.h>.
31364         (struct list_links): Type removed.
31365         (struct thread_node, struct timer_node): Replace struct list_links
31366         with struct list_head.
31367         (list_unlink_ip): Likewise.
31368         * sysdeps/pthread/timer_routines.c
31369         (timer_free_list, thread_free_list, thread_active_list): Likewise.
31370         (list_append, list_insbefore): Likewise.
31371         (list_init): Function removed.
31372         (thread_init, init_module): Use INIT_LIST_HEAD instead.
31373         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
31374         * sysdeps/pthread/Makefile: ... here, new file.
31376         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
31377         * sysdeps/nptl/Implies: ... here.
31378         * sysdeps/unix/sysv/linux/Implies: Add nptl.
31379         * nptl/sysdeps/pthread/list.h: Moved ...
31380         * include/list.h: ... here.
31381         * nptl/sysdeps/pthread/createthread.c: Moved ...
31382         * nptl/createthread.c: ... here.
31383         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
31384         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
31385         * nptl/pt-longjmp.c: ... here.
31386         * nptl/sysdeps/pthread/Makefile: Moved ...
31387         * sysdeps/nptl/Makefile: ... here.
31388         * nptl/sysdeps/pthread/Subdirs: Moved ...
31389         * sysdeps/nptl/Subdirs: ... here.
31390         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
31391         * sysdeps/nptl/aio_misc.h: ... here.
31392         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
31393         * sysdeps/nptl/bits/libc-lock.h: ... here.
31394         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
31395         * sysdeps/nptl/bits/libc-lockP.h: ... here.
31396         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
31397         * sysdeps/nptl/bits/stdio-lock.h: ... here.
31398         * nptl/sysdeps/pthread/configure: Moved ...
31399         * sysdeps/nptl/configure: ... here.
31400         * nptl/sysdeps/pthread/configure.ac: Moved ...
31401         * sysdeps/nptl/configure.ac: ... here.
31402         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
31403         * sysdeps/nptl/gai_misc.h: ... here.
31404         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
31405         * sysdeps/nptl/librt-cancellation.c: ... here.
31406         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
31407         * sysdeps/nptl/malloc-machine.h: ... here.
31408         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
31409         * sysdeps/nptl/pthread-functions.h: ... here.
31410         * nptl/sysdeps/pthread/pthread.h: Moved ...
31411         * sysdeps/nptl/pthread.h: ... here.
31412         * nptl/sysdeps/pthread/setxid.h: Moved ...
31413         * sysdeps/nptl/setxid.h: ... here.
31414         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
31415         * sysdeps/nptl/sigfillset.c: ... here.
31416         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
31417         * sysdeps/nptl/tcb-offsets.h: ... here.
31418         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
31419         * sysdeps/nptl/tst-mqueue8x.c: ... here.
31420         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
31421         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
31422         * nptl/sysdeps/pthread/allocalim.h: Moved ...
31423         * sysdeps/pthread/allocalim.h: ... here.
31424         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
31425         * sysdeps/pthread/bits/sigthread.h: ... here.
31426         * nptl/sysdeps/pthread/flockfile.c: Moved ...
31427         * sysdeps/pthread/flockfile.c: ... here.
31428         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
31429         * sysdeps/pthread/ftrylockfile.c: ... here.
31430         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
31431         * sysdeps/pthread/funlockfile.c: ... here.
31432         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
31433         * sysdeps/pthread/posix-timer.h: ... here.
31434         * nptl/sysdeps/pthread/timer_create.c: Moved ...
31435         * sysdeps/pthread/timer_create.c: ... here.
31436         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
31437         * sysdeps/pthread/timer_delete.c: ... here.
31438         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
31439         * sysdeps/pthread/timer_getoverr.c: ... here.
31440         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
31441         * sysdeps/pthread/timer_gettime.c: ... here.
31442         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
31443         * sysdeps/pthread/timer_routines.c: ... here.
31444         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
31445         * sysdeps/pthread/timer_settime.c: ... here.
31446         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
31447         * sysdeps/pthread/tst-timer.c: ... here.
31448         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
31449         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
31451         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
31452         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
31454         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
31455         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
31456         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
31457         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
31458         Update #include target.
31459         * nptl/sysdeps/i386/i686/Makefile: Moved ...
31460         * sysdeps/i386/i686/nptl/Makefile: ... here.
31461         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
31462         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
31463         Update #include target.
31464         * nptl/sysdeps/i386/i686/tls.h: Moved ...
31465         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
31466         * nptl/sysdeps/i386/Makefile: Moved ...
31467         * sysdeps/i386/nptl/Makefile: ... here.
31468         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
31469         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
31470         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
31471         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
31472         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
31473         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
31474         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
31475         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
31476         * sysdeps/i386/nptl/pthreaddef.h: ... here.
31477         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
31478         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
31479         * nptl/sysdeps/i386/tls.h: Moved ...
31480         * sysdeps/i386/nptl/tls.h: ... here.
31482         * sysdeps/sh/Makefile [$(subdir) = csu]
31483         (gen-as-const-headers): Add tcb-offsets.sym.
31484         * nptl/sysdeps/sh/Makefile: File removed.
31485         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
31486         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
31487         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
31488         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
31489         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
31490         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
31491         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
31492         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
31493         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
31494         * sysdeps/sh/nptl/pthreaddef.h: ... here.
31495         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
31496         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
31497         * nptl/sysdeps/sh/tls.h: Moved ...
31498         * sysdeps/sh/nptl/tls.h: ... here.
31499         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
31500         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
31501         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
31502         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
31503         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
31504         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
31505         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
31506         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
31507         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
31508         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
31509         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
31510         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
31511         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
31512         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
31513         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
31514         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
31515         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
31516         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
31517         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
31518         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
31519         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
31520         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
31521         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
31522         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
31523         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
31524         Moved ...
31525         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
31526         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
31527         Moved ...
31528         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
31529         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
31530         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
31531         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
31532         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
31533         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
31534         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
31535         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
31536         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
31537         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
31538         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
31539         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
31540         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
31541         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
31542         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
31543         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
31544         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
31545         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
31546         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
31548 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
31550         * posix/spawn_faction_addopen.c: Include string.h.
31552 2014-06-11  Roland McGrath  <roland@hack.frob.com>
31554         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
31555         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
31556         * nptl/sysdeps/x86_64/Makefile: Moved ...
31557         * sysdeps/x86_64/nptl/Makefile: ... here.
31558         * nptl/sysdeps/x86_64/configure: Moved ...
31559         * sysdeps/x86_64/nptl/configure: ... here.
31560         * nptl/sysdeps/x86_64/configure.ac: Moved ...
31561         * sysdeps/x86_64/nptl/configure.ac: ... here.
31562         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
31563         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
31564         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
31565         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
31566         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
31567         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
31568         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
31569         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
31570         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
31571         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
31572         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
31573         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
31574         * nptl/sysdeps/x86_64/tls.h: Moved ...
31575         * sysdeps/x86_64/nptl/tls.h: ... here.
31576         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
31577         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
31578         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
31579         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
31581         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
31583 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31585         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31587 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
31589         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
31590         type.
31591         [POSIX] (off_t): Likewise.
31592         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
31593         [POSIX] (S_ISBLK): Require macro.
31594         [POSIX] (S_ISCHR): Likewise.
31595         [POSIX] (S_ISDIR): Likewise.
31596         [POSIX] (S_ISFIFO): Likewise.
31597         [POSIX] (S_ISREG): Likewise.
31598         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
31599         optional-macro.
31600         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
31601         type.
31602         [POSIX] (time_t): Likewise.
31603         [POSIX] (timer_t): Likewise.
31605 2014-06-11  Florian Weimer  <fweimer@redhat.com>
31607         [BZ #17048]
31608         * posix/spawn_int.h (struct __spawn_action): Make the path string
31609         non-const to support deallocation.
31610         * posix/spawn_faction_addopen.c
31611         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
31612         * posix/spawn_faction_destroy.c
31613         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
31614         path in all spawn_do_open actions.
31615         * posix/tst-spawn.c (do_test): Exercise the copy operation in
31616         posix_spawn_file_actions_addopen.
31618 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
31620         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
31621         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
31622         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
31623         conditional code always true.
31624         (__libc_vfork): New alias.
31626 2014-06-11  Roland McGrath  <roland@hack.frob.com>
31628         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31629         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
31631         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
31633         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31634         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
31636         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
31637         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
31639         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31640         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
31642 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
31644         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
31645         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
31646         multiarch strcmp for PPC64.
31647         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
31648         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
31649         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
31650         multiarch optimizations.
31651         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
31652         (__libc_ifunc_impl_list): Likewise.
31654 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
31656         * benchtests/scripts/validate_benchout.py: New script.
31657         * benchtests/Makefile (bench-func): Call it.
31658         * benchtests/scripts/benchout.schema.json: New file.
31660 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
31662         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
31663         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
31664         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
31665         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
31666         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
31667         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
31668         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
31669         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
31670         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
31671         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
31672         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
31673         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
31674         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
31675         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
31676         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
31677         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
31678         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
31679         Moved ...
31680         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
31681         ... here.
31682         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
31683         Moved ...
31684         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
31685         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
31686         Moved ...
31687         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
31688         ... here.
31689         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
31690         Moved ...
31691         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
31692         ... here.
31693         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
31694         Moved ...
31695         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
31696         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
31697         Moved ...
31698         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
31699         ... here.
31700         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
31701         Moved ...
31702         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
31703         ... here.
31704         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
31705         Moved ...
31706         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
31707         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
31708         Moved ...
31709         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
31710         ... here.
31711         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
31712         Moved ...
31713         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
31714         ... here.
31715         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
31716         Moved ...
31717         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
31718         ... here.
31719         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
31720         Moved ...
31721         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
31722         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
31723         Moved ...
31724         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
31725         ... here.
31726         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
31727         Moved ...
31728         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
31729         ... here.
31730         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
31731         Moved ...
31732         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
31733         ... here.
31734         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
31735         Moved ...
31736         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
31737         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
31738         Moved ...
31739         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
31740         ... here.
31741         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
31742         Moved ...
31743         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
31744         ... here.
31745         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
31746         Moved ...
31747         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
31748         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
31749         Moved ...
31750         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
31751         ... here.
31752         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
31753         Moved ...
31754         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
31755         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
31756         Moved ...
31757         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
31758         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
31759         Moved ...
31760         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
31761         ... here.
31762         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
31763         Moved ...
31764         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
31765         ... here.
31766         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
31767         Moved ...
31768         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
31769         ... here.
31770         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
31771         Moved ...
31772         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
31773         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
31774         Moved ...
31775         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
31776         ... here.
31777         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
31778         Moved ...
31779         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
31780         ... here.
31781         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
31782         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
31783         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
31784         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
31785         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
31786         Moved ...
31787         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
31788         ... here.
31789         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
31790         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
31791         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
31792         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
31793         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
31794         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
31795         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
31796         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
31797         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
31798         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
31799         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
31800         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
31801         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
31802         Moved ...
31803         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
31804         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
31805         Moved ...
31806         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
31807         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
31808         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
31809         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
31810         Moved ...
31811         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
31812         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
31813         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
31814         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
31815         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
31816         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
31817         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
31819 2014-06-10  Wilco  <wdijkstr@arm.com>
31821         * math/test-fenv-return.c: New file.
31822         * math/Makefile: Add new test test-fenv-return.
31824 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
31826         [BZ #17042]
31827         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
31828         when x - 1 is zero.
31829         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
31830         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
31831         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
31832         0.0L for an argument of 1.0L.
31833         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
31834         Likewise.
31835         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
31836         value when x - 1 is zero.
31837         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
31838         * sysdeps/i386/fpu/libm-test-ulps: Update.
31839         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31841 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
31843         [BZ #15119]
31844         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
31846 2014-06-09  Roland McGrath  <roland@hack.frob.com>
31848         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
31849         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
31851 2014-06-09  Roland McGrath  <roland@hack.frob.com>
31853         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31854         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
31856         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31857         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
31859         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31860         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
31862         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31863         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
31865         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
31866         if not already defined.
31867         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
31868         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
31869         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
31870         (TLS_INIT_TP): Use it.
31871         (TLS_DEFINE_INIT_TP): New macro.
31872         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
31874 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
31876         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
31877         constant.
31878         [POSIX] (IXANY): Likewise.
31879         [POSIX] (OLCUC): Likewise.
31880         [POSIX || POSIX2008] (CBAUD): Do not allow.
31881         [POSIX || POSIX2008] (DEFECHO): Likewise.
31882         [POSIX || POSIX2008] (ECHOCTL): Likewise.
31883         [POSIX || POSIX2008] (ECHOKE): Likewise.
31884         [POSIX || POSIX2008] (ECHOPRT): Likewise.
31885         [POSIX || POSIX2008] (EXTA): Likewise.
31886         [POSIX || POSIX2008] (EXTB): Likewise.
31887         [POSIX || POSIX2008] (FLUSHO): Likewise.
31888         [POSIX || POSIX2008] (LOBLK): Likewise.
31889         [POSIX || POSIX2008] (PENDIN): Likewise.
31890         [POSIX || POSIX2008] (SWTCH): Likewise.
31891         [POSIX || POSIX2008] (VDISCARD): Likewise.
31892         [POSIX || POSIX2008] (VDSUSP): Likewise.
31893         [POSIX || POSIX2008] (VLNEXT): Likewise.
31894         [POSIX || POSIX2008] (VREPRINT): Likewise.
31895         [POSIX || POSIX2008] (VSTATUS): Likewise.
31896         [POSIX || POSIX2008] (VWERASE): Likewise.
31897         (B*): Change to B[0123456789]*.
31898         * conform/data/time.h-data [POSIX || UNIX98]
31899         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
31900         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
31901         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
31902         [POSIX] (tm_*): Do not allow.
31904 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
31906         * Makefile (install): Don't set LANGUAGE.
31907         * Makefile.in (install): Likewise.
31908         * assert/Makefile (test-assert-ENV): Remove variable.
31909         (test-assert-perr-ENV): Likewise.
31910         * elf/Makefile (neededtest4-ENV): Likewise.
31911         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
31912         [$(cross-compiling) = no]: Don't set LANGUAGE.
31913         * io/ftwtest-sh (LANG): Remove variable.
31914         * libio/Makefile (tst-widetext-ENV): Likewise.
31915         * manual/install.texi (Running make install): Don't refer to
31916         environment settings for make install.
31917         * INSTALL: Regenerated.
31918         * nptl/tst-tls6.sh: Don't set LANG.
31919         * posix/globtest.sh (LANG): Remove variable.
31920         * string/Makefile (tester-ENV): Likewise.
31921         (inl-tester-ENV): Likewise.
31922         (noinl-tester-ENV): Likewise.
31923         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
31924         [$(cross-compiling) = no]: Don't set LANGUAGE.
31925         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
31926         without explicit environment settings.
31928 2014-06-06  Roland McGrath  <roland@hack.frob.com>
31930         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
31931         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
31932         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
31933         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
31935 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
31937         * crypt/crypt-private.h [DOS]: Add some includes taken from the
31938         other files in the crypt directory.
31939         * crypt/crypt.c: Remove duplicate includes.
31940         * crypt/crypt-entry.c: Likewise.
31941         * crypt/crypt_util.c: Likewise.
31943 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
31945         * Makeconfig (run-program-env): New variable.
31946         (run-program-prefix-before-env): Likewise.
31947         (run-program-prefix-after-env): Likewise.
31948         (run-program-prefix): Define in terms of new variables.
31949         (built-program-cmd-before-env): New variable.
31950         (built-program-cmd-after-env): Likewise.
31951         (built-program-cmd): Define in terms of new variables.
31952         (test-program-prefix-before-env): New variable.
31953         (test-program-prefix-after-env): Likewise.
31954         (test-program-prefix): Define in terms of new variables.
31955         (test-program-cmd-before-env): New variable.
31956         (test-program-cmd-after-env): Likewise.
31957         (test-program-cmd): Define in terms of new variables.
31958         * Rules (make-test-out): Use $(run-program-env).
31959         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
31960         (help): Do not mention environment variables.  Mention
31961         --timeoutfactor option.
31962         (timeoutfactor): New variable.
31963         (blacklist_exports): Remove function.
31964         (exports): Remove variable.
31965         (command): Do not include ${exports}.
31966         * manual/install.texi (Configuring and compiling): Do not mention
31967         test wrappers preserving environment variables.  Mention that last
31968         assignment to a variable must take precedence.
31969         * INSTALL: Regenerated.
31970         * benchtests/Makefile (run-bench): Use $(run-program-env).
31971         * catgets/Makefile ($(objpfx)test1.cat): Use
31972         $(built-program-cmd-before-env), $(run-program-env) and
31973         $(built-program-cmd-after-env).
31974         ($(objpfx)test2.cat): Do not specify environment variables
31975         explicitly.
31976         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
31977         $(run-program-env) and $(built-program-cmd-after-env).
31978         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
31979         $(run-program-env) and $(test-program-cmd-after-env).
31980         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
31981         explicitly.
31982         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
31983         run_program_env and test_program_cmd_after_env arguments.
31984         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
31985         * elf/tst-pathopt.sh: Use run_program_env argument.
31986         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
31987         $(test-wrapper-env) and $(run-program-env).
31988         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
31989         run_program_env arguments.
31990         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
31991         * intl/Makefile ($(objpfx)tst-gettext.out): Use
31992         $(test-program-prefix-before-env), $(run-program-env) and
31993         $(test-program-prefix-after-env).
31994         ($(objpfx)tst-gettext2.out): Likewise.
31995         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
31996         run_program_env and test_program_prefix_after_env arguments.
31997         * intl/tst-gettext2.sh: Likewise.
31998         * intl/tst-gettext4.sh: Do not set environment variables
31999         explicitly.
32000         * intl/tst-gettext6.sh: Likewise.
32001         * intl/tst-translit.sh: Likewise.
32002         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
32003         $(test-program-prefix-before-env), $(run-program-env) and
32004         $(test-program-prefix-after-env).
32005         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
32006         run_program_env and test_program_prefix_after_env arguments.
32007         * math/Makefile (run-regen-ulps): Use $(run-program-env).
32008         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
32009         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
32010         explicitly with each use of ${test_wrapper_env}.
32011         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
32012         $(test-program-prefix-before-env), $(run-program-env) and
32013         $(test-program-prefix-after-env).
32014         * posix/tst-getconf.sh: Do not set environment variables
32015         explicitly.
32016         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
32017         run_program_env and test_program_prefix_after_env arguments.
32018         * stdio-common/tst-printf.sh: Do not set environment variables
32019         explicitly.
32020         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
32021         $(test-program-prefix-before-env), $(run-program-env) and
32022         $(test-program-prefix-after-env).
32023         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
32024         run_program_env and test_program_prefix_after_env arguments.
32025         Split $test calls into $test_pre and $test.
32026         * timezone/Makefile (build-testdata): Use
32027         $(built-program-cmd-before-env), $(run-program-env) and
32028         $(built-program-cmd-after-env).
32030 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32032         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
32033         strlen for non SHARED builds.
32035 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
32037         * nptl/allocatestack.c (check_list): Inlined function...
32038         (__reclaim_stacks): ... here.
32040 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
32042         [BZ #15698]
32043         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
32044         memory overrun.
32046 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
32048         * Rules (make-test-out): Include
32049         LOCPATH=$(common-objpfx)localedata in default environment.
32050         * debug/Makefile (tst-chk1-ENV): Remove variable.
32051         (tst-chk2-ENV): Likewise.
32052         (tst-chk3-ENV): Likewise.
32053         (tst-chk4-ENV): Likewise.
32054         (tst-chk5-ENV): Likewise.
32055         (tst-chk6-ENV): Likewise.
32056         (tst-lfschk1-ENV): Likewise.
32057         (tst-lfschk2-ENV): Likewise.
32058         (tst-lfschk3-ENV): Likewise.
32059         (tst-lfschk4-ENV): Likewise.
32060         (tst-lfschk5-ENV): Likewise.
32061         (tst-lfschk6-ENV): Likewise.
32062         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
32063         (tst-iconv7-ENV): Likewise.
32064         * intl/Makefile (LOCPATH-ENV): Likewise.
32065         (tst-codeset-ENV): Likewise.
32066         (tst-gettext3-ENV): Likewise.
32067         (tst-gettext5-ENV): Likewise.
32068         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
32069         (tst-fopenloc-ENV): Likewise.
32070         (tst-fgetws-ENV): Remove variable.
32071         (tst-ungetwc1-ENV): Likewise.
32072         (tst-ungetwc2-ENV): Likewise.
32073         (bug-ungetwc2-ENV): Likewise.
32074         (tst-swscanf-ENV): Likewise.
32075         (bug-ftell-ENV): Likewise.
32076         (tst-fgetwc-ENV): Likewise.
32077         (tst-fseek-ENV): Likewise.
32078         (tst-ftell-partial-wide-ENV): Likewise.
32079         (tst-ftell-active-handler-ENV): Likewise.
32080         (tst-ftell-append-ENV): Likewise.
32081         * posix/Makefile (tst-fnmatch-ENV): Likewise.
32082         (tst-regexloc-ENV): Likewise.
32083         (bug-regex1-ENV): Likewise.
32084         (tst-regex-ENV): Likewise.
32085         (tst-regex2-ENV): Likewise.
32086         (bug-regex5-ENV): Likewise.
32087         (bug-regex6-ENV): Likewise.
32088         (bug-regex17-ENV): Likewise.
32089         (bug-regex18-ENV): Likewise.
32090         (bug-regex19-ENV): Likewise.
32091         (bug-regex20-ENV): Likewise.
32092         (bug-regex22-ENV): Likewise.
32093         (bug-regex23-ENV): Likewise.
32094         (bug-regex25-ENV): Likewise.
32095         (bug-regex26-ENV): Likewise.
32096         (bug-regex30-ENV): Likewise.
32097         (bug-regex32-ENV): Likewise.
32098         (bug-regex33-ENV): Likewise.
32099         (bug-regex34-ENV): Likewise.
32100         (bug-regex35-ENV): Likewise.
32101         (tst-rxspencer-ENV): Likewise.
32102         (tst-rxspencer-no-utf8-ENV): Likewise.
32103         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
32104         (tst-sscanf-ENV): Likewise.
32105         (tst-swprintf-ENV): Likewise.
32106         (tst-swscanf-ENV): Likewise.
32107         (test-vfprintf-ENV): Likewise.
32108         (scanf13-ENV): Likewise.
32109         (bug14-ENV): Likewise.
32110         (tst-grouping-ENV): Likewise.
32111         * stdlib/Makefile (tst-strtod-ENV): Likewise.
32112         (tst-strtod3-ENV): Likewise.
32113         (tst-strtod4-ENV): Likewise.
32114         (tst-strtod5-ENV): Likewise.
32115         (testmb2-ENV): Likewise./
32116         * string/Makefile (tst-strxfrm-ENV): Likewise.
32117         (tst-strxfrm2-ENV): Likewise.
32118         (bug-strcoll1-ENV): Likewise.
32119         (test-strcasecmp-ENV): Likewise.
32120         (test-strncasecmp-ENV): Likewise.
32121         * time/Makefile (tst-strptime-ENV): Likewise.
32122         (tst-ftime_l-ENV): Likewise.
32123         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
32124         (tst-mbrtowc-ENV): Likewise.
32125         (tst-wcrtomb-ENV): Likewise.
32126         (tst-mbrtowc2-ENV): Likewise.
32127         (tst-c16c32-1-ENV): Likewise.
32128         (tst-mbsnrtowcs-ENV): Likewise.
32130 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
32132         * manual/resource.texi (How to get information about the memory
32133         subsystem?): Fix typo.
32134         Reported by Peon de la Parra Ivan <peon@keba.com>
32136 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
32138         [BZ #16882]
32139         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
32140         (pthread_spin_lock): Branch out of spin loop to proper location.
32141         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
32142         (pthread_spin_lock): Likewise.
32144         * nptl/tst-spin4.c: New test.
32145         * nptl/Makefile (tests): Add tst-spin4.
32147 2014-06-03  Andreas Schwab  <schwab@suse.de>
32149         [BZ #15946]
32150         * resolv/res_send.c (send_dg): Reload file descriptor after
32151         calling reopen.
32153 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
32155         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
32157 2014-06-03  Richard Henderson  <rth@redhat.com>
32159         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
32160         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
32161         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
32162         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
32163         in the SAVE_PID block.
32164         (__libc_vfork): New alias.
32165         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
32167         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
32168         child in registers, not on the stack.  Remove RESET_PID conditionals.
32169         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
32171 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
32173         * sysdeps/aarch64/libm-test-ulps: Regenerate.
32175 2014-06-03  Wilco  <wdijkstr@arm.com>
32177         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
32178         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
32179         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
32180         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
32181         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
32182         Likewise.
32184 2014-06-03  Wilco  <wdijkstr@arm.com>
32186         * sysdeps/aarch64/fpu/math_private.h
32187         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
32188         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
32189         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
32190         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
32191         Fix declarations.
32193 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
32195         * crypt/crypt-private.h: Include ufc-crypt.h.
32196         (__b64_from_24bit): Declare extern.
32197         * crypt/crypt_util.c(__b64_from_24bit): New function.
32198         (b64t): New static const variable.
32199         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
32200         (b64t): Remove variable.
32201         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
32202         * crypt/sha256-crypt.c: Include crypt-private.h.
32203         (b64t): Remove variable.
32204         (__sha256_crypt_r): Remove b64_from_24bit and replace
32205         with __b64_from_24bit.
32206         * crypt/sha512-crypt.c: Likewise.
32208 2014-06-02  Roland McGrath  <roland@hack.frob.com>
32210         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
32211         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
32212         Label the code __libc_vfork rather than __vfork.
32213         [!NOT_IN_libc] (vfork): Define as weak alias.
32214         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
32215         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
32216         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
32218 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32220         * malloc/malloc.c (malloc_info): Fix format specifier for
32221         n_mmaps.
32223 2014-06-02  Wilco  <wdijkstr@arm.com>
32225         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
32226         FPCR write.
32228 2014-06-02  Wilco  <wdijkstr@arm.com>
32230         [BZ #17009]
32231         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
32232         Rewrite to reduce FPCR/FPSR accesses.
32234 2014-06-01  David S. Miller  <davem@davemloft.net>
32236         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32238 2014-05-31  David S. Miller  <davem@davemloft.net>
32240         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
32241         to occur in round to nearest mode when |x| >= 2.0
32243 2014-05-30  Richard Henderson  <rth@twiddle.net>
32245         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
32246         (PSEUDO_RET_NOERRNO): Remove.
32247         (ret): Don't redefine.
32248         (ret_NOERRNO): Define in terms of ret.
32249         (ret_ERRVAL): Likewise.
32251         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
32252         use of PSEUDO_RET; perform the error check directly.
32254 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
32256         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
32257         with __int128_t.
32259 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
32261         * malloc/malloc (malloc_info): Fix formatting.
32263 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
32264             Roland McGrath  <roland@hack.frob.com>
32266         * malloc/malloc (malloc_info): Also print mmapped statistics.
32268 2014-05-30  Roland McGrath  <roland@hack.frob.com>
32270         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
32271         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
32273 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
32275         * malloc/malloc.c (malloc_info): Inline mi_arena.
32277 2014-05-29  Richard Henderson  <rth@twiddle.net>
32279         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
32280         Remove comma before expanding ASM_ARGS_##nr.
32281         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
32282         Make _x0 a strict output; make _x8 a strict input; adjust expansion
32283         of ASM_ARGS_##nr.
32284         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
32285         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
32286         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
32287         (ASM_ARGS_1): Add leading comma.
32289         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
32290         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
32291         to __errno_location.
32292         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
32293         Remove the expected plt for __errno_location.
32295         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
32296         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
32297         call to __read_tp.
32299         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
32300         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
32301         it and break it down.
32302         (DOCARGS_0, DOCARGS_1): Do nothing.
32303         (DOCARGS_2): Update to store into the new stack frame.
32304         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
32305         (UNDOCARGS_1): Update to restore from the new stack frame.
32306         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
32307         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
32309         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
32310         (SINGLE_THREAD_P): New parameter for result regno.
32311         (PSEUDO): Update to match; use cbz instead of beq.
32313         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
32314         Use ENTRY to define the _nocancel entry point.  Share the syscall
32315         and syscall error check paths with the cancel path.
32316         (PSEUDO_END): New.
32318         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
32319         whitespace; tabs before and after asm mnemonics.
32321 2014-05-29  Eric Wong  <normalperson@yhbt.net>
32323         [BZ #15132]
32324         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32325         Call fstat64 or stat64 internally, depending on arguments passed.
32326         Replace stat buffer argument with file descriptor argument.
32327         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
32328         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
32329         Pass fd to __internal_statvfs instead of calling fstat64.
32330         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
32331         Pass fd to __internal_statvfs64 instead of calling fstat64.
32332         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
32333         Pass -1 to __internal_statvfs instead of calling stat64.
32334         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
32335         Pass -1 to __internal_statvfs64 instead of calling stat64.
32337 2014-05-28  Roland McGrath  <roland@hack.frob.com>
32339         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
32340         that was previously under [RESET_PID].
32341         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
32343         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
32344         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
32346 2014-05-27  Roland McGrath  <roland@hack.frob.com>
32348         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
32350         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
32351         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
32353 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
32355         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
32357 2014-05-27  Andreas Schwab  <schwab@suse.de>
32359         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
32360         TLS_INIT_TP macro.
32361         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
32362         * elf/rtld.c (init_tls, dl_main): Likewise.
32363         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
32364         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
32365         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
32366         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
32367         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
32368         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
32369         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
32370         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
32371         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
32372         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
32373         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
32374         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
32375         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
32376         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
32377         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
32378         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
32379         * sysdeps/generic/tls.h: Update description.
32381 2014-05-27  Will Newton  <will.newton@linaro.org>
32383         [BZ #16990]
32384         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
32385         and restore r2 rather than just restoring.
32387 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
32389         [BZ #16724]
32390         * libio/tst-ftell-append.c: New test case.
32391         * libio/Makefile (tests): Add test case.
32392         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
32393         append mode.
32394         * libio/wfileops.c (do_ftell_wide): Likewise.
32396 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32398         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32400         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
32401         ...
32402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
32403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
32404         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
32405         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
32406         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
32407         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
32408         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
32409         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
32410         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
32411         Moved ...
32412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
32413         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
32414         Moved ...
32415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
32416         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
32417         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
32418         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
32419         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
32420         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
32421         ...
32422         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
32423         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
32424         Moved ...
32425         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
32426         here.
32427         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
32428         ...
32429         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
32430         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
32431         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
32433         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
32434         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
32435         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
32436         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
32438         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
32439         merge into ...
32440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
32441         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
32442         ...
32443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
32444         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
32445         ...
32446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
32447         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
32448         Moved ...
32449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
32450         here.
32451         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
32452         Moved ...
32453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
32454         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
32455         Moved ...
32456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
32458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
32459         conditional [RESET_PID].
32460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
32461         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
32462         removed.
32463         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
32464         removed.
32466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
32467         <tcb-offsets.h>.
32468         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
32469         (__libc_vfork): New strong alias.
32470         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
32471         removed.
32472         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
32473         Removed.
32475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
32476         <tcb-offsets.h>.
32477         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
32478         (__libc_vfork): New strong alias.
32479         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
32480         removed.
32481         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
32482         removed.
32484 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
32486         * malloc/malloc.c (mi_arena): New function.
32487         (malloc_info): Remove nested function mi_arena. Call non-nosted
32488         function mi_arena.
32490 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32492         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
32493         by insrwi.
32494         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
32495         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
32496         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
32497         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
32498         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
32499         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
32500         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
32502 2014-05-26  Andreas Schwab  <schwab@suse.de>
32504         [BZ #16984]
32505         * locale/programs/repertoire.c (repertoire_read): Add slash
32506         between I18NPATH element and file name.
32507         * locale/programs/locfile.c (locfile_read): Likewise.
32509 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
32511         * nptl/pthread_mutexattr_settype.c
32512         (__pthread_mutexattr_settype):
32513         Disable lock elision for PTHREAD_MUTEX_NORMAL.
32515 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
32517         * nptl/tst-mutex5 (do_test):
32518         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
32520 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32522         * benchtests/README: Document 'init' directive.
32523         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
32524         BENCH_INIT.
32525         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
32526         (parse_file): Recognize 'init' directive.
32528 2014-05-26  Kyle McMartin  <kyle@redhat.com>
32530         [BZ #16796]
32531         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
32532         alignment of struct pthread.
32534 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32536         [BZ #16878]
32537         * nscd/netgroupcache.c (addgetnetgrentX): Look for
32538         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
32539         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
32540         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
32542 2014-05-25  Richard Henderson  <rth@twiddle.net>
32544         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
32545         (SINGLE_THREAD_P_PIC): Remove.
32546         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
32547         (SINGLE_THREAD_P_PIC): Remove.
32549         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
32550         branch to syscall error ...
32551         (PSEUDO): ... here.
32552         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
32553         from __local_syscall_error to .Lsyscall_error.
32554         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
32555         (SYSCALL_ERROR): Update label name.
32557         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
32558         Do not use DOARGS/UNDOARGS.
32559         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
32560         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
32561         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
32562         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
32563         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
32565         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
32566         block comment.
32568         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
32569         define if !NOT_IN_libc.
32570         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
32571         define with non-default symbol versions.
32573 2014-05-23  Richard Henderson  <rth@twiddle.net>
32575         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
32576         (vfork, __vfork): Define via compat_symbol.
32578         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
32579         [!HAVE_IFUNC] (vfork_compat): Remove.
32580         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
32582 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
32584         [BZ #16978]
32585         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
32586         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
32587         variable.
32589 2014-05-23  Richard Henderson  <rth@twiddle.net>
32591         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
32592         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
32593         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
32594         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
32596         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
32597         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
32598         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
32599         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
32600         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
32601         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
32602         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
32603         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
32604         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
32605         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
32606         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
32607         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
32608         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
32609         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
32610         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
32611         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
32612         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
32613         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
32614         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
32615         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
32616         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
32617         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
32618         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
32619         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
32620         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
32621         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
32622         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
32623         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
32624         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
32625         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
32626         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
32627         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
32628         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
32629         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
32630         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
32631         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
32632         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
32633         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
32634         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
32635         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
32636         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
32637         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
32638         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
32639         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
32640         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
32641         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
32642         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
32643         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
32644         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
32645         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
32646         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
32647         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
32648         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
32649         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
32650         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
32651         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
32653         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
32654         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
32655         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
32656         before exiting on error.
32657         (__libc_vfork): New strong alias.
32658         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
32659         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
32661         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
32662         that was previously under [RESET_PID].
32663         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
32665         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
32667 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
32669         [BZ #16977]
32670         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
32671         value when x - 1 is zero.
32672         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
32673         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
32674         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
32675         0.0L for an argument of 1.0L.
32676         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
32677         Likewise.
32678         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
32679         value when x - 1 is zero.
32680         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
32681         * sysdeps/i386/fpu/libm-test-ulps: Update.
32682         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32684 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
32686         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
32687         alphasort and versionsort.
32689 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32691         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
32692         macro.
32693         [copysignf]: Likewise.
32695 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
32697         * crypt/md5-crypt.c: Fix formatting.
32699 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
32701         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
32702         (b64_from_24bit): New function.
32704 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32706         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
32707         libc_hidden_builtin_def to ifunc.
32708         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
32709         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
32711 2014-05-21  Roland McGrath  <roland@hack.frob.com>
32713         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
32714         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
32716 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
32718         * nscd/Depend (linuxthreads): Remove.
32719         (nptl): Add.
32720         * resolv/Depend (linuxthreads): Remove.
32721         * rt/Depend (linuxthreads): Remove.
32723         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
32724         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
32725         $(common-objpfx)elf/.
32726         (link-libc-before-gnulib): Likewise.
32727         (elfobjdir): Remove variable.
32728         * Makefile (install): Use $(elf-objpfx) instead of
32729         $(common-objpfx)elf/.
32730         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
32731         $(elfobjdir)/.
32732         (link-libc-deps): Likewise.
32733         ($(common-objpfx)libc.so): Likewise.
32734         ($(common-objpfx)linkobj/libc.so): Likewise.
32735         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
32736         instead of $(common-objpfx)elf/.
32737         (symbolic-link-list): Likewise.
32738         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
32739         [$(cross-compiling) = no]: Likewise.
32740         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
32741         $(elfobjdir)/.
32742         (static-gnulib-arch): Likewise.
32743         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
32744         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
32745         $(common-objpfx)elf/.
32747 2014-05-21  Richard Henderson  <rth@redhat.com>
32749         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
32750         (SINGLE_THREAD_P): Use the correct width load.  Fold
32751         into the ldr offset.
32753         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
32754         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
32756 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
32758         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
32759         (libgcc_s_resume): Use __attribute_used__.
32760         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
32761         Likewise.
32763 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32765         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
32766         optimization when used with float constants.
32768         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32770 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
32772         [BZ #16915]
32773         * locale/nl_langinfo_l.c: Make direct reference to every
32774         _nl_current_CATEGORY symbol.
32775         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
32776         (tests-static): Add tst-langinfo-static.
32777         (tests-special): Add tst-langinfo-static.out.
32778         ($(objpfx)tst-langinfo.out): Redirect output.
32779         ($(objpfx)tst-langinfo-static.out): New.
32780         * localedata/tst-langinfo.sh: Send output to stdout.
32781         * localedata/tst-langinfo-static.c: New file.
32783         [BZ #16965]
32784         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
32785         when the shift amount is modulo the limb size.
32787 2014-05-20  Richard Henderson  <rth@redhat.com>
32789         [BZ #16967]
32790         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
32791         Change type of sa_flags from unsigned int to int.
32793         [BZ #16966]
32794         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
32796         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
32798 2014-05-20  Will Newton  <will.newton@linaro.org>
32800         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
32801         Test the return value of the system call in the nocancel case.
32803 2014-05-20  Will Newton  <will.newton@linaro.org>
32804             Yvan Roux  <yvan.roux@linaro.org>
32806         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
32807         #include of asm/ptrace.h.
32808         (PTRACE_GET_THREAD_AREA): Remove #undef.
32809         (PTRACE_GETHBPREGS): Likewise.
32810         (PTRACE_SETHBPREGS): Likewise.
32811         (struct user_regs_struct): New structure.
32812         (struct user_fpsimd_struct): New structure.
32813         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
32814         #include of asm/ptrace.h and second #include of sys/user.h.
32815         (PTRACE_GET_THREAD_AREA): Remove #undef.
32816         (PTRACE_GETHBPREGS): Likewise.
32817         (PTRACE_SETHBPREGS): Likewise.
32818         (ELF_NGREG): Use new struct user_regs_struct.
32819         (elf_fpregset_t): Use new struct user_fpsimd_struct.
32821 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32823         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
32824         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
32826 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
32828         [BZ #16958]
32829         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
32830         membar to avoid block loads/stores to overlap previous stores.
32832 2014-05-17  Richard Henderson  <rth@redhat.com>
32834         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
32835         Create the __##syscall_name##_nocancel entry point.
32836         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
32837         Remove; let the sysdep-cancel.h code create it.
32839 2014-05-17  David S. Miller  <davem@davemloft.net>
32841         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
32842         Protect with __USE_GNU.
32843         (TIOCSET_TEMPT): Likewise.
32844         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
32845         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
32846         these are already provided in bits/ioctl-types.h
32848 2014-05-16  Roland McGrath  <roland@hack.frob.com>
32850         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
32851         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
32853         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
32854         Use wait4 regardless of [__NR_waitpid].
32856 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
32858         PR libgcc/60166
32859         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
32860         (_FP_NANSIGN_Q): Set the quiet bit.
32862 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
32864         * benchtests/Makefile
32865         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
32866         not $(common-objpfx)math/libm.so.
32867         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
32868         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
32869         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
32870         $(common-objpfx)dlfcn/libdl.so.
32871         ($(objpfx)tst-audit8): Depend on $(libm), not
32872         $(common-objpfx)math/libm.so.
32873         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
32874         not $(common-objpfx)dlfcn/libdl.so.
32875         * math/Makefile
32876         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
32877         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
32878         [$(build-shared) = yes].
32879         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
32880         $(common-objpfx)nptl/libpthread.so.
32881         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
32882         $(common-objpfx)math/libm.so$(libm.so-version) or
32883         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
32884         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
32885         $(common-objpfx)dlfcn/libdl.so.
32886         * setjmp/Makefile (link-libm): Remove variable.
32887         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
32888         * stdio-common/Makefile (link-libm): Remove variable.
32889         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
32890         * stdlib/Makefile (link-libm): Remove variable.
32891         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
32892         ($(objpfx)tst-strtod-round): Likewise.
32893         ($(objpfx)tst-tininess): Likewise.
32894         ($(objpfx)tst-strtod-underflow): Likewise.
32895         ($(objpfx)tst-strtod6): Likewise.
32896         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
32897         $(libdl), not $(common-objpfx)nptl/libpthread.so and
32898         $(common-objpfx)dlfcn/libdl.so.
32900 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32902         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
32903         BSD terminal modes definitions.
32905 2014-05-16  Roland McGrath  <roland@hack.frob.com>
32907         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
32908         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
32910         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
32911         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
32912         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
32913         Don't do #include_next.
32914         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
32915         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
32916         Don't do #include_next.
32917         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
32918         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
32919         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
32920         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
32922 2014-05-16  Allan McRae  <allan@archlinux.org>
32924         * po/sv.po: Update Swedish translation from translation project.
32926         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
32927         in sed expression.
32929 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
32931         [BZ #16917]
32932         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
32933         errno if the TIOCGPTN ioctl fails with an error different than
32934         EINVAL.
32935         * login/tst-ptsname.c: New file.
32936         * login/Makefile (tests): Add tst-ptsname.
32938         [BZ #16943]
32939         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
32940         and prlimit64.
32942 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
32944         [BZ #16849]
32945         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
32946         herrno to return EAI_AGAIN.
32948 2014-05-14  Roland McGrath  <roland@hack.frob.com>
32950         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
32951         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
32952         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
32953         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
32954         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
32955         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
32956         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
32957         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
32958         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
32959         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
32960         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
32961         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
32962         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
32963         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
32964         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
32965         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
32966         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
32967         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
32968         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
32969         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
32970         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
32971         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
32972         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
32973         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
32974         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
32975         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
32976         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
32977         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
32978         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
32979         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
32980         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
32981         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
32982         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
32983         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
32984         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
32985         Moved ...
32986         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
32987         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
32988         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
32989         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
32990         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
32991         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
32992         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
32993         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
32994         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
32995         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
32996         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
32997         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
32998         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
32999         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
33000         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
33001         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
33002         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
33003         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
33004         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
33005         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
33006         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
33007         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
33008         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
33009         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
33010         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
33011         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
33012         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
33013         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
33014         Moved ...
33015         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
33016         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
33017         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
33018         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
33019         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
33020         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
33021         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
33022         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
33023         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
33024         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
33025         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
33026         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
33027         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
33028         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
33029         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
33030         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
33031         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
33032         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
33033         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
33034         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
33035         Moved ...
33036         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
33037         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
33038         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
33040         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
33041         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
33042         (libpthread-sysdep_routines): Add elision-related stuff here instead.
33043         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
33044         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
33045         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
33046         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
33047         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
33048         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
33049         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
33050         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
33051         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
33052         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
33053         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
33054         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
33055         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
33056         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
33057         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
33058         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
33059         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
33060         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
33061         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
33062         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
33063         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
33064         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
33065         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
33066         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
33067         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
33068         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
33069         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
33070         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
33072         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
33073         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
33075         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
33076         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
33077         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
33078         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
33079         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
33080         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
33081         Moved ...
33082         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
33083         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
33084         Moved ...
33085         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
33086         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
33087         Moved ...
33088         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
33089         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
33090         Moved ...
33091         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
33092         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
33093         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
33094         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
33095         Moved ...
33096         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
33097         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
33098         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
33099         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
33100         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
33101         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
33102         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
33103         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
33104         Moved ...
33105         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
33106         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
33107         Moved ...
33108         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
33109         ... here.
33110         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
33111         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
33112         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
33113         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
33114         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
33115         Moved ...
33116         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
33117         ... here.
33118         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
33119         Moved ...
33120         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
33121         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
33122         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
33123         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
33124         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
33125         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
33126         Moved ...
33127         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
33128         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
33129         Moved ...
33130         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
33131         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
33132         Moved ...
33133         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
33134         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
33135         Moved ...
33136         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
33137         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
33138         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
33139         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
33140         Moved ...
33141         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
33142         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
33143         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
33144         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
33145         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
33146         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
33147         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
33148         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
33149         Moved ...
33150         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
33151         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
33152         Moved ...
33153         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
33154         ... here.
33155         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
33156         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
33157         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
33158         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
33159         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
33160         Moved ...
33161         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
33162         ... here.
33163         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
33164         Moved ...
33165         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
33166         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
33167         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
33168         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
33169         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
33170         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
33171         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
33172         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
33173         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
33174         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
33175         Moved ...
33176         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
33177         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
33178         Moved ...
33179         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
33180         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
33181         Moved ...
33182         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
33183         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
33184         Moved ...
33185         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
33186         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
33187         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
33188         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
33189         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
33190         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
33191         Moved ...
33192         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
33193         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
33194         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
33195         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
33196         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
33197         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
33198         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
33199         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
33200         Moved ...
33201         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
33202         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
33203         Moved ...
33204         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
33205         ... here.
33206         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
33207         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
33208         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
33209         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
33210         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
33211         Moved ...
33212         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
33213         ... here.
33214         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
33215         Moved ...
33216         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
33217         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
33218         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
33219         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
33220         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
33221         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
33222         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
33223         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
33224         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
33225         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
33226         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
33228         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
33229         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
33231         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
33232         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
33234         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
33235         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
33236         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
33237         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
33238         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
33239         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
33240         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
33241         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
33242         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
33243         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
33244         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
33245         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
33246         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
33247         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
33248         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
33249         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
33250         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
33251         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
33252         Moved ...
33253         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
33254         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
33255         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
33256         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
33257         Moved ...
33258         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
33259         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
33260         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
33261         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
33262         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
33263         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
33264         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
33265         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
33266         Moved ...
33267         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
33268         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
33269         Moved ...
33270         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
33271         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
33272         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
33273         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
33274         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
33275         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
33276         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
33277         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
33278         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
33279         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
33280         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
33281         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
33282         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
33283         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
33284         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
33285         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
33286         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
33288         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
33289         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
33290         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
33291         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
33292         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
33294         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
33295         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
33296         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
33297         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
33298         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
33299         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
33300         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
33301         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
33302         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
33303         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
33305         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
33306         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
33308         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
33309         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
33310         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
33311         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
33312         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
33313         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
33314         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
33315         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
33316         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
33317         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
33318         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
33319         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
33320         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
33321         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
33322         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
33323         Update #include.
33324         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
33325         Likewise.
33326         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
33327         Likewise.
33328         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
33329         Likewise.
33330         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
33331         Likewise.
33332         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
33333         Likewise.
33334         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
33335         Likewise.
33336         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
33337         Likewise.
33338         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
33339         Likewise.
33340         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
33341         Likewise.
33342         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
33343         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
33344         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
33345         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
33346         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
33347         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
33348         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
33349         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
33350         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
33351         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
33352         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
33353         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
33354         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
33355         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
33356         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
33358         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
33359         that was previously under [RESET_PID].
33360         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
33361         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
33362         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
33364         * sysdeps/i386/nptl/Implies: New file.
33365         * sysdeps/x86_64/nptl/Implies: New file.
33366         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
33367         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
33368         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
33369         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
33371         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
33372         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
33373         (__libc_vfork): New strong alias.
33374         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
33375         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
33377         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
33378         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
33379         (__libc_vfork): New strong alias.
33380         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
33381         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
33383         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
33384         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
33385         (__libc_vfork): New strong alias.
33386         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
33387         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
33388         * nptl/pt-vfork.c: New file.
33389         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
33390         (libpthread: GLIBC_2.20): New version set (empty).
33392 2014-05-14  Will Newton  <will.newton@linaro.org>
33394         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
33395         rather than #if.
33397 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
33399         [BZ #16564]
33400         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
33401         arguments with exponent 65 or above.
33402         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
33403         arguments 0x1p113L or above.
33404         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
33405         to arguments 0x1p107L or above.
33406         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
33407         positive arguments with exponent 65 or above.
33408         * math/auto-libm-test-in: Add more tests of log1p.
33409         * math/auto-libm-test-out: Regenerated.
33411         [BZ #16928]
33412         * math/s_cacos.c (__cacos): Ensure zero real part of result from
33413         non-finite arguments is +0.
33414         * math/s_cacosf.c (__cacosf): Likewise.
33415         * math/s_cacosl.c (__cacosl): Likewise.
33416         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
33417         * sysdeps/i386/fpu/libm-test-ulps: Update.
33418         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33420         [BZ #16927]
33421         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
33422         value.
33423         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
33424         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
33425         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
33426         for explicit high bit of mantissa when testing for argument equal
33427         to 1.
33428         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
33429         * sysdeps/i386/fpu/libm-test-ulps: Update.
33430         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33432         [BZ #16516]
33433         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
33434         (__erf): Scale by 16 instead of 8 in potentially underflowing
33435         case.  Ensure exception if result actually underflows.
33436         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
33437         (__erff): Scale by 16 instead of 8 in potentially underflowing
33438         case.  Ensure exception if result actually underflows.
33439         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
33440         (efx8): Remove variable.
33441         (__erfl): Scale by 16 instead of 8 in potentially underflowing
33442         case.  Ensure exception if result actually underflows.
33443         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
33444         (efx8): Remove variable.
33445         (__erfl): Scale by 16 instead of 8 in potentially underflowing
33446         case.  Ensure exception if result actually underflows.
33447         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
33448         (efx8): Remove variable.
33449         (__erfl): Scale by 16 instead of 8 in potentially underflowing
33450         case.  Ensure exception if result actually underflows.
33451         * math/auto-libm-test-in: Add more tests of erf.
33452         * math/auto-libm-test-out: Regenerated.
33454 2014-05-14  Andreas Schwab  <schwab@suse.de>
33456         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
33457         Remove code conditionalized on USE___THREAD.
33459         * config.h.in (HAVE_PT_CHOWN): Define as 0.
33460         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
33461         not definedness.
33463 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
33465         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
33466         Define unconditionally.
33467         (__ASSUME_O_CLOEXEC): Likewise.
33468         (__ASSUME_SOCK_CLOEXEC): Likewise.
33469         (__ASSUME_IN_NONBLOCK): Likewise.
33470         (__ASSUME_PIPE2): Likewise.
33471         (__ASSUME_EVENTFD2): Likewise.
33472         (__ASSUME_SIGNALFD4): Likewise.
33473         (__ASSUME_DUP3): Likewise.
33474         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
33475         (__ASSUME_DUP3): Do not define.
33476         (__ASSUME_EVENTFD2): Likewise.
33477         (__ASSUME_IN_NONBLOCK): Likewise.
33478         (__ASSUME_O_CLOEXEC): Likewise.
33479         (__ASSUME_PIPE2): Likewise.
33480         (__ASSUME_SIGNALFD4): Likewise.
33481         (__ASSUME_SOCK_CLOEXEC): Likewise.
33482         (__ASSUME_UTIMES): Undefine.
33483         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
33484         (__ASSUME_UTIMES): Do not define.
33485         (__ASSUME_O_CLOEXEC): Likewise.
33486         (__ASSUME_SOCK_CLOEXEC): Likewise.
33487         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
33488         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
33489         0x020621].
33490         (__ASSUME_PIPE2): Likewise.
33491         (__ASSUME_EVENTFD2): Likewise.
33492         (__ASSUME_SIGNALFD4): Likewise.
33493         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
33494         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
33495         Do not define.
33496         (__ASSUME_EVENTFD2): Likewise.
33497         (__ASSUME_SIGNALFD4): Likewise.
33498         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
33499         (__ASSUME_32BITUIDS): Likewise.
33500         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
33501         (__ASSUME_IPC64): Likewise.
33502         (__ASSUME_ST_INO_64_BIT): Likewise.
33503         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
33504         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
33505         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
33506         (__ASSUME_UTIMES): Do not define.
33507         (__ASSUME_PSELECT): Likewise.
33508         (__ASSUME_PPOLL): Likewise.
33509         (__ASSUME_O_CLOEXEC): Likewise.
33510         (__ASSUME_SOCK_CLOEXEC): Likewise.
33511         (__ASSUME_IN_NONBLOCK): Likewise.
33512         (__ASSUME_PIPE2): Likewise.
33513         (__ASSUME_EVENTFD2): Likewise.
33514         (__ASSUME_SIGNALFD4): Likewise.
33515         (__ASSUME_DUP3): Likewise.
33516         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
33517         (__ASSUME_UTIMES): Likewise.
33518         (__ASSUME_O_CLOEXEC): Likewise.
33519         (__ASSUME_SOCK_CLOEXEC): Likewise.
33520         (__ASSUME_IN_NONBLOCK): Likewise.
33521         (__ASSUME_PIPE2): Likewise.
33522         (__ASSUME_EVENTFD2): Likewise.
33523         (__ASSUME_SIGNALFD4): Likewise.
33524         (__ASSUME_DUP3): Likewise.
33525         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33526         (__ASSUME_UTIMES): Likewise.
33527         (__ASSUME_O_CLOEXEC): Likewise.
33528         (__ASSUME_SOCK_CLOEXEC): Likewise.
33529         (__ASSUME_IN_NONBLOCK): Likewise.
33530         (__ASSUME_PIPE2): Likewise.
33531         (__ASSUME_EVENTFD2): Likewise.
33532         (__ASSUME_SIGNALFD4): Likewise.
33533         (__ASSUME_DUP3): Likewise.
33534         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
33535         Likewise.
33536         (__ASSUME_UTIMES): Likewise.
33537         (__ASSUME_EVENTFD2): Likewise.
33538         (__ASSUME_SIGNALFD4): Likewise.
33539         * sysdeps/unix/sysv/linux/tile/kernel-features.h
33540         (__ASSUME_O_CLOEXEC): Likewise.
33541         (__ASSUME_SOCK_CLOEXEC): Likewise.
33542         (__ASSUME_IN_NONBLOCK): Likewise.
33543         (__ASSUME_PIPE2): Likewise.
33544         (__ASSUME_EVENTFD2): Likewise.
33545         (__ASSUME_SIGNALFD4): Likewise.
33546         (__ASSUME_DUP3): Likewise.
33547         (__ASSUME_UTIMES): Undefine.
33549         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
33550         feclearexcept.  Remove symbol versioning code.
33551         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
33552         symbol versioning code.
33553         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
33554         symbol versioning code.
33555         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
33556         feupdateenv.  Remove symbol versioning code.
33557         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
33558         fegetexceptflag.  Remove symbol versioning code.
33559         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
33560         fesetexceptflag.  Remove symbol versioning code.
33561         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
33562         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
33563         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
33564         (__posix_fadvise64_l32): Remove prototype.
33565         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
33566         code.
33568 2014-05-13  Roland McGrath  <roland@hack.frob.com>
33570         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
33571         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
33572         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
33573         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
33575 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
33577         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
33578         current working directory
33580 2014-05-13  Roland McGrath  <roland@hack.frob.com>
33582         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
33583         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
33584         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
33585         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
33586         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
33587         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
33588         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
33589         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
33590         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
33591         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
33592         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
33593         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
33594         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
33595         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
33596         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
33597         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
33598         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
33599         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
33600         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
33601         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
33602         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
33603         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
33604         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
33605         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
33606         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
33607         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
33608         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
33609         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
33610         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
33611         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
33612         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
33613         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
33614         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
33615         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
33616         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
33617         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
33618         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
33619         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
33620         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
33621         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
33622         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
33623         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
33625         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
33626         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
33628         * sysdeps/unix/sysv/linux/arm/Makefile
33629         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
33630         Add rt-aeabi_unwind_cpp_pr1.
33631         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
33632         Add nptl-aeabi_unwind_cpp_pr1.
33633         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
33634         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
33635         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
33636         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
33637         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
33638         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
33640         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
33641         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
33642         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
33643         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
33645         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
33646         Deconditionalize the code that was previously under [RESET_PID].
33647         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
33649         * sysdeps/generic/exit-thread.h: New file.
33650         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
33651         * include/unistd.h (__exit_thread): Remove declaration.
33652         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
33653         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
33654         * csu/libc-start.c: Include <exit-thread.h>.
33655         (LIBC_START_MAIN): Pass no argument to __exit_thread.
33656         * nptl/pthread_create.c: Include <exit-thread.h>.
33657         (start_thread): Call __exit_thread in place of __exit_thread_inline.
33658         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
33659         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
33660         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
33661         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
33662         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
33663         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
33664         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
33665         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
33666         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
33667         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
33668         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
33669         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
33670         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
33671         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
33672         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
33673         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
33675 2014-05-13  Andreas Schwab  <schwab@suse.de>
33677         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
33679 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
33681         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
33682         (__ASSUME_UTIMES): Do not condition on kernel version.
33683         (__ASSUME_PSELECT): Define unconditionally.
33684         (__ASSUME_PPOLL): Likewise.
33685         (__ASSUME_ATFCTS): Likewise.
33686         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
33687         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
33688         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
33689         (__ASSUME_UTIMENSAT): Define unconditionally.
33690         (__ASSUME_PRIVATE_FUTEX): Likewise.
33691         (__ASSUME_FALLOCATE): Likewise.
33692         (__ASSUME_O_CLOEXEC): Likewise.
33693         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
33694         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
33695         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
33696         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
33697         (__ASSUME_IN_NONBLOCK): Likewise.
33698         (__ASSUME_PIPE2): Likewise.
33699         (__ASSUME_EVENTFD2): Likewise.
33700         (__ASSUME_SIGNALFD4): Likewise.
33701         (__ASSUME_DUP3): Likewise.
33702         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
33703         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
33704         (__ASSUME_AT_RANDOM): Likewise.
33705         (__ASSUME_PREADV): Likewise.
33706         (__ASSUME_PWRITEV): Likewise.
33707         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
33708         (__ASSUME_F_GETOWN_EX): Define unconditionally.
33709         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
33710         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
33711         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
33712         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
33713         (__ASSUME_O_CLOEXEC): Define unconditionally.
33714         (__ASSUME_PSELECT): Do not undefine conditionally.
33715         (__ASSUME_PPOLL): Likewise.
33716         (__ASSUME_ATFCTS): Likewise.
33717         (__ASSUME_SET_ROBUST_LIST): Likewise.
33718         (__ASSUME_UTIMENSAT): Likewise.
33719         (__ASSUME_FDATASYNC): Define unconditionally.
33720         * sysdeps/unix/sysv/linux/arm/kernel-features.h
33721         (__ASSUME_SIGFRAME_V2): Likewise.
33722         )__ASSUME_EVENTFD2): Likewise.
33723         (__ASSUME_SIGNALFD4): Likewise.
33724         (__ASSUME_PSELECT): Do not undefine conditionally.
33725         (__ASSUME_PPOLL): Likewise.
33726         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
33727         (__ASSUME_PSELECT): Define unconditionally.
33728         (__ASSUME_PPOLL): Likewise.
33729         (__ASSUME_O_CLOEXEC): Likewise.
33730         (__ASSUME_SOCK_CLOEXEC): Likewise.
33731         (__ASSUME_IN_NONBLOCK): Likewise.
33732         (__ASSUME_PIPE2): Likewise.
33733         (__ASSUME_EVENTFD2): Likewise.
33734         (__ASSUME_SIGNALFD4): Likewise.
33735         (__ASSUME_DUP3): Likewise.
33736         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
33737         (__ASSUME_O_CLOEXEC): Likewise.
33738         (__ASSUME_SOCK_CLOEXEC): Likewise.
33739         (__ASSUME_IN_NONBLOCK): Likewise.
33740         (__ASSUME_PIPE2): Likewise.
33741         (__ASSUME_EVENTFD2): Likewise.
33742         (__ASSUME_SIGNALFD4): Likewise.
33743         (__ASSUME_DUP3): Likewise.
33744         * sysdeps/unix/sysv/linux/mips/kernel-features.h
33745         (__ASSUME_EVENTFD2): Likewise.
33746         (__ASSUME_SIGNALFD4): Likewise.
33747         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
33749 2014-05-12  Andreas Schwab  <schwab@suse.de>
33751         [BZ #16932]
33752         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
33753         (_nss_nis_gethostbyname4_r): Return error if item length is larger
33754         than maximum RPC packet size.
33755         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
33756         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
33757         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
33758         (_nss_nis_getservbyport_r): Likewise.
33760 2014-05-12  Will Newton  <will.newton@linaro.org>
33762         * malloc/Makefile (tests): Add tst-mallopt.
33763         * malloc/tst-mallopt.c: New file.
33765 2014-05-09  Roland McGrath  <roland@hack.frob.com>
33767         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
33768         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
33770 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33772         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
33773         (tst-tlsmod6.so): Likewise.
33775 2014-05-09  Roland McGrath  <roland@hack.frob.com>
33777         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
33779 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
33781         [BZ #16064]
33782         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
33783         and <dl-procinfo.h>.
33784         (__fegetenv): Save SSE state in envp->__eip if supported.
33785         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
33786         envp->__eip if supported.
33787         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
33788         and <dl-procinfo.h>.
33789         (__fesetenv): Always set __eip, __cs_selector, __opcode,
33790         __data_offset and __data_selector in environment to 0.  Set SSE
33791         state if supported.
33792         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
33793         test-fenv-sse.
33794         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
33795         -mfpmath=sse.
33796         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
33798 2014-05-09  Will Newton  <will.newton@linaro.org>
33800         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
33801         and libc_relro_required for ARM.
33802         * sysdeps/arm/preconfigure: Regenerate.
33804 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
33805             Stefan Liebler  <stli@linux.vnet.ibm.com>
33807         * config.make.in (enable-lock-elision): New Makefile variable.
33808         * configure.ac: Likewise.
33809         * configure: Regenerate.
33810         * sysdeps/s390/configure.ac:
33811         Add check for gcc transactions support.
33812         * sysdeps/s390/configure: Regenerate.
33813         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
33814         Build elision files if enabled.
33815         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
33816         Add lock elision support for s390.
33817         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
33818         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
33819         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
33820         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
33821         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
33822         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
33823         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
33824         Likewise.
33825         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
33826         Likewise.
33827         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
33828         Likewise.
33829         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
33830         Likewise.
33831         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
33832         (__lll_timedlock_elision, __lll_lock_elision)
33833         (__lll_unlock_elision, __lll_trylock_elision)
33834         (lll_timedlock_elision, lll_lock_elision)
33835         (lll_unlock_elision, lll_trylock_elision): Add.
33836         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
33837         (pthread_mutex_t): Add lock elision support for s390.
33839 2014-05-14  Wilco  <wdijkstr@arm.com>
33841         * sysdeps/arm/fclrexcpt.c: Cleanup.
33842         * sysdeps/arm/fedisblxcpt.c: Cleanup.
33843         * sysdeps/arm/feenablxcpt.c: Cleanup.
33844         * sysdeps/arm/fegetenv.c: Cleanup.
33845         * sysdeps/arm/fegetexcept.c: Cleanup.
33846         * sysdeps/arm/fegetround.c: Cleanup.
33847         * sysdeps/arm/feholdexcpt.c: Cleanup.
33848         * sysdeps/arm/fesetenv.c: Cleanup.
33849         * sysdeps/arm/fesetround.c: Cleanup.
33850         * sysdeps/arm/feupdateenv.c: Cleanup.
33851         * sysdeps/arm/fgetexcptflg.c: Cleanup.
33852         * sysdeps/arm/fraiseexcpt.c: Cleanup.
33853         * sysdeps/arm/fsetexcptflg.c: Cleanup.
33854         * sysdeps/arm/ftestexcept.c: Cleanup.
33855         * sysdeps/arm/get-rounding-mode.h: Cleanup.
33856         * sysdeps/arm/setfpucw.c: Cleanup.
33858 2014-05-09  Will Newton  <will.newton@linaro.org>
33860         * sysdeps/arm/armv7/strcmp.S: New file.
33861         * NEWS: Mention addition of ARMv7 optimized strcmp.
33863 2014-05-08  Roland McGrath  <roland@hack.frob.com>
33865         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
33866         look for %.ac rather than %.in.
33868         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
33869         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
33870         * sysdeps/mach/hurd/configure: Regenerated.
33871         * sysdeps/unix/sysv/linux/configure: Regenerated.
33873         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
33875 2014-05-07  Steve Ellcey  <sellcey@mips.com>
33877         [BZ# 16922]
33878         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
33879         (LONG_SUB): Ditto.
33880         (PTR_SUB): Ditto.
33882 2014-05-07  Andreas Schwab  <schwab@suse.de>
33884         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
33885         when skipping over non-matching result from nscd.
33887 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
33889         [BZ #16876]
33890         * nptl/sockperf.c (client): Check socket return value.
33892         [BZ #16877]
33893         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
33894         nscd security class.
33896 2014-05-06  Roland McGrath  <roland@hack.frob.com>
33898         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
33899         * sysdeps/arm/unwind.h: ... here.
33901 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
33903         [BZ# 16916]
33904         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
33905         Define.
33907 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
33909         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
33910         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
33911         multiarch strncpy for PPC64.
33912         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
33913         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
33914         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
33915         multiarch optimizations.
33916         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
33917         (__libc_ifunc_impl_list): Likewise.
33918         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
33919         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
33920         multiarch stpncpy for PPC64.
33921         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
33922         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
33924 2014-05-06  Andreas Schwab  <schwab@suse.de>
33926         [BZ #16912]
33927         * gmon/mcount.c (_MCOUNT_DECL): Use
33928         atomic_compare_and_exchange_bool_acq instead of
33929         catomic_compare_and_exchange_bool_acq.
33931 2014-05-05  Roland McGrath  <roland@hack.frob.com>
33933         * elf/Makefile (others, install-bin): Remove pldd.
33934         (pldd-modules): Variable removed.
33935         ($(objpfx)pldd): Target removed.
33936         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
33937         (others, install-bin): Append pldd here.
33938         ($(objpfx)pldd): New target.
33940         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
33941         to 0, so the first #if test emitted later doesn't see it undefined.
33942         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
33943         * sysdeps/gnu/errlist.c: Regenerated.
33945 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33947         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
33948         [libc_hidden_builtin_def]: Define to empty value.
33949         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
33950         [libc_hidden_builtin_def]: Likewise.
33951         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
33952         [libc_hidden_builtin_def]: Likewise.
33953         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
33954         [libc_hidden_builtin_def]: Likewise.
33955         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
33956         __redirect_memcpy and define ifunc as default hidden symbol.
33957         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
33958         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
33960 2014-05-04  Adam Conrad  <adconrad@0c3.net>
33962         * locale/iso-4217.def: Reintroduce XDR currency.
33964 2014-05-04  Allan McRae  <allan@archlinux.org>
33966         * po/eo.po: Update Esperanto translation from translation project.
33968 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
33970         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
33971         and FEATURE_INDEX_MAX to 1.
33972         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
33974 2014-05-01  Steve Ellcey  <sellcey@mips.com>
33976         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
33977         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
33978         * iconvdata/big5.c (ONE_DIRECTION): Define.
33979         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
33980         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
33981         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
33982         * iconvdata/cp932.c (ONE_DIRECTION): Define.
33983         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
33984         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
33985         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
33986         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
33987         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
33988         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
33989         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
33990         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
33991         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
33992         * iconvdata/gbk.c (ONE_DIRECTION): Define.
33993         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
33994         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
33995         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
33996         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
33997         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
33998         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
33999         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
34000         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
34001         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
34002         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
34003         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
34004         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
34005         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
34006         * iconvdata/iso646.c (ONE_DIRECTION): Define.
34007         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
34008         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
34009         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
34010         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
34011         * iconvdata/johab.c (ONE_DIRECTION): Define.
34012         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
34013         * iconvdata/sjis.c (ONE_DIRECTION): Define.
34014         * iconvdata/t.61.c (ONE_DIRECTION): Define.
34015         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
34016         * iconvdata/tscii.c (ONE_DIRECTION): Define.
34017         * iconvdata/uhc.c (ONE_DIRECTION): Define.
34018         * iconvdata/unicode.c (ONE_DIRECTION): Define.
34019         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
34020         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
34021         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
34023 2014-05-01  Roland McGrath  <roland@hack.frob.com>
34025         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
34026         (_IO_JUMPS_OFFSET): Define to 0.
34028         * nptl/sysdeps/pthread/bits/libc-lock.h
34029         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
34030         (__libc_lock_define_initialized_recursive): Always define using
34031         initializer.  Modern compilers treat uninitialized (implicit zero) and
34032         explicit zero initializers the same (i.e. put the datum in bss).
34034 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
34036         * nscd/nscd-client.h: Include <string.h>.
34038 2014-05-01  David S. Miller  <davem@davemloft.net>
34040         [BZ #16885]
34041         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
34042         multiple zero bytes exist at the end of a string.
34043         Reported by Aurelien Jarno <aurelien@aurel32.net>
34045         * string/test-strcmp.c (check): Add explicit test for situations where
34046         there are multiple zero bytes after the first.
34048 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
34050         [BZ #16890]
34051         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
34052         when compiling wprintf.
34053         * stdio-common/tstdiomisc.c (t3): New function.
34054         (main): Call it.
34056 2014-05-01  Steve Ellcey  <sellcey@mips.com>
34058         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
34059         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
34060         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
34061         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
34063 2014-05-01  Steve Ellcey  <sellcey@mips.com>
34065         * stdlib/longlong.h: Updated from GCC.
34067 2014-05-01  Will Newton  <will.newton@linaro.org>
34068             Bernard Ogden  <bernie.ogden@linaro.org>
34070         * NEWS: Update fixed bug list.
34072         [BZ #15119]
34073         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
34075 2014-04-30  David S. Miller  <davem@davemloft.net>
34077         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
34078         (libc_feholdexcept_setround_sparc_ctx): New function.
34079         (libc_fesetenv_sparc_ctx): Likewise.
34080         (libc_feupdateenv_sparc_ctx): Likewise.
34081         (libc_feholdsetround_sparc_ctx): Likewise.
34082         (libc_feholdexcept_setround_ctx): Define.
34083         (libc_feholdexcept_setroundf_ctx): Likewise.
34084         (libc_feholdexcept_setroundl_ctx): Likewise.
34085         (libc_fesetenv_ctx): Likewise.
34086         (libc_fesetenvf_ctx): Likewise.
34087         (libc_fesetenvl_ctx): Likewise.
34088         (libc_feupdateenv_ctx): Likewise.
34089         (libc_feupdateenvf_ctx): Likewise.
34090         (libc_feupdateenvl_ctx): Likewise.
34091         (libc_feresetround_ctx): Likewise.
34092         (libc_feresetroundf_ctx): Likewise.
34093         (libc_feresetroundl_ctx): Likewise.
34094         (libc_feholdsetround_ctx): Likewise.
34095         (libc_feholdsetroundf_ctx): Likewise.
34096         (libc_feholdsetroundl_ctx): Likewise.
34098         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
34099         with __USE_GNU instead of XOPEN cpp guards.
34101         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
34102         0.
34104         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
34105         with XOPEN cpp guards.
34107 2014-04-30  Julian Brown  <julian@codesourcery.com>
34109         [BZ #16888]
34110         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
34111         handling.
34113 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
34115         [BZ #9894]
34116         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
34117         Change to 2.6.32.
34118         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
34119         * sysdeps/unix/sysv/linux/configure: Regenerated.
34120         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
34121         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
34122         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
34123         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
34124         * README: Update reference to required Linux kernel version.
34125         * manual/install.texi (Linux): Update reference to required Linux
34126         kernel headers version.
34127         * INSTALL: Regenerated.
34129         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
34130         header inclusion.
34131         [POSIX] (limits.h): Likewise.
34132         [POSIX] (math.h): Likewise.
34133         [POSIX] (sys/wait.h): Likewise.
34134         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
34135         function.
34136         [POSIX] (stddef.h): Do not allow header inclusion.
34138 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34140         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
34142 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
34144         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
34145         Return immediately after lll_futex_wake.
34147 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
34149         [BZ #16791]
34150         * nscd/nscd-client.h (datahead_init_common): Initialize entire
34151         structure.
34152         (datahead_init_pos): Call datahead_init_common early.
34153         (datahead_init_neg): Likewise.
34155         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
34156         datahead_init_neg): New functions.
34157         * nscd/aicache.c (addhstaiX): Use them.
34158         * nscd/grpcache.c (cache_addgr): Likewise.
34159         * nscd/hstcache.c (cache_addhst): Likewise.
34160         * nscd/initgrcache.c (addinitgroupsX): Likewise.
34161         * nscd/netgroupcache.c (do_notfound): Likewise.
34162         (addgetnetgrentX): Likewise.
34163         (addinnetgrX): Likewise.
34164         * nscd/pwdcache.c (cache_addpw): Likewise.
34165         * nscd/servicescache.c (cache_addserv): Likewise.
34167 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
34168             Atsushi Onoe  <atsushi@onoe.org>
34170         [BZ #14308]
34171         [BZ #12994]
34172         [BZ #13651]
34173         * resolv/res_query.c (__libc_res_nsearch): Return if at least
34174         one response is valid.
34175         * resolv/res_send.c (send_dg): Check for validity of other
34176         response if the current response is a referral.
34178 2014-04-29  Steve Ellcey  <sellcey@mips.com>
34180         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
34182 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
34184         [BZ #16823]
34185         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
34186         Always divide by positive zero when computing -Inf result.
34187         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
34188         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
34190 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34192         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
34193         FPSCR if value do not change.
34194         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
34195         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
34196         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
34197         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
34198         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
34199         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
34200         function.
34202 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
34204         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
34205         * sysdeps/unix/sysv/linux/hppa: Move directory from
34206         ports/systeps/unix/sysv/linux/hppa.
34207         * README: Update listing for hppa-*-linux-gnu.
34209 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
34211         [BZ #16754]
34212         * manual/stdio.texi (Hook functions): Fix types of stream hook
34213         functions.
34214         [BZ #16854]
34215         * socket/sys/socket.h: Fix typo in comment.
34217 2014-04-28  Wilco  <wdijkstr@arm.com>
34219         * sysdeps/arm/fenv_private.h: New file.
34220         * sysdeps/arm/math_private.h: New file.
34221         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
34223 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
34225         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
34226         with __int128_t.
34227         (La_x86_64_retval): Likewise.
34229 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
34231         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
34232         fpsr if value didn't change.
34233         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
34234         to fpcr if value didn't change.
34235         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
34236         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
34237         fpsr or fpcr if value didn't change.
34238         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
34239         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
34240         fpcr if value didn't change.
34241         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
34242         to fpsr if value didn't change.
34244 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
34246         * nptl/tst-sem3.c: Use test-skeleton.c
34247         (main): Rename to do_test.  Use return instead of
34248         exit.
34249         * nptl/tst-sem4.c: Use test-skeleton.c
34250         (main): Rename to do_test.
34252 2014-04-22  David S. Miller  <davem@davemloft.net>
34254         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
34255         (struct sigaction): New struct member __glibc_reserved0, change
34256         type of sa_flags to int.
34258 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
34260         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
34261         (COUNT_LEADING_ZEROS_0): Define for AArch64.
34263 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
34265         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
34266         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
34268 2014-04-22  Will Newton  <will.newton@linaro.org>
34269             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
34271         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
34272         (__longjmp): Add longjmp and longjmp_target SystemTap
34273         probes.
34274         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
34275         (__sigsetjmp): Add setjmp SystemTap probe.
34277 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
34279         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
34280         match manual order.
34282 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34284         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
34286         * sysdeps/powerpc/fpu/fenv_private.h
34287         (libc_feholdexcept_setroundl_ctx): Define to
34288         libc_feholdexcept_setround_ppc_ctx.
34289         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
34290         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
34291         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
34292         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
34294 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
34296         * sysdeps/aarch64/math-tests.h: New file.
34298 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
34300         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
34301         New.
34302         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34303         Check and set bit_AVX2_Usable.
34304         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
34305         macro.
34306         (bit_AVX2): Likewise.
34307         (index_AVX2_Usable): Likewise.
34308         (CPUID_AVX2): Likewise.
34309         (HAS_AVX2): Likewise.
34311 2014-04-17  Will Newton  <will.newton@linaro.org>
34313         * manual/setjmp.texi (System V contexts): Add note that
34314         calling setcontext on a context created by a call to a
34315         signal handler is undefined.  Update text to note that
34316         setcontext from a signal handler is possible but not
34317         recommended.
34319         [BZ #16629]
34320         * stdlib/tst-setcontext.c: Include signal.h.
34321         (main): Check that the signal stack before and
34322         after swapcontext is the same.
34324         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
34325         Re-implement to restore registers in user code and avoid
34326         rt_sigreturn system call.
34328 2014-04-17  Wilco  <wdijkstr@arm.com>
34330         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
34331         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
34332         * math/test-fenv.c: Skip exception trap tests on targets which only
34333         support non-stop mode.
34335 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
34336             Wilco Dijkstra  <wilco.dijkstra@arm.com>
34338         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
34339         (libc_feholdsetround_aarch64_ctx)
34340         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
34341         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
34342         (libc_feresetround_ctx, libc_feresetroundf_ctx)
34343         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
34344         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
34345         (libc_feresetround_noexl_ctx): Define.
34347 2014-04-16  Richard Henderson  <rth@redhat.com>
34349         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
34351         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
34352         unwind tables.
34354         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
34355         const from the non-libc, non-ldso copy.
34357         * sysdeps/alpha/libm-test-ulps: Regenerate.
34359 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
34360             Wilco Dijkstra  <wilco.dijkstra@arm.com>
34362         * sysdeps/aarch64/fpu/math_private.h: New file.
34364 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
34366         * sysdeps/aarch64/libm-test-ulps: Regenerate.
34368 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
34370         [BZ #16275]
34371         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
34372         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
34373         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
34374         Intel MPX bound registers before _dl_profile_fixup.
34375         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
34376         registers after _dl_profile_fixup.  Save and restore bound
34377         registers bnd0/bnd1 when calling _dl_call_pltexit.
34378         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
34379         (LR_BND_OFFSET): Likewise.
34380         (LRV_BND0_OFFSET): Likewise.
34381         (LRV_BND1_OFFSET): Likewise.
34383 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34385         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
34386         to...
34387         * sysdeps/mach/hurd/i386/tls.h: ... here.
34388         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
34389         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
34390         fields.
34392 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34394         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
34396 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
34398         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
34400 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
34402         [BZ #14770]
34403         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
34404         * sysdeps/s390/configure: Regenerate.
34406         [BZ #16824]
34407         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
34408         Set round-to-nearest internally to reduce error accumulation.
34410 2014-04-16  Alan Modra  <amodra@gmail.com>
34412         [BZ #16740]
34413         [BZ #16619]
34414         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
34415         * math/libm-test.inc (frexp_test_data): Add tests.
34416         * NEWS: Update fixed bug list.
34418 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
34420         * benchtests/Makefile: Depend on libraries in build directory.
34421         (bench-math): Separate out math tests.
34422         (bench-pthread): Separate out pthread tests.
34423         (bench): Include math and pthread tests.
34425 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
34427         [BZ #16831]
34428         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
34429         _dl_debug_initialize.
34431         * configure.ac: Remove SELinux header check.
34432         * configure: Regenerate.
34433         * nscd/selinux.c (perms): Array of const char* to permission names.
34434         (nscd_request_avc_has_perm): Call security_deny_unknown to find
34435         default policy. Call string_to_security_class and string_to_av_perm to
34436         translate strings. Enforce default policy and call avs_has_perm with
34437         results of translated strings.
34439 2014-04-13  David S. Miller  <davem@davemloft.net>
34441         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34443 2014-04-12  Allan McRae  <allan@archlinux.org>
34445         [BZ #16838]
34446         * manual/string.texi (Collation Functions): Fix qsort argument
34447         order in example.
34448         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
34450 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
34452         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
34453         Make the test a no-op if there are no exceptions defined.
34455 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
34457         * elf/Makefile (tests): make tst-dlopen-aout conditional on
34458         enable-hardcoded-path-in-tests
34460 2014-04-11  Will Newton  <will.newton@linaro.org>
34462         * benchtests/Makefile (extra-objs): Add json-lib.o.
34463         (bench-func): Tidy up JSON output.
34464         * benchtests/bench-skeleton.c: Include json-lib.h.
34465         (main): Use JSON library functions to do output of
34466         benchmark results.
34467         * benchtests/bench-timing-type.c (main): Output the
34468         timing type simply, leaving formatting to the user.
34469         * benchtests/json-lib.c: New file.
34470         * benchtests/json-lib.h: Likewise.
34472 2014-04-11  Torvald Riegel  <triegel@redhat.com>
34474         [BZ #15215]
34475         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
34476         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
34477         memory barriers.  Add comments.
34478         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
34479         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
34480         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
34481         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
34482         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
34483         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
34485 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
34487         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
34488         * sysdeps/s390/s390-64/configure.ac: ... this ...
34489         * sysdeps/s390/configure.ac: ... to here.
34490         * sysdeps/s390/s390-32/configure: Delete file.
34491         * sysdeps/s390/s390-64/configure: Delete file.
34492         * sysdeps/s390/configure: Regenerate.
34494 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
34496         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
34498 2014-04-11  Will Newton  <will.newton@linaro.org>
34500         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
34501         to zero if it is not defined elsewhere.  (mtrim): Test
34502         the value of MALLOC_DEBUG with #if rather than #ifdef.
34504 2014-04-10 Torvald Riegel  <triegel@redhat.com>
34506         * benchtests/pthread_once-inputs: New file.
34507         * benchtests/pthread_once-source.c: New file.
34508         * benchtests/README: Update documentation.
34510 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
34511             H.J. Lu  <hongjiu.lu@intel.com>
34513         [BZ #16275]
34514         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
34515         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
34516         * sysdeps/x86_64/configure: Regenerated.
34517         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
34518         macro.
34519         (REGISTER_SAVE_RAX): Likewise.
34520         (REGISTER_SAVE_RCX): Likewise.
34521         (REGISTER_SAVE_RDX): Likewise.
34522         (REGISTER_SAVE_RSI): Likewise.
34523         (REGISTER_SAVE_RDI): Likewise.
34524         (REGISTER_SAVE_R8): Likewise.
34525         (REGISTER_SAVE_R9): Likewise.
34526         (REGISTER_SAVE_BND0): Likewise.
34527         (REGISTER_SAVE_BND1): Likewise.
34528         (REGISTER_SAVE_BND2): Likewise.
34529         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
34530         bound registers when calling _dl_fixup.
34532 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34534         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
34535         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
34536         of its definition.
34537         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
34538         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
34539         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
34540         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
34541         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
34542         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
34543         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
34545 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
34547         [BZ #15514]
34548         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
34549         pathconf(_PC_NAME_MAX).
34551 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34553         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
34554         Remove macro usage.
34555         (__PTHREAD_SPINS): Move definition to ...
34556         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
34557         (__PTHREAD_SPINS): ... here.
34558         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
34559         (__PTHREAD_SPIN): Likewise.
34560         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
34561         (__PTHREAD_SPIN): Likewise.
34562         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
34563         (__PTHREAD_SPIN): Likewise.
34564         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
34565         (__PTHREAD_SPIN): Likewise.
34566         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
34567         (__PTHREAD_SPIN): Likewise.
34568         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
34569         (__PTHREAD_SPIN): Likewise.
34570         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
34571         (__PTHREAD_SPIN): Likewise.
34572         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
34573         (__PTHREAD_SPIN): Likewise.
34574         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
34575         (__PTHREAD_SPIN): Likewise.
34576         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
34577         (__PTHREAD_SPIN): Likewise.
34578         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
34579         (__PTHREAD_SPIN): Likewise.
34580         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
34581         (__PTHREAD_SPIN): Likewise.
34583         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
34584         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
34585         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
34586         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
34587         imply folder.
34588         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
34589         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
34590         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
34591         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
34592         correct imply path.
34593         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
34594         strlen symbol for non multi-arch builds.
34595         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
34596         missing hidden_def and weak_alias.
34598 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
34600         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
34602 2014-04-07  Will Newton  <will.newton@linaro.org>
34604         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
34605         and contents.  [!_LIBC] Remove #ifndef and contents.
34606         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
34607         * string/memccpy.c (__memccpy): Use ANSI prototype.
34608         * string/memfrob.c (memfrob): Likewise.
34609         * string/strcoll.c (STRCOLL): Likewise.
34610         * string/strlen.c (strlen): Likewise.
34611         * string/strtok.c (STRTOK): Likewise.
34612         * string/strcat.c: Remove unused #include of memcopy.h.
34613         (strcat): Use ANSI prototype.
34614         * string/strchr.c: Remove unused #include of memcopy.h.
34615         (strchr): Use ANSI prototype.
34616         * string/strcmp.c: Remove unused #include of memcopy.h.
34617         (strcmp): Use ANSI prototype.
34618         * string/strcpy.c: Remove unused #include of memcopy.h.
34619         (strcpy): Use ANSI prototype.
34621 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34623         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
34624         * config.make.in (config-extra-cppflags): Set it from
34625         libc_extra_cppflags.
34626         * configure.ac (libc_extra_cflags): Make it accumulate over
34627         configure fragments.
34628         (libc_extra_cppflags): New flag.
34629         * configure. Regenerate.
34630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
34631         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
34632         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
34633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
34635         [BZ #16815]
34636         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
34637         result for FE_DOWNWARD rounding mode.
34638         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
34639         Likewise.
34640         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34642 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
34644         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
34645         in function argument name.
34647 2014-04-03  David Svoboda  <svoboda@cert.org>
34649         [BZ #5666]
34650         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
34651         explicitly.
34653 2014-04-03  Roland McGrath  <roland@hack.frob.com>
34655         * elf/dl-unmap-segments.h: New file.
34656         * sysdeps/generic/ldsodefs.h
34657         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
34658         * elf/dl-close.c: Include <dl-unmap-segments.h>.
34659         * elf/dl-fptr.c: Likewise.
34660         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
34661         * sysdeps/aarch64/tlsdesc.c: Likewise.
34662         * sysdeps/arm/tlsdesc.c: Likewise.
34663         * sysdeps/i386/tlsdesc.c: Likewise.
34664         * sysdeps/tile/dl-runtime.c: Likewise.
34665         * sysdeps/x86_64/tlsdesc.c: Likewise.
34666         * elf/dl-load.h: New file.
34667         * elf/dl-load.c: Include it.
34668         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
34669         Macros moved to dl-load.h.
34670         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
34671         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
34672         Use _dl_unmap_segments in place of __munmap.
34673         Break out segment-mapping loop into ...
34674         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
34676 2014-04-03  Will Newton  <will.newton@linaro.org>
34678         * elf/dl-lookup.c (do_lookup_x): Remove comment
34679         referring to nested function and move variable
34680         declarations down to before first use.
34682 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
34684         [BZ #16799]
34685         [BZ #16800]
34686         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
34687         with 0 numerator.
34688         * math/s_catanf.c (__catanf): Likewise.
34689         * math/s_catanh.c (__catanh): Likewise.
34690         * math/s_catanhf.c (__catanhf): Likewise.
34691         * math/s_catanhl.c (__catanhl): Likewise.
34692         * math/s_catanl.c (__catanl): Likewise.
34693         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
34694         by positive zero when computing -Inf result.
34695         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
34696         (catanh_test): Likewise.
34697         * sysdeps/i386/fpu/libm-test-ulps: Update.
34698         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34700         [BZ #16789]
34701         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
34702         instead of using underflowing value in computing result.
34703         * math/s_clog10.c (__clog10): Likewise.
34704         * math/s_clog10f.c (__clog10f): Likewise.
34705         * math/s_clog10l.c (__clog10l): Likewise.
34706         * math/s_clogf.c (__clogf): Likewise.
34707         * math/s_clogl.c (__clogl): Likewise.
34708         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
34709         (clog10_test): Likewise.
34710         * sysdeps/i386/fpu/libm-test-ulps: Update.
34711         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34713 2014-04-02  Alan Modra  <amodra@gmail.com>
34715         [BZ #16739]
34716         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
34717         output when value is near a power of two.  Use int64_t for lx and
34718         remove casts.  Use decimal rather than hex exponent constants.
34719         Don't use long double multiplication when double will suffice.
34720         * math/libm-test.inc (nextafter_test_data): Add tests.
34721         * NEWS: Add 16739 and 16786 to bug list.
34723         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
34725         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
34727 2014-04-01  Will Newton  <will.newton@linaro.org>
34729         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
34730         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
34732 2014-04-01  Florian Weimer  <fweimer@redhat.com>
34734         [BZ #13347]
34735         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
34736         * nptl/tst-setuid2.c: New file.
34737         * nptl/Makefile (xtests): Add tst-setuid2.
34739 2014-04-01  Alan Modra  <amodra@gmail.com>
34741         [BZ #16786]
34742         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
34744 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
34746         [BZ #6803]
34747         [BZ #6804]
34748         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
34749         set errno as appropriate.
34750         * math/w_scalbf.c (__scalbf): Likewise.
34751         * math/w_scalbl.c (__scalbl): Likewise.
34752         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
34753         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
34754         * math/libm-test.inc (scalb_test_data): Add errno expectations.
34755         Add more NaN tests.
34757         [BZ #16349]
34758         * math/w_atan2.c: Include <errno.h>.
34759         (__atan2): Set errno for result underflowing to zero.
34760         * math/w_atan2f.c: Include <errno.h>.
34761         (__atan2f): Set errno for result underflowing to zero.
34762         * math/w_atan2l.c: Include <errno.h>.
34763         (__atan2l): Set errno for result underflowing to zero.
34764         * math/auto-libm-test-in: Don't allow missing errno for some atan2
34765         tests.
34766         * math/auto-libm-test-out: Regenerated.
34768 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34770         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
34771         Encode instruction correctly in little endian.
34772         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
34773         Likewise.
34774         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
34775         Likewise.
34776         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
34777         Likewise.
34778         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
34779         Likewise.
34781 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
34783         [BZ #9894]
34784         * sysdeps/unix/sysv/linux/kernel-features.h
34785         [__sparc__ && !__arch64__ && !__sparc_v9__]
34786         (__ASSUME_SET_ROBUST_LIST): Do not define.
34787         [__sparc__ && !__arch64__ && !__sparc_v9__]
34788         (__ASSUME_FUTEX_LOCK_PI): Likewise.
34789         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
34790         Likewise.
34791         * sysdeps/unix/sysv/linux/arm/kernel-features.h
34792         (__ASSUME_FUTEX_LOCK_PI): Undefine.
34793         (__ASSUME_REQUEUE_PI): Likewise.
34794         (__ASSUME_SET_ROBUST_LIST): Likewise.
34795         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
34796         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
34797         Undefine.
34798         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
34799         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
34800         Likewise.
34801         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
34802         Likewise.
34803         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
34804         Likewise.
34805         * sysdeps/unix/sysv/linux/mips/kernel-features.h
34806         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
34807         Undefine.
34808         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
34809         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
34810         Likewise.
34812         [BZ #16648]
34813         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
34814         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
34815         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
34817 2014-03-31  Will Newton  <will.newton@linaro.org>
34819         * benchtests/Makefile (bench): Add ffs and ffsll to list
34820         of tests.
34821         * benchtests/ffs-inputs: New file.
34822         * benchtests/ffsll-inputs: Likewise.
34824 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
34826         [BZ #16770]
34827         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
34828         too large before casting to int.
34829         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
34830         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
34831         * math/libm-test.inc (scalb_test_data): Add more tests.
34833 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
34835         * benchtests/Makefile (DETAILED_OPT): New make option.
34836         (bench-func): Run benchmark program with -d if DETAILED_OPT is
34837         set.
34838         * benchtests/bench-skeleton.c: Include stdbool.h.
34839         (main): Store and print timings per input.
34840         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
34841         member to each argument value.
34842         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
34843         (_print_arg_data): Initialize per-input timing to 0.
34845         * benchtests/Makefile (timing-type): New binary.
34846         (bench-clean): Also remove bench-timing-type.
34847         (bench): New target for timing-type.
34848         (bench-func): Print output in JSON format.
34849         * benchtests/bench-skeleton.c (main): Print output in JSON
34850         format.
34851         * benchtests/bench-timing-type.c: New file.
34852         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
34853         (TIMING_PRINT_STATS): Remove.
34854         * benchtests/scripts/bench.py (_print_arg_data): Store variant
34855         name separately.
34857         * benchtests/bench-modf.c: Remove.
34858         * benchtests/modf-inputs: New inputs file.
34860 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
34862         [BZ #16362]
34863         * math/s_clog10.c (M_PI_LOG10E): New macro.
34864         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
34865         imaginary parts are 0.
34866         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
34867         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
34868         imaginary parts are 0.
34869         * math/s_clog10l.c (M_PI_LOG10El): New macro.
34870         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
34871         imaginary parts are 0.
34872         * math/libm-test.inc (clog10_test_data): Update expected results
34873         for when real and imaginary parts are 0.
34875 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
34877         * elf/dl-load.c: Finish conversion of __builtin_expect into
34878         __glibc_{un}likely.
34880 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
34882         [BZ #16348]
34883         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
34884         1+x for argument with exponent below -67.
34885         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
34886         Likewise.
34887         * math/auto-libm-test-in: Add more tests of exp.
34888         * math/auto-libm-test-out: Regenerated.
34890 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
34892         [BZ #16759]
34893         * inet/getnetgrent_r.c (get_nonempty_val): New function.
34894         (nscd_getnetgrent): Use it.
34896         [BZ #16760]
34897         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
34898         of stpcpy.
34900 2014-03-27  Andi Kleen  <ak@linux.intel.com>
34902         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
34903         (lll_robust_lock, lll_cond_lock, lll_timedlock)
34904         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
34905         (lll_robust_unlock): Remove out of line section. Use cfi
34906         intrinsics.
34907         (LLL_STUB_UNWIND_INFO*): Remove.
34908         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
34909         (lll_robust_lock, lll_cond_lock, lll_timedlock)
34910         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
34911         (lll_robust_unlock): Remove out of line section. Use cfi
34912         intrinsics.
34913         (LLL_STUB_UNWIND_INFO*): Remove.
34915 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
34917         [BZ #16758]
34918         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
34919         blank values.
34921 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
34923         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
34925 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
34927         [BZ #16198]
34928         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
34929         fnstenv.
34930         * math/test-fenv-preserve.c: New file.
34931         * math/Makefile (tests): Add test-fenv-preserve.
34933 2014-03-26  Will Newton <will.newton@linaro.org>
34935         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
34937 2014-03-25  Roland McGrath  <roland@hack.frob.com>
34939         * scripts/versionlist.awk: Partition the version sets and emit all
34940         GLIBC_* (sorted) before all others (sorted).
34942 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
34944         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
34945         GLIBC_2.2.5 version.
34947 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34949         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
34950         calls.
34952         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
34953         previous change.
34955         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34957 2014-03-25  Andreas Schwab  <schwab@suse.de>
34959         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
34960         label to be used after in6ailist is initialized.
34962 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34964         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
34965         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
34967 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
34969         [BZ #16357]
34970         [BZ #16599]
34971         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
34972         min_plus_half.
34973         (fp_formats): Update initializers.
34974         (init_fp_formats): Initialize new field.
34975         (output_for_one_input_case): Allow underflow for results up to
34976         min_plus_half.
34977         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
34978         * math/auto-libm-test-in: Don't mark some underflows from asin and
34979         atanh as spurious.
34980         * math/auto-libm-test-out: Regenerated.
34981         * sysdeps/i386/fpu/libm-test-ulps: Update.
34982         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34984 2014-03-25  Andreas Schwab  <schwab@suse.de>
34986         * libio/Makefile (tst-ftell-partial-wide-ENV)
34987         (tst-ftell-active-handler-ENV): Define.
34989 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
34991         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
34993 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
34995         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
34997 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
34999         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
35000         * sysdeps/x86_64/fpu/multiarch/e_exp.c
35001         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
35003 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
35005         [BZ #16634]
35006         * elf/dl-load.c (open_verify): Add mode parameter.
35007         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
35008         (open_path): Change from boolean 'secure' to complete flag 'mode'
35009         (_dl_map_object): Adjust.
35010         * elf/Makefile (tests): Add tst-dlopen-aout.
35011         * elf/tst-dlopen-aout.c: New test.
35013 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
35015         [BZ #16714]
35016         * sysdeps/unix/sysv/linux/s390/bits/stat.h
35017         (struct stat): Rename member pad0 to __glibc_reserved0.
35019         [BZ #16712]
35020         * sysdeps/s390/s390-32/bits/wordsize.h
35021         (__WORDSIZE32_SIZE_ULONG): New define.
35022         * sysdeps/s390/s390-64/bits/wordsize.h
35023         (__WORDSIZE32_SIZE_ULONG): Likewise.
35024         * sysdeps/generic/stdint.h (SIZE_MAX):
35025         Define as UL if __WORDSIZE32_SIZE_ULONG.
35027         [BZ #16713]
35028         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
35029         (__glibc_reserved0): New variable.
35030         (sa_flags): Change type to int.
35032         * posix/Makefile (before-compile): Use += before-compile instead
35033         of a :=.
35035         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
35036         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
35038 2014-03-20  Andreas Schwab  <schwab@suse.de>
35040         [BZ #16743]
35041         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
35042         non-matching result from nscd.
35044 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
35046         * scripts/bench.py: Moved to ...
35047         * benchtests/scripts/bench.py: ... here.
35048         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
35050 2014-03-24  Andreas Schwab  <schwab@suse.de>
35052         [BZ #16002]
35053         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
35054         alloca_account and account alloca use for struct in6ailist.
35056 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
35058         [BZ #16284]
35059         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
35060         rounding mode to recompute results that overflow to infinity or
35061         underflow to zero.
35062         * math/auto-libm-test-in: Don't mark tests as expected to fail for
35063         bug 16284.
35064         * math/auto-libm-test-out: Regenerated.
35065         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
35066         (ccosh_test): Likewise.
35067         (csin_test_data): Use plus_oflow.
35068         (csin_test): Use ALL_RM_TEST.
35069         (csinh_test_data): Use plus_oflow.
35070         (csinh_test): Use ALL_RM_TEST.
35071         * sysdeps/i386/fpu/libm-test-ulps: Update.
35072         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35074 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
35076         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
35077         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
35078         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
35080         [BZ #16731]
35081         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
35082         when x - 1 is zero.
35083         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
35084         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
35085         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
35086         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
35087         argument is 1.
35088         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
35089         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
35090         zero.
35091         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
35092         * sysdeps/i386/fpu/libm-test-ulps: Update.
35093         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35095 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
35097         * scripts/bench.pl: Remove file.
35098         * scripts/bench.py: New benchmark script.
35099         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
35100         * benchtests/README: Mention python dependency.
35101         * scripts/pylintrc: New file.
35102         * scripts/pylint: New file.
35104         * bits/mathdef.h: Use #ifdef instead of #if.
35105         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
35106         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
35107         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
35108         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
35109         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
35110         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
35112 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35113             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
35115         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
35116         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
35117         and strpbrk-ppc64 objects.
35118         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35119         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
35120         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
35121         multiarch strpbrk for POWER7.
35122         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
35123         multiarch strpbrk for PPC64.
35124         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
35125         ifunc selector.
35126         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
35127         strpbrk for POWER7.
35129 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
35131         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
35132         (atan_test): Likewise.
35133         (atanh_test_data): Use NO_TEST_INLINE for two tests.
35134         (atanh_test): Use ALL_RM_TEST.
35135         (atan2_test_data): Likewise.
35136         (cabs_test): Likewise.
35137         (cacosh_test): Likewise.
35138         (carg_test): Likewise.
35139         (casin_test): Likewise.
35140         (casinh_test): Likewise.
35141         (cbrt_test): Likewise.
35142         (csqrt_test): Likewise.
35143         (erf_test): Likewise.
35144         (erfc_test): Likewise.
35145         (pow10_test): Likewise.
35146         (exp2_test): Likewise.
35147         (hypot_test): Likewise.
35148         (j0_test): Likewise.
35149         (j1_test): Likewise.
35150         (lgamma_test): Likewise.
35151         (gamma_test): Likewise.
35152         (sincos_test): Likewise.
35153         (tanh_test): Likewise.
35154         (y0_test): Likewise.
35155         (y1_test): Likewise.
35156         * sysdeps/i386/fpu/libm-test-ulps: Update.
35157         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35159 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35161         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
35162         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
35163         and strcspn-ppc64 objects.
35164         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35165         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
35166         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
35167         multiarch strcspn for POWER7.
35168         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
35169         multiarch strcspn for PPC64.
35170         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
35171         ifunc selector.
35172         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
35173         strcspn for POWER7.
35175 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
35177         * math/gen-libm-test.pl (generate_testfile): Expect only function
35178         name as argument to AUTO_TESTS_* and pass results for all rounding
35179         modes to parse_args.
35180         (parse_auto_input): Separate inputs of automatic tests from
35181         outputs before storing in %auto_tests.
35182         * math/libm-test.inc (acos_test_data): Update call to
35183         AUTO_TESTS_f_f.
35184         (acos_test): Use ALL_RM_TEST.
35185         (acos_tonearest_test_data): Remove.
35186         (acos_test_tonearest): Likewise.
35187         (acos_towardzero_test_data): Likewise.
35188         (acos_test_towardzero): Likewise.
35189         (acos_downward_test_data): Likewise.
35190         (acos_test_downward): Likewise.
35191         (acos_upward_test_data): Likewise.
35192         (acos_test_upward): Likewise.
35193         (acosh_test_data): Update call to AUTO_TESTS_f_f.
35194         (asin_test_data): Likewise.
35195         (asin_test): Use ALL_RM_TEST.
35196         (asin_tonearest_test_data): Remove.
35197         (asin_test_tonearest): Likewise.
35198         (asin_towardzero_test_data): Likewise.
35199         (asin_test_towardzero): Likewise.
35200         (asin_downward_test_data): Likewise.
35201         (asin_test_downward): Likewise.
35202         (asin_upward_test_data): Likewise.
35203         (asin_test_upward): Likewise.
35204         (asinh_test_data): Update call to AUTO_TESTS_f_f.
35205         (atan_test_data): Likewise.
35206         (atanh_test_data): Likewise.
35207         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
35208         (cabs_test_data): Update call to AUTO_TESTS_c_f.
35209         (carg_test_data): Likewise.
35210         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
35211         (ccos_test_data): Update call to AUTO_TESTS_c_c.
35212         (ccosh_test_data): Likewise.
35213         (cexp_test_data): Likewise.
35214         (clog_test_data): Likewise.
35215         (clog10_test_data): Likewise.
35216         (cos_test_data): Update call to AUTO_TESTS_f_f.
35217         (cos_test): Use ALL_RM_TEST.
35218         (cos_tonearest_test_data): Remove.
35219         (cos_test_tonearest): Likewise.
35220         (cos_towardzero_test_data): Likewise.
35221         (cos_test_towardzero): Likewise.
35222         (cos_downward_test_data): Likewise.
35223         (cos_test_downward): Likewise.
35224         (cos_upward_test_data): Likewise.
35225         (cos_test_upward): Likewise.
35226         (cosh_test_data): Update call to AUTO_TESTS_f_f.
35227         (cosh_test): Use ALL_RM_TEST.
35228         (cosh_tonearest_test_data): Remove.
35229         (cosh_test_tonearest): Likewise.
35230         (cosh_towardzero_test_data): Likewise.
35231         (cosh_test_towardzero): Likewise.
35232         (cosh_downward_test_data): Likewise.
35233         (cosh_test_downward): Likewise.
35234         (cosh_upward_test_data): Likewise.
35235         (cosh_test_upward): Likewise.
35236         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
35237         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
35238         (ctan_test_data): Likewise.
35239         (ctan_test): Use ALL_RM_TEST.
35240         (ctan_tonearest_test_data): Remove.
35241         (ctan_test_tonearest): Likewise.
35242         (ctan_towardzero_test_data): Likewise.
35243         (ctan_test_towardzero): Likewise.
35244         (ctan_downward_test_data): Likewise.
35245         (ctan_test_downward): Likewise.
35246         (ctan_upward_test_data): Likewise.
35247         (ctan_test_upward): Likewise.
35248         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
35249         (ctanh_test): Use ALL_RM_TEST.
35250         (ctanh_tonearest_test_data): Remove.
35251         (ctanh_test_tonearest): Likewise.
35252         (ctanh_towardzero_test_data): Likewise.
35253         (ctanh_test_towardzero): Likewise.
35254         (ctanh_downward_test_data): Likewise.
35255         (ctanh_test_downward): Likewise.
35256         (ctanh_upward_test_data): Likewise.
35257         (ctanh_test_upward): Likewise.
35258         (erf_test_data): Update call to AUTO_TESTS_f_f.
35259         (erfc_test_data): Likewise.
35260         (exp_test_data): Likewise.
35261         (exp_test): Use ALL_RM_TEST.
35262         (exp_tonearest_test_data): Remove.
35263         (exp_test_tonearest): Likewise.
35264         (exp_towardzero_test_data): Likewise.
35265         (exp_test_towardzero): Likewise.
35266         (exp_downward_test_data): Likewise.
35267         (exp_test_downward): Likewise.
35268         (exp_upward_test_data): Likewise.
35269         (exp_test_upward): Likewise.
35270         (exp10_test_data): Update call to AUTO_TESTS_f_f.
35271         (exp10_test): Use ALL_RM_TEST.
35272         (exp10_tonearest_test_data): Remove.
35273         (exp10_test_tonearest): Likewise.
35274         (exp10_towardzero_test_data): Likewise.
35275         (exp10_test_towardzero): Likewise.
35276         (exp10_downward_test_data): Likewise.
35277         (exp10_test_downward): Likewise.
35278         (exp10_upward_test_data): Likewise.
35279         (exp10_test_upward): Likewise.
35280         (exp2_test_data): Update call to AUTO_TESTS_f_f.
35281         (expm1_test_data): Likewise.
35282         (expm1_test): Use ALL_RM_TEST.
35283         (expm1_tonearest_test_data): Remove.
35284         (expm1_test_tonearest): Likewise.
35285         (expm1_towardzero_test_data): Likewise.
35286         (expm1_test_towardzero): Likewise.
35287         (expm1_downward_test_data): Likewise.
35288         (expm1_test_downward): Likewise.
35289         (expm1_upward_test_data): Likewise.
35290         (expm1_test_upward): Likewise.
35291         (fma_test_data): Update call to AUTO_TESTS_fff_f.
35292         (fma_test): Use ALL_RM_TEST.
35293         (fma_towardzero_test_data): Remove.
35294         (fma_test_towardzero): Likewise.
35295         (fma_downward_test_data): Likewise.
35296         (fma_test_downward): Likewise.
35297         (fma_upward_test_data): Likewise.
35298         (fma_test_upward): Likewise.
35299         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
35300         (j0_test_data): Update call to AUTO_TESTS_f_f.
35301         (j1_test_data): Likewise.
35302         (jn_test_data): Update call to AUTO_TESTS_if_f.
35303         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
35304         (log_test_data): Update call to AUTO_TESTS_f_f.
35305         (log10_test_data): Likewise.
35306         (log1p_test_data): Likewise.
35307         (log2_test_data): Likewise.
35308         (pow_test_data): Update call to AUTO_TESTS_ff_f.
35309         (pow_tonearest_test_data): Likewise.
35310         (sin_test_data): Update call to AUTO_TESTS_f_f.
35311         (sin_test): Use ALL_RM_TEST.
35312         (sin_tonearest_test_data): Remove.
35313         (sin_test_tonearest): Likewise.
35314         (sin_towardzero_test_data): Likewise.
35315         (sin_test_towardzero): Likewise.
35316         (sin_downward_test_data): Likewise.
35317         (sin_test_downward): Likewise.
35318         (sin_upward_test_data): Likewise.
35319         (sin_test_upward): Likewise.
35320         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
35321         (sinh_test_data): Update call to AUTO_TESTS_f_f.
35322         (sinh_test): Use ALL_RM_TEST.
35323         (sinh_tonearest_test_data): Remove.
35324         (sinh_test_tonearest): Likewise.
35325         (sinh_towardzero_test_data): Likewise.
35326         (sinh_test_towardzero): Likewise.
35327         (sinh_downward_test_data): Likewise.
35328         (sinh_test_downward): Likewise.
35329         (sinh_upward_test_data): Likewise.
35330         (sinh_test_upward): Likewise.
35331         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
35332         (sqrt_test): Use ALL_RM_TEST.
35333         (sqrt_tonearest_test_data): Remove.
35334         (sqrt_test_tonearest): Likewise.
35335         (sqrt_towardzero_test_data): Likewise.
35336         (sqrt_test_towardzero): Likewise.
35337         (sqrt_downward_test_data): Likewise.
35338         (sqrt_test_downward): Likewise.
35339         (sqrt_upward_test_data): Likewise.
35340         (sqrt_test_upward): Likewise.
35341         (tan_test_data): Update call to AUTO_TESTS_f_f.
35342         (tan_test): Use ALL_RM_TEST.
35343         (tan_tonearest_test_data): Remove.
35344         (tan_test_tonearest): Likewise.
35345         (tan_towardzero_test_data): Likewise.
35346         (tan_test_towardzero): Likewise.
35347         (tan_downward_test_data): Likewise.
35348         (tan_test_downward): Likewise.
35349         (tan_upward_test_data): Likewise.
35350         (tan_test_upward): Likewise.
35351         (tanh_test_data): Update call to AUTO_TESTS_f_f.
35352         (tgamma_test_data): Likewise.
35353         (y0_test_data): Likewise.
35354         (y1_test_data): Likewise.
35355         (yn_test_data): Update call to AUTO_TESTS_if_f.
35356         (main): Do not call removed functions.
35358 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
35360         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
35361         (ldexp_test_data): Remove.
35362         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
35363         scalbn_test_data.
35364         (scalb_test): Use ALL_RM_TEST.
35366 2014-03-19  Andreas Schwab  <schwab@suse.de>
35368         * nscd/nscd.service: Also invalidate netgroup cache on reload.
35370 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
35372         [BZ #16649]
35373         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
35374         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
35375         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
35376         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35377         (__ASSUME_PREADV): Undefine.
35378         (__ASSUME_PWRITEV): Likewise.
35380 2014-03-18  Roland McGrath  <roland@hack.frob.com>
35382         * bits/mman-linux.h: Add comment about non-Linux use.
35383         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
35384         bits/mman-linux.h resting place.
35386         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
35387         * bits/mman-linux.h: ... here.
35389 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35391         * conform/conformtest.pl: Add standard definition when calling C
35392         preprocessor on data files.
35393         (checknamespace): Remove unused variable.
35395 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
35397         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
35398         minus_oflow, plus_uflow and minus_uflow in expected results.
35399         * math/libm-test.inc (scalbn_test_data): Add more tests of
35400         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
35401         minus_uflow.
35402         (scalbn_test): Use ALL_RM_TEST.
35403         (scalbln_test_data): Add more tests of negative arguments.  Use
35404         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
35405         (scalbln_test): Use ALL_RM_TEST.
35407 2014-03-18  Roland McGrath  <roland@hack.frob.com>
35409         * scripts/abilist.awk: Ignore symbols marked with .hidden.
35411 2014-03-18  Will Newton  <will.newton@linaro.org>
35413         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
35414         inaccurate comment.
35416 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
35418         * Makerules [!subdir] (check-abi): Exit with error status if a
35419         test failed.
35421 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
35423         * math/libm-test.inc (nearbyint_test_data): Include all tests used
35424         for rint.  Include results for all rounding modes.
35425         (nearbyint_test): Use ALL_RM_TEST.
35426         (rint_test_data): Include all tests used for nearbyint.
35428 2014-03-17  Will Newton  <will.newton@linaro.org>
35430         * nptl/sysdeps/pthread/pthread.h: Revert previous
35431         change.
35433         * sysdeps/generic/ldsodefs.h: Revert previous
35434         change.
35436         * libio/genops.c: Revert previous change.
35437         * libio/libioP.h: Likewise.
35438         * stdio-common/vfprintf.c: Likewise.
35440         * sysdeps/generic/math_private.h: Revert previous
35441         change.
35443         * sysdeps/generic/math_private.h: Check whether
35444         HAVE_RM_CTX is defined with #ifdef rather
35445         than #if.
35447         * argp/argp-fmtstream.h: Check whether
35448         __STRICT_ANSI__ is defined with #ifdef rather
35449         than #if.
35450         * argp/argp.h: Likewise.
35452         * libio/genops.c: Check whether
35453         _IO_JUMPS_OFFSET is defined with #ifdef rather
35454         than #if.
35455         * libio/libioP.h: Likewise.
35456         * stdio-common/vfprintf.c: Likewise.
35458         * sysdeps/generic/ldsodefs.h: Check whether
35459         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
35460         than #if.
35462         * nptl/sysdeps/pthread/pthread.h: Check
35463         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
35464         its value.
35466 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
35468         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
35469         setting O_APPEND.
35470         * libio/tst-ftell-active-handler.c (do_append_test): Add a
35471         test case.
35473         [BZ #16680]
35474         * libio/fileops.c (_IO_file_open): Seek to end of file but
35475         don't cache the offset.
35476         (get_file_offset): Remove function.
35477         (do_ftell): Use cached offset when available.
35478         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
35479         don't cache the offset.
35480         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
35481         case.
35482         (do_one_test): Call it.
35483         (do_ftell_test): Fix up expected old offset for a+ mode.
35484         * libio/wfileops.c (do_ftell_wide): Used cached offset when
35485         available.
35487         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
35488         up test status with function return status.
35489         (do_write_test): Likewise.
35490         (do_append_test): Likewise.
35492         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
35493         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
35494         Remove.
35496 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
35498         * math/gen-libm-test.pl (parse_args): Handle results specified for
35499         each rounding mode separately.
35500         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
35501         tests and results from lrint_tonearest_test_data,
35502         lrint_towardzero_test_data, lrint_downward_test_data and
35503         lrint_upward_test_data.
35504         (lrint_test): Use ALL_RM_TEST.
35505         (lrint_tonearest_test_data): Remove.
35506         (lrint_test_tonearest): Likewise.
35507         (lrint_towardzero_test_data): Likewise.
35508         (lrint_test_towardzero): Likewise.
35509         (lrint_downward_test_data): Likewise.
35510         (lrint_test_downward): Likewise.
35511         (lrint_upward_test_data): Likewise.
35512         (lrint_test_upward): Likewise.
35513         (llrint_test_data): Merge in per-rounding-mode tests and results
35514         from llrint_tonearest_test_data, llrint_towardzero_test_data,
35515         llrint_downward_test_data and llrint_upward_test_data.
35516         (llrint_test): Use ALL_RM_TEST.
35517         (llrint_tonearest_test_data): Remove.
35518         (llrint_test_tonearest): Likewise.
35519         (llrint_towardzero_test_data): Likewise.
35520         (llrint_test_towardzero): Likewise.
35521         (llrint_downward_test_data): Likewise.
35522         (llrint_test_downward): Likewise.
35523         (llrint_upward_test_data): Likewise.
35524         (llrint_test_upward): Likewise.
35525         (rint_test_data): Merge in per-rounding-mode tests and results
35526         from rint_tonearest_test_data, rint_towardzero_test_data,
35527         rint_downward_test_data and rint_upward_test_data.  Add
35528         per-rounding-mode results for tests not in those arrays.
35529         (rint_test): Use ALL_RM_TEST.
35530         (rint_tonearest_test_data): Remove.
35531         (rint_test_tonearest): Likewise.
35532         (rint_towardzero_test_data): Likewise.
35533         (rint_test_towardzero): Likewise.
35534         (rint_downward_test_data): Likewise.
35535         (rint_test_downward): Likewise.
35536         (rint_upward_test_data): Likewise.
35537         (rint_test_upward): Likewise.
35538         (main): Don't call removed functions.
35540 2014-03-14  Roland McGrath  <roland@hack.frob.com>
35542         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
35543         "Compiled on ..." crapola.  It is anti-useful.
35545 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
35547         * scripts/evaluate-test.sh: Handle fourth argument to determine
35548         whether test run should stop on failure.
35549         * Makeconfig (stop-on-test-failure): New variable.
35550         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
35551         $(stop-on-test-failure).
35552         * Makefile (tests): Give a summary of results from testing and
35553         exit with failure status if they include an ERROR or FAIL.
35554         (xtests): Likewise.
35555         * manual/install.texi (Configuring and compiling): Mention
35556         stop-on-test-failure=y.
35557         * INSTALL: Regenerated.
35559 2014-03-14  Roland McGrath  <roland@hack.frob.com>
35561         * scripts/versionlist.awk: New file.
35562         * Makerules [$(build-shared) = yes]
35563         (postclean-generated): Add Versions.def, not Versions.def.v and
35564         Versions.def.v.i.
35565         ($(common-objpfx)Versions.def.v.i): Target removed.
35566         ($(common-objpfx)Versions.def): New target.
35567         ($(common-objpfx)Versions.all): Depend on that rather that
35568         $(common-objpfx)Versions.def.v.
35569         * Versions.def: File removed.
35571         * Makeconfig (+gccwarn): Add -Wundef.
35572         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
35573         a dl-sysdep.h breaking its contract.
35574         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
35575         * include/stackinfo.h: New file.
35576         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
35577         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
35578         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
35579         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
35580         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
35581         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
35582         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35583         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35584         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35585         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35586         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35587         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
35588         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35589         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35590         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35592 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35594         [BZ #16707]
35595         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
35596         implementation.
35597         * math/libm-test.inc (round_test_data): Add more tests.
35599         [BZ #16706]
35600         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
35601         implementation.
35602         * math/libm-test.inc (nearbyint_test_data): Add more tests.
35604         [BZ #16701]
35605         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
35606         implementation.
35607         * math/libm-test.inc (ceil_test_data): Add more tests.
35609         * math/libm-test.inc (trunc_test_data): Add more tests related to
35610         BZ#16414.
35612 2014-03-14  Roland McGrath  <roland@hack.frob.com>
35614         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
35615         with #if rather than #ifdef.
35616         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
35618 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
35620         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
35621         first.  Disable AVX-512 GCC support if assembler doesn't support
35622         it.
35623         * sysdeps/x86_64/configure: Regenerated.
35625 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
35627         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
35628         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
35629         (__old_pthread_attr_setstack): Likewise.
35630         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
35631         [!_STACK_GROWS_DOWN]: Likewise.
35633 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
35635         * config.make.in (have-bash2): Delete.
35636         * configure.ac (libc_cv_have_bash2): Delete.
35637         * configure: Regenerate.
35638         * elf/Makefile (common-ldd-rewrite): Rename to ...
35639         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
35640         (sh-ldd-rewrite): Delete.
35641         (bash-ldd-rewrite): Delete.
35642         (have-bash2): Delete checks.
35643         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
35644         ldd-rewrite.
35646         * config.make.in (have-ksh): Delete.
35647         (KSH): Delete.
35648         * configure.ac (libc_cv_have_ksh): Delete.
35649         * configure: Regenerate.
35651         * elf/Makefile: Delete $(have-ksh) check.
35652         ($(objpfx)sotruss): Change KSH to BASH.
35653         * elf/sotruss.ksh: Rename to ...
35654         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
35655         function style to match POSIX.  Drop ksh vim mode setting.
35657         * manual/time.texi (Specifying the Time Zone with TZ): Change
35658         Tuesday to Thursday.
35660         * debug/tst-longjmp_chk2.c: Update header comment.
35661         (stackoverflow_handler): Add comment.  Call assert on pass value.
35663 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
35665         [BZ #16194]
35666         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
35667         (HAVE_AVX512_ASM_SUPPORT): Likewise.
35668         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
35669         (La_x86_64_vector): Add zmm.
35670         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
35671         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
35672         ($(objpfx)tst-audit10): New target.
35673         ($(objpfx)tst-audit10.out): Likewise.
35674         (tst-audit10-ENV): New.
35675         (AVX512-CFLAGS): Likewise.
35676         (CFLAGS-tst-audit10.c): Likewise.
35677         (CFLAGS-tst-auditmod10a.c): Likewise.
35678         (CFLAGS-tst-auditmod10b.c): Likewise.
35679         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
35680         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
35681         * sysdeps/x86_64/configure: Regenerated.
35682         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
35683         AVX-512 zmm register support.
35684         (_dl_x86_64_save_sse): Likewise.
35685         (_dl_x86_64_restore_sse): Likewise.
35686         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
35687         size vector registers.
35688         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
35689         (ZMM_SIZE): Likewise.
35690         * sysdeps/x86_64/tst-audit10.c: New file.
35691         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
35692         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
35694 2014-03-13  Roland McGrath  <roland@hack.frob.com>
35696         * configure.ac (HAVE_EHDR_START): New check.
35697         * configure: Regenerated.
35698         * config.h.in (HAVE_EHDR_START): New #undef.
35699         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
35700         assuming the lowest-addressed segment maps the start of the file.
35702 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
35704         * INSTALL: Regenerated.
35706 2014-03-13  Will Newton  <will.newton@linaro.org>
35708         * manual/setjmp.texi (System V contexts): Improve
35709         clarity and grammar of documentation.
35711 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
35713         [BZ #16381]
35714         * elf/Makefile (tests): Add tst-pie2.
35715         (tests-pie): Add tst-pie2.
35716         * elf/tst-pie2.c: New file.
35717         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
35718         for ET_EXEC.
35719         * elf/rtld.c (map_doit): Load executable as lt_executable.
35720         (dl_main): Likewise.
35722 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
35724         [BZ #16642]
35725         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35726         (__ASSUME_PSELECT): Undefine.
35728 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35730         [BZ #16689]
35731         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
35732         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
35733         static build.
35734         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
35735         selector for static builds.
35737 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
35739         [BZ #16695]
35740         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
35741         key in the buffer.
35743 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35745         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
35746         IFUNC selector for static builds.
35748 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
35750         * sysdeps/mips/math_private.h [__mips_hard_float]
35751         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
35752         libc_feresetround_mips_ctx.
35753         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
35754         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
35755         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
35757         [BZ #16677]
35758         * math/s_nextafter.c (__nextafter): Do not return value from
35759         overflowing computation.
35760         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
35761         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
35762         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
35763         Likewise.
35764         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
35765         Likewise.
35766         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
35767         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
35769 2014-03-11  Roland McGrath  <roland@hack.frob.com>
35771         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
35772         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
35773         Move sfi_sp use from the load-multiple (that no longer sets sp) to
35774         the new mov targetting sp.
35776 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35778         [BZ #16683]
35779         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
35780         Define it for static builds as well.
35781         (NO_BZERO_IMPL): Likewise.
35783 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
35785         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
35786         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
35787         multiarch strspn for PPC64.
35788         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
35789         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
35790         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
35791         (__libc_ifunc_impl_list): Likewise.
35792         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
35793         multiarch optimizations
35794         * string/strspn.c (strspn): Using macro to redefine symbol name.
35796 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
35797             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35799         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
35800         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
35801         multiarch strncat for PPC64.
35802         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
35803         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
35804         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
35805         (__libc_ifunc_impl_list): Likewise.
35806         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
35807         multiarch optimizations
35809 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
35811         [BZ #16639]
35812         * nscd/nscd.service: Make service type forking.
35814 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35816         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
35817         sign in non default rounding modes.
35818         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
35820 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
35822         * math/libm-test.inc (ALL_RM_TEST): New macro.
35823         (ceil_test): Use ALL_RM_TEST.
35824         (cimag_test): Likewise.
35825         (conj_test): Likewise.
35826         (copysign_test): Likewise.
35827         (cproj_test): Likewise.
35828         (creal_test): Likewise.
35829         (fabs_test): Likewise.
35830         (floor_test): Likewise.
35831         (fmax_test): Likewise.
35832         (fmin_test): Likewise.
35833         (fmod_test): Likewise.
35834         (fpclassify_test): Likewise.
35835         (frexp_test): Likewise.
35836         (ilogb_test): Likewise.
35837         (isfinite_test): Likewise.
35838         (finite_test): Likewise.
35839         (isgreater_test): Likewise.
35840         (isgreaterequal_test): Likewise.
35841         (isinf_test): Likewise.
35842         (isless_test): Likewise.
35843         (islessequal_test): Likewise.
35844         (islessgreater_test): Likewise.
35845         (isnan_test): Likewise.
35846         (isnormal_test): Likewise.
35847         (issignaling_test): Likewise.
35848         (isunordered_test): Likewise.
35849         (logb_test): Likewise.
35850         (logb_downward_test_data): Remove.
35851         (logb_test_downward): Likewise.
35852         (lround_test): Use ALL_RM_TEST.
35853         (llround_test): Likewise.
35854         (modf_test): Likewise.
35855         (nexttoward_test): Likewise.
35856         (remainder_test): Likewise.
35857         (drem_test): Likewise.
35858         (remainder_tonearest_test_data): Likewise.
35859         (remainder_test_tonearest): Likewise.
35860         (drem_test_tonearest): Likewise.
35861         (remainder_towardzero_test_data): Likewise.
35862         (remainder_test_towardzero): Likewise.
35863         (drem_test_towardzero): Likewise.
35864         (remainder_downward_test_data): Likewise.
35865         (remainder_test_downward): Likewise.
35866         (drem_test_downward): Likewise.
35867         (remainder_upward_test_data): Likewise.
35868         (remainder_test_upward): Likewise.
35869         (drem_test_upward): Likewise.
35870         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
35871         (round_test): Use ALL_RM_TEST.
35872         (signbit_test): Likewise.
35873         (trunc_test): Likewise.
35874         (significand_test): Likewise.
35875         (main): Don't call removed functions.
35877 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
35879         [BZ #16674]
35880         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
35881         || __USE_XOPEN2K8].
35882         (ILL_ILLOPN): Likewise.
35883         (ILL_ILLADR): Likewise.
35884         (ILL_ILLTRP): Likewise.
35885         (ILL_PRVOPC): Likewise.
35886         (ILL_PRVREG): Likewise.
35887         (ILL_COPROC): Likewise.
35888         (ILL_BADSTK): Likewise.
35889         (FPE_INTDIV): Likewise.
35890         (FPE_INTOVF): Likewise.
35891         (FPE_FLTDIV): Likewise.
35892         (FPE_FLTOVF): Likewise.
35893         (FPE_FLTUND): Likewise.
35894         (FPE_FLTRES): Likewise.
35895         (FPE_FLTINV): Likewise.
35896         (FPE_FLTSUB): Likewise.
35897         (SEGV_MAPERR): Likewise.
35898         (SEGV_ACCERR): Likewise.
35899         (BUS_ADRALN): Likewise.
35900         (BUS_ADRERR): Likewise.
35901         (BUS_OBJERR): Likewise.
35902         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35903         (TRAP_TRACE): Likewise.
35904         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35905         __USE_XOPEN2K8].
35906         (CLD_KILLED): Likewise.
35907         (CLD_DUMPED): Likewise.
35908         (CLD_TRAPPED): Likewise.
35909         (CLD_STOPPED): Likewise.
35910         (CLD_CONTINUED): Likewise.
35911         (POLL_IN): Likewise.
35912         (POLL_OUT): Likewise.
35913         (POLL_MSG): Likewise.
35914         (POLL_ERR): Likewise.
35915         (POLL_PRI): Likewise.
35916         (POLL_HUP): Likewise.
35917         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
35918         Likewise.
35919         (ILL_ILLOPN): Likewise.
35920         (ILL_ILLADR): Likewise.
35921         (ILL_ILLTRP): Likewise.
35922         (ILL_PRVOPC): Likewise.
35923         (ILL_PRVREG): Likewise.
35924         (ILL_COPROC): Likewise.
35925         (ILL_BADSTK): Likewise.
35926         (FPE_INTDIV): Likewise.
35927         (FPE_INTOVF): Likewise.
35928         (FPE_FLTDIV): Likewise.
35929         (FPE_FLTOVF): Likewise.
35930         (FPE_FLTUND): Likewise.
35931         (FPE_FLTRES): Likewise.
35932         (FPE_FLTINV): Likewise.
35933         (FPE_FLTSUB): Likewise.
35934         (SEGV_MAPERR): Likewise.
35935         (SEGV_ACCERR): Likewise.
35936         (BUS_ADRALN): Likewise.
35937         (BUS_ADRERR): Likewise.
35938         (BUS_OBJERR): Likewise.
35939         (BUS_MCEERR_AR): Likewise.
35940         (BUS_MCEERR_AO): Likewise.
35941         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35942         (TRAP_TRACE): Likewise.
35943         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35944         __USE_XOPEN2K8].
35945         (CLD_KILLED): Likewise.
35946         (CLD_DUMPED): Likewise.
35947         (CLD_TRAPPED): Likewise.
35948         (CLD_STOPPED): Likewise.
35949         (CLD_CONTINUED): Likewise.
35950         (POLL_IN): Likewise.
35951         (POLL_OUT): Likewise.
35952         (POLL_MSG): Likewise.
35953         (POLL_ERR): Likewise.
35954         (POLL_PRI): Likewise.
35955         (POLL_HUP): Likewise.
35956         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
35957         (ILL_ILLOPN): Likewise.
35958         (ILL_ILLADR): Likewise.
35959         (ILL_ILLTRP): Likewise.
35960         (ILL_PRVOPC): Likewise.
35961         (ILL_PRVREG): Likewise.
35962         (ILL_COPROC): Likewise.
35963         (ILL_BADSTK): Likewise.
35964         (FPE_INTDIV): Likewise.
35965         (FPE_INTOVF): Likewise.
35966         (FPE_FLTDIV): Likewise.
35967         (FPE_FLTOVF): Likewise.
35968         (FPE_FLTUND): Likewise.
35969         (FPE_FLTRES): Likewise.
35970         (FPE_FLTINV): Likewise.
35971         (FPE_FLTSUB): Likewise.
35972         (SEGV_MAPERR): Likewise.
35973         (SEGV_ACCERR): Likewise.
35974         (BUS_ADRALN): Likewise.
35975         (BUS_ADRERR): Likewise.
35976         (BUS_OBJERR): Likewise.
35977         (BUS_MCEERR_AR): Likewise.
35978         (BUS_MCEERR_AO): Likewise.
35979         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35980         (TRAP_TRACE): Likewise.
35981         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35982         __USE_XOPEN2K8].
35983         (CLD_KILLED): Likewise.
35984         (CLD_DUMPED): Likewise.
35985         (CLD_TRAPPED): Likewise.
35986         (CLD_STOPPED): Likewise.
35987         (CLD_CONTINUED): Likewise.
35988         (POLL_IN): Likewise.
35989         (POLL_OUT): Likewise.
35990         (POLL_MSG): Likewise.
35991         (POLL_ERR): Likewise.
35992         (POLL_PRI): Likewise.
35993         (POLL_HUP): Likewise.
35994         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
35995         Likewise.
35996         (ILL_ILLOPN): Likewise.
35997         (ILL_ILLADR): Likewise.
35998         (ILL_ILLTRP): Likewise.
35999         (ILL_PRVOPC): Likewise.
36000         (ILL_PRVREG): Likewise.
36001         (ILL_COPROC): Likewise.
36002         (ILL_BADSTK): Likewise.
36003         (ILL_BADIADDR): Likewise.
36004         (ILL_BREAK): Likewise.
36005         (FPE_INTDIV): Likewise.
36006         (FPE_INTOVF): Likewise.
36007         (FPE_FLTDIV): Likewise.
36008         (FPE_FLTOVF): Likewise.
36009         (FPE_FLTUND): Likewise.
36010         (FPE_FLTRES): Likewise.
36011         (FPE_FLTINV): Likewise.
36012         (FPE_FLTSUB): Likewise.
36013         (FPE_DECOVF): Likewise.
36014         (FPE_DECDIV): Likewise.
36015         (FPE_DECERR): Likewise.
36016         (FPE_INVASC): Likewise.
36017         (FPE_INVDEC): Likewise.
36018         (SEGV_MAPERR): Likewise.
36019         (SEGV_ACCERR): Likewise.
36020         (SEGV_PSTKOVF): Likewise.
36021         (BUS_ADRALN): Likewise.
36022         (BUS_ADRERR): Likewise.
36023         (BUS_OBJERR): Likewise.
36024         (BUS_MCEERR_AR): Likewise.
36025         (BUS_MCEERR_AO): Likewise.
36026         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36027         (TRAP_TRACE): Likewise.
36028         (TRAP_BRANCH): Likewise.
36029         (TRAP_HWBKPT): Likewise.
36030         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36031         __USE_XOPEN2K8].
36032         (CLD_KILLED): Likewise.
36033         (CLD_DUMPED): Likewise.
36034         (CLD_TRAPPED): Likewise.
36035         (CLD_STOPPED): Likewise.
36036         (CLD_CONTINUED): Likewise.
36037         (POLL_IN): Likewise.
36038         (POLL_OUT): Likewise.
36039         (POLL_MSG): Likewise.
36040         (POLL_ERR): Likewise.
36041         (POLL_PRI): Likewise.
36042         (POLL_HUP): Likewise.
36043         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
36044         (ILL_ILLOPN): Likewise.
36045         (ILL_ILLADR): Likewise.
36046         (ILL_ILLTRP): Likewise.
36047         (ILL_PRVOPC): Likewise.
36048         (ILL_PRVREG): Likewise.
36049         (ILL_COPROC): Likewise.
36050         (ILL_BADSTK): Likewise.
36051         (FPE_INTDIV): Likewise.
36052         (FPE_INTOVF): Likewise.
36053         (FPE_FLTDIV): Likewise.
36054         (FPE_FLTOVF): Likewise.
36055         (FPE_FLTUND): Likewise.
36056         (FPE_FLTRES): Likewise.
36057         (FPE_FLTINV): Likewise.
36058         (FPE_FLTSUB): Likewise.
36059         (SEGV_MAPERR): Likewise.
36060         (SEGV_ACCERR): Likewise.
36061         (BUS_ADRALN): Likewise.
36062         (BUS_ADRERR): Likewise.
36063         (BUS_OBJERR): Likewise.
36064         (BUS_MCEERR_AR): Likewise.
36065         (BUS_MCEERR_AO): Likewise.
36066         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36067         (TRAP_TRACE): Likewise.
36068         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36069         __USE_XOPEN2K8].
36070         (CLD_KILLED): Likewise.
36071         (CLD_DUMPED): Likewise.
36072         (CLD_TRAPPED): Likewise.
36073         (CLD_STOPPED): Likewise.
36074         (CLD_CONTINUED): Likewise.
36075         (POLL_IN): Likewise.
36076         (POLL_OUT): Likewise.
36077         (POLL_MSG): Likewise.
36078         (POLL_ERR): Likewise.
36079         (POLL_PRI): Likewise.
36080         (POLL_HUP): Likewise.
36081         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
36082         (ILL_ILLOPN): Likewise.
36083         (ILL_ILLADR): Likewise.
36084         (ILL_ILLTRP): Likewise.
36085         (ILL_PRVOPC): Likewise.
36086         (ILL_PRVREG): Likewise.
36087         (ILL_COPROC): Likewise.
36088         (ILL_BADSTK): Likewise.
36089         (FPE_INTDIV): Likewise.
36090         (FPE_INTOVF): Likewise.
36091         (FPE_FLTDIV): Likewise.
36092         (FPE_FLTOVF): Likewise.
36093         (FPE_FLTUND): Likewise.
36094         (FPE_FLTRES): Likewise.
36095         (FPE_FLTINV): Likewise.
36096         (FPE_FLTSUB): Likewise.
36097         (SEGV_MAPERR): Likewise.
36098         (SEGV_ACCERR): Likewise.
36099         (BUS_ADRALN): Likewise.
36100         (BUS_ADRERR): Likewise.
36101         (BUS_OBJERR): Likewise.
36102         (BUS_MCEERR_AR): Likewise.
36103         (BUS_MCEERR_AO): Likewise.
36104         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36105         (TRAP_TRACE): Likewise.
36106         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36107         __USE_XOPEN2K8].
36108         (CLD_KILLED): Likewise.
36109         (CLD_DUMPED): Likewise.
36110         (CLD_TRAPPED): Likewise.
36111         (CLD_STOPPED): Likewise.
36112         (CLD_CONTINUED): Likewise.
36113         (POLL_IN): Likewise.
36114         (POLL_OUT): Likewise.
36115         (POLL_MSG): Likewise.
36116         (POLL_ERR): Likewise.
36117         (POLL_PRI): Likewise.
36118         (POLL_HUP): Likewise.
36119         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
36120         (ILL_ILLOPN): Likewise.
36121         (ILL_ILLADR): Likewise.
36122         (ILL_ILLTRP): Likewise.
36123         (ILL_PRVOPC): Likewise.
36124         (ILL_PRVREG): Likewise.
36125         (ILL_COPROC): Likewise.
36126         (ILL_BADSTK): Likewise.
36127         (FPE_INTDIV): Likewise.
36128         (FPE_INTOVF): Likewise.
36129         (FPE_FLTDIV): Likewise.
36130         (FPE_FLTOVF): Likewise.
36131         (FPE_FLTUND): Likewise.
36132         (FPE_FLTRES): Likewise.
36133         (FPE_FLTINV): Likewise.
36134         (FPE_FLTSUB): Likewise.
36135         (SEGV_MAPERR): Likewise.
36136         (SEGV_ACCERR): Likewise.
36137         (BUS_ADRALN): Likewise.
36138         (BUS_ADRERR): Likewise.
36139         (BUS_OBJERR): Likewise.
36140         (BUS_MCEERR_AR): Likewise.
36141         (BUS_MCEERR_AO): Likewise.
36142         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36143         (TRAP_TRACE): Likewise.
36144         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36145         __USE_XOPEN2K8].
36146         (CLD_KILLED): Likewise.
36147         (CLD_DUMPED): Likewise.
36148         (CLD_TRAPPED): Likewise.
36149         (CLD_STOPPED): Likewise.
36150         (CLD_CONTINUED): Likewise.
36151         (POLL_IN): Likewise.
36152         (POLL_OUT): Likewise.
36153         (POLL_MSG): Likewise.
36154         (POLL_ERR): Likewise.
36155         (POLL_PRI): Likewise.
36156         (POLL_HUP): Likewise.
36157         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
36158         (ILL_ILLOPN): Likewise.
36159         (ILL_ILLADR): Likewise.
36160         (ILL_ILLTRP): Likewise.
36161         (ILL_PRVOPC): Likewise.
36162         (ILL_PRVREG): Likewise.
36163         (ILL_COPROC): Likewise.
36164         (ILL_BADSTK): Likewise.
36165         (ILL_DBLFLT): Likewise.
36166         (ILL_HARDWALL): Likewise.
36167         (FPE_INTDIV): Likewise.
36168         (FPE_INTOVF): Likewise.
36169         (FPE_FLTDIV): Likewise.
36170         (FPE_FLTOVF): Likewise.
36171         (FPE_FLTUND): Likewise.
36172         (FPE_FLTRES): Likewise.
36173         (FPE_FLTINV): Likewise.
36174         (FPE_FLTSUB): Likewise.
36175         (SEGV_MAPERR): Likewise.
36176         (SEGV_ACCERR): Likewise.
36177         (BUS_ADRALN): Likewise.
36178         (BUS_ADRERR): Likewise.
36179         (BUS_OBJERR): Likewise.
36180         (BUS_MCEERR_AR): Likewise.
36181         (BUS_MCEERR_AO): Likewise.
36182         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36183         (TRAP_TRACE): Likewise.
36184         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36185         __USE_XOPEN2K8].
36186         (CLD_KILLED): Likewise.
36187         (CLD_DUMPED): Likewise.
36188         (CLD_TRAPPED): Likewise.
36189         (CLD_STOPPED): Likewise.
36190         (CLD_CONTINUED): Likewise.
36191         (POLL_IN): Likewise.
36192         (POLL_OUT): Likewise.
36193         (POLL_MSG): Likewise.
36194         (POLL_ERR): Likewise.
36195         (POLL_PRI): Likewise.
36196         (POLL_HUP): Likewise.
36197         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
36198         (ILL_ILLOPN): Likewise.
36199         (ILL_ILLADR): Likewise.
36200         (ILL_ILLTRP): Likewise.
36201         (ILL_PRVOPC): Likewise.
36202         (ILL_PRVREG): Likewise.
36203         (ILL_COPROC): Likewise.
36204         (ILL_BADSTK): Likewise.
36205         (FPE_INTDIV): Likewise.
36206         (FPE_INTOVF): Likewise.
36207         (FPE_FLTDIV): Likewise.
36208         (FPE_FLTOVF): Likewise.
36209         (FPE_FLTUND): Likewise.
36210         (FPE_FLTRES): Likewise.
36211         (FPE_FLTINV): Likewise.
36212         (FPE_FLTSUB): Likewise.
36213         (SEGV_MAPERR): Likewise.
36214         (SEGV_ACCERR): Likewise.
36215         (BUS_ADRALN): Likewise.
36216         (BUS_ADRERR): Likewise.
36217         (BUS_OBJERR): Likewise.
36218         (BUS_MCEERR_AR): Likewise.
36219         (BUS_MCEERR_AO): Likewise.
36220         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36221         (TRAP_TRACE): Likewise.
36222         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36223         __USE_XOPEN2K8].
36224         (CLD_KILLED): Likewise.
36225         (CLD_DUMPED): Likewise.
36226         (CLD_TRAPPED): Likewise.
36227         (CLD_STOPPED): Likewise.
36228         (CLD_CONTINUED): Likewise.
36229         (POLL_IN): Likewise.
36230         (POLL_OUT): Likewise.
36231         (POLL_MSG): Likewise.
36232         (POLL_ERR): Likewise.
36233         (POLL_PRI): Likewise.
36234         (POLL_HUP): Likewise.
36235         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
36236         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
36238         [BZ #16670]
36239         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
36240         before #include of <time.h>.
36241         [!__USE_XOPEN2K] (__need_timespec): Likewise.
36242         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
36243         (test-xfail-UNIX98/sched.h/conform): Likewise.
36245 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
36247         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
36248         error absence of trapping exception support.
36249         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
36251 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
36253         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
36254         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
36255         * timezone/Makefile (testdata): Move definition above include of
36256         Rules.
36257         (test-zones): New variable.
36258         (tests-special): Add zone files.
36259         (build-testdata): Use $(evaluate-test).
36261         * elf/Makefile (tests-special): Rename tests to end with .out.
36262         ($(objpfx)noload-mem): Likewise.
36263         ($(objpfx)tst-leaks1-mem): Likewise.
36264         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
36265         * iconv/Makefile (xtests-special): Change test-iconvconfig to
36266         $(objpfx)test-iconvconfig.out.
36267         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
36268         set -e inside subshell and redirect output to file.
36269         * iconvdata/Makefile (generated): Rename tests to end with .out.
36270         Correct type.
36271         (tests-special): Rename tests to end with .out.
36272         ($(objpfx)mtrace-tst-loading): Likewise.
36273         * intl/Makefile (generated): Likewise.
36274         (tests-special): Likewise.
36275         ($(objpfx)mtrace-tst-gettext): Likewise.
36276         * misc/Makefile (generated): Likewise.
36277         (tests-special): Likewise.
36278         ($(objpfx)tst-error1-mem): Likewise.
36279         * nptl/Makefile (tests-special): Likewise.
36280         ($(objpfx)tst-stack3-mem): Likewise.
36281         (generated): Likewise.
36282         * posix/Makefile (generated): Likewise.
36283         (tests-special): Likewise.
36284         (xtests-special): Likewise.
36285         ($(objpfx)tst-fnmatch-mem): Likewise.
36286         ($(objpfx)bug-regex2-mem): Likewise.
36287         ($(objpfx)bug-regex14-mem): Likewise.
36288         ($(objpfx)bug-regex21-mem): Likewise.
36289         ($(objpfx)bug-regex31-mem): Likewise.
36290         ($(objpfx)tst-vfork3-mem): Likewise.
36291         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
36292         ($(objpfx)tst-pcre-mem): Likewise.
36293         ($(objpfx)tst-boost-mem): Likewise.
36294         ($(objpfx)bug-ga2-mem): Likewise.
36295         ($(objpfx)bug-glob2-mem): Likewise.
36296         * resolv/Makefile (generate): Likewise.
36297         (tests-special): Likewise.
36298         (xtests-special): Likewise.
36299         (generated): Likewise.
36300         ($(objpfx)mtrace-tst-leaks): Likewise.
36301         ($(objpfx)mtrace-tst-leaks2): Likewise.
36303         * scripts/merge-test-results.sh: New file.
36304         * Makefile (tests-special-notdir): New variable.
36305         (tests): Run merge-test-results.sh.
36306         (xtests): Likewise.
36307         * Rules (tests-special-notdir): New variable.
36308         (xtests-special-notdir): Likewise.
36309         (tests): Run merge-test-results.sh
36310         (xtests): Likewise.
36312         * Makeconfig (test-xfail-name): New variable.
36313         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
36314         compute variable name for expected failures.
36315         * conform/Makefile (conformtest-headers-data): New variable.
36316         (conformtest-standards): Likewise.
36317         (conformtest-headers-ISO): Likewise.
36318         (conformtest-headers-ISO99): Likewise.
36319         (conformtest-headers-ISO11): Likewise.
36320         (conformtest-headers-POSIX): Likewise.
36321         (conformtest-headers-XPG3): Likewise.
36322         (conformtest-headers-XPG4): Likewise.
36323         (conformtest-headers-UNIX98): Likewise.
36324         (conformtest-headers-XOPEN2K): Likewise.
36325         (conformtest-headers-POSIX2008): Likewise.
36326         (conformtest-headers-XOPEN2K8): Likewise.
36327         (conformtest-header-list-base): Likewise.
36328         (conformtest-header-list-tests): Likewise.
36329         (conformtest-header-base): Likewise.
36330         (conformtest-header-tests): Likewise.
36331         (tests-special): Add $(conformtest-header-list-tests).  If
36332         [$(fast-check) && !$(cross-compiling)], add
36333         $(conformtest-header-tests) instead of
36334         $(objpfx)run-conformtest.out.
36335         (generated): Add $(conformtest-header-list-base).  If
36336         [$(fast-check) && !$(cross-compiling)], add
36337         $(conformtest-header-base).  Remove previous setting.
36338         ($(conformtest-header-list-tests)): New target.
36339         (test-xfail-run-conformtest): Remove variable.
36340         ($(objpfx)run-conformtest.out): Remove target.
36341         (test-xfail-ISO11/complex.h/conform): New variable.
36342         (test-xfail-ISO11/stdalign.h/conform): Likewise.
36343         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
36344         (test-xfail-XPG3/varargs.h/conform): Likewise.
36345         (test-xfail-XPG4/varargs.h/conform): Likewise.
36346         (test-xfail-UNIX98/varargs.h/conform): Likewise.
36347         (test-xfail-XPG4/ndbm.h/conform): Likewise.
36348         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
36349         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
36350         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
36351         (test-xfail-XPG3/fcntl.h/conform): Likewise.
36352         (test-xfail-XPG3/ftw.h/conform): Likewise.
36353         (test-xfail-XPG3/grp.h/conform): Likewise.
36354         (test-xfail-XPG3/langinfo.h/conform): Likewise.
36355         (test-xfail-XPG3/limits.h/conform): Likewise.
36356         (test-xfail-XPG3/pwd.h/conform): Likewise.
36357         (test-xfail-XPG3/search.h/conform): Likewise.
36358         (test-xfail-XPG3/signal.h/conform): Likewise.
36359         (test-xfail-XPG3/stdio.h/conform): Likewise.
36360         (test-xfail-XPG3/stdlib.h/conform): Likewise.
36361         (test-xfail-XPG3/string.h/conform): Likewise.
36362         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
36363         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
36364         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
36365         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
36366         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
36367         (test-xfail-XPG3/sys/types.h/conform): Likewise.
36368         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
36369         (test-xfail-XPG3/termios.h/conform): Likewise.
36370         (test-xfail-XPG3/time.h/conform): Likewise.
36371         (test-xfail-XPG3/unistd.h/conform): Likewise.
36372         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
36373         (test-xfail-XPG4/fcntl.h/conform): Likewise.
36374         (test-xfail-XPG4/langinfo.h/conform): Likewise.
36375         (test-xfail-XPG4/netdb.h/conform): Likewise.
36376         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
36377         (test-xfail-XPG4/signal.h/conform): Likewise.
36378         (test-xfail-XPG4/stdio.h/conform): Likewise.
36379         (test-xfail-XPG4/stdlib.h/conform): Likewise.
36380         (test-xfail-XPG4/stropts.h/conform): Likewise.
36381         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
36382         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
36383         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
36384         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
36385         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
36386         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
36387         (test-xfail-XPG4/sys/time.h/conform): Likewise.
36388         (test-xfail-XPG4/sys/types.h/conform): Likewise.
36389         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
36390         (test-xfail-XPG4/termios.h/conform): Likewise.
36391         (test-xfail-XPG4/ucontext.h/conform): Likewise.
36392         (test-xfail-XPG4/unistd.h/conform): Likewise.
36393         (test-xfail-XPG4/utmpx.h/conform): Likewise.
36394         (test-xfail-POSIX/sched.h/conform): Likewise.
36395         (test-xfail-POSIX/signal.h/conform): Likewise.
36396         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
36397         (test-xfail-POSIX/tar.h/conform): Likewise.
36398         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
36399         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
36400         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
36401         (test-xfail-UNIX98/netdb.h/conform): Likewise.
36402         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
36403         (test-xfail-UNIX98/sched.h/conform): Likewise.
36404         (test-xfail-UNIX98/signal.h/conform): Likewise.
36405         (test-xfail-UNIX98/stdio.h/conform): Likewise.
36406         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
36407         (test-xfail-UNIX98/stropts.h/conform): Likewise.
36408         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
36409         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
36410         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
36411         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
36412         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
36413         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
36414         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
36415         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
36416         (test-xfail-UNIX98/unistd.h/conform): Likewise.
36417         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
36418         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
36419         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
36420         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
36421         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
36422         (test-xfail-XOPEN2K/math.h/conform): Likewise.
36423         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
36424         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
36425         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
36426         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
36427         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
36428         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
36429         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
36430         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
36431         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
36432         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
36433         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
36434         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
36435         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
36436         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
36437         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
36438         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
36439         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
36440         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
36441         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
36442         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
36443         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
36444         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
36445         (test-xfail-POSIX2008/signal.h/conform): Likewise.
36446         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
36447         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
36448         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
36449         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
36450         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
36451         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
36452         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
36453         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
36454         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
36455         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
36456         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
36457         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
36458         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
36459         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
36460         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
36461         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
36462         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
36463         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
36464         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
36465         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
36466         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
36467         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
36468         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
36469         (conformtest-cc-flags): Likewise.
36470         ($(conformtest-header-tests): New target.
36471         * conform/check-header-lists.sh: New file.
36472         * conform/run-conformtest.sh: Remove.
36474         * conform/conformtest.pl: Allow ' and \ in values given for
36475         constants.
36476         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
36477         inclusion.
36478         [POSIX] (sys/types.h): Likewise.
36479         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
36480         inclusion.
36481         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
36482         inclusion.
36483         * conform/data/signal.h-data (SIGIO): Remove expectation.
36484         [XPG3] (SIGBUS): Do not expect.
36485         [POSIX || XPG3] (SIGPOLL): Likewise.
36486         [POSIX || XPG3] (SIGPROF): Likewise.
36487         [POSIX || XPG3] (SIGSYS): Likewise.
36488         [XPG3] (SIGTRAP): Likewise.
36489         [POSIX || XPG3] (SIGURG): Likewise.
36490         [POSIX || XPG3] (SIGVTALRM): Likewise.
36491         [POSIX || XPG3] (SIGXCPU): Likewise.
36492         [POSIX || XPG3] (SIGXFSZ): Likewise.
36493         [POSIX] (SA_SIGINFO): Expect.
36494         [XPG3] (siginfo_t): Do not expect type or contents.
36495         [POSIX] (si_pid): Do not expect element.
36496         [POSIX] (si_uid): Likewise.
36497         [POSIX] (si_addr): Likewise.
36498         [POSIX] (si_status): Likewise.
36499         [POSIX] (si_band): Likewise.
36500         [XPG4] (si_value): Likewise.
36501         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
36502         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
36503         [POSIX || XPG3] (ILL_ILLADR): Likewise.
36504         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
36505         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
36506         [POSIX || XPG3] (ILL_PRVREG): Likewise.
36507         [POSIX || XPG3] (ILL_COPROC): Likewise.
36508         [POSIX || XPG3] (ILL_BADSTK): Likewise.
36509         [POSIX || XPG3] (FPE_INTDIV): Likewise.
36510         [POSIX || XPG3] (FPE_INTOVF): Likewise.
36511         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
36512         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
36513         [POSIX || XPG3] (FPE_FLTUND): Likewise.
36514         [POSIX || XPG3] (FPE_FLTRES): Likewise.
36515         [POSIX || XPG3] (FPE_FLTINV): Likewise.
36516         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
36517         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
36518         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
36519         [POSIX || XPG3] (BUS_ADRALN): Likewise.
36520         [POSIX || XPG3] (BUS_ADRERR): Likewise.
36521         [POSIX || XPG3] (BUS_OBJERR): Likewise.
36522         [POSIX || XPG3] (CLD_EXITED): Likewise.
36523         [POSIX || XPG3] (CLD_KILLED): Likewise.
36524         [POSIX || XPG3] (CLD_DUMPED): Likewise.
36525         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
36526         [POSIX || XPG3] (CLD_STOPPED): Likewise.
36527         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
36528         [POSIX || XPG3] (POLL_IN): Likewise.
36529         [POSIX || XPG3] (POLL_OUT): Likewise.
36530         [POSIX || XPG3] (POLL_MSG): Likewise.
36531         [POSIX || XPG3] (POLL_ERR): Likewise.
36532         [POSIX || XPG3] (POLL_PRI): Likewise.
36533         [POSIX || XPG3] (POLL_HUP): Likewise.
36534         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
36535         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
36536         (SIG*): Do not allow.
36537         [XPG3] (si_*): Likewise.
36538         [XPG3] (SI_*): Likewise.
36539         [XPG3 || XPG4] (sigev_*): Likewise.
36540         [XPG3 || XPG4] (SIGEV_*): Likewise.
36541         [XPG3 || XPG4] (sival_*): Likewise.
36542         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
36543         [POSIX || XPG3] (BUS_*): Likewise.
36544         [POSIX || XPG3] (CLD_*): Likewise.
36545         [POSIX || XPG3] (FPE_*): Likewise.
36546         [POSIX || XPG3] (ILL_*): Likewise.
36547         [POSIX || XPG3] (POLL_*): Likewise.
36548         [POSIX || XPG3] (SEGV_*): Likewise.
36549         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
36550         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
36551         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
36552         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
36553         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
36554         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
36555         Specify type and value.
36556         (TVERSLEN): Likewise.
36557         (REGTYPE): Likewise.
36558         (AREGTYPE): Likewise.
36559         (LNKTYPE): Likewise.
36560         (SYMTYPE): Likewise.
36561         (CHRTYPE): Likewise.
36562         (BLKTYPE): Likewise.
36563         (DIRTYPE): Likewise.
36564         (FIFOTYPE): Likewise.
36565         (CONTTYPE): Likewise.
36566         (TSUID): Likewise.
36567         (TSGID): Likewise.
36568         (TSVTX): Likewise.
36569         (TUREAD): Likewise.
36570         (TUWRITE): Likewise.
36571         (TUEXEC): Likewise.
36572         (TGREAD): Likewise.
36573         (TGWRITE): Likewise.
36574         (TGEXEC): Likewise.
36575         (TOREAD): Likewise.
36576         (TOWRITE): Likewise.
36577         (TOEXEC): Likewise.
36578         [POSIX] (TSVTX): Expect constant.
36580 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
36582         * Makefile (tests): Change dependencies to ....
36583         (tests-special): ... additions to this variable.
36584         (tests): Depend on $(tests-special).
36585         * Makerules (check-abi-list): New variable.
36586         (check-abi): Depend on $(check-abi-list).
36587         [$(subdir) = elf] (tests-special): Add
36588         $(objpfx)check-abi-libc.out.
36589         [$(build-shared) = yes && subdir] (tests-special): Add
36590         $(check-abi-list).
36591         [$(build-shared) = yes && subdir] (tests): Do not depend on
36592         check-abi.
36593         * Rules (tests): Depend on $(tests-special).
36594         (xtests): Depend on $(xtests-special).
36595         * catgets/Makefile (tests): Change dependencies to ....
36596         (tests-special): ... additions to this variable.
36597         * conform/Makefile (tests): Change dependencies to ....
36598         (tests-special): ... additions to this variable.
36599         * elf/Makefile (tests): Change dependencies to ....
36600         (tests-special): ... additions to this variable.
36601         * grp/Makefile (tests): Change dependencies to ....
36602         (tests-special): ... additions to this variable.
36603         * iconv/Makefile (xtests): Change dependencies to ....
36604         (xtests-special): ... additions to this variable.
36605         * iconvdata/Makefile (tests): Change dependencies to ....
36606         (tests-special): ... additions to this variable.
36607         * intl/Makefile (tests): Change dependencies to ....
36608         (tests-special): ... additions to this variable.  Also add
36609         $(objpfx)tst-gettext.out.
36610         * io/Makefile (tests): Change dependencies to ....
36611         (tests-special): ... additions to this variable.
36612         * libio/Makefile (tests): Change dependencies to ....
36613         (tests-special): ... additions to this variable.
36614         * malloc/Makefile (tests): Change dependencies to ....
36615         (tests-special): ... additions to this variable.
36616         * misc/Makefile (tests): Change dependencies to ....
36617         (tests-special): ... additions to this variable.
36618         * nptl/Makefile (tests): Change dependencies to ....
36619         (tests-special): ... additions to this variable.
36620         * nptl_db/Makefile (tests): Change dependencies to ....
36621         (tests-special): ... additions to this variable.
36622         * posix/Makefile (tests): Change dependencies to ....
36623         (tests-special): ... additions to this variable.
36624         (xtests): Change dependencies to ....
36625         (xtests-special): ... additions to this variable.
36626         * resolv/Makefile (tests): Change dependencies to ....
36627         (tests-special): ... additions to this variable.
36628         (xtests): Change dependencies to ....
36629         (xtests-special): ... additions to this variable.
36630         * stdio-common/Makefile (tests): Change dependencies to ....
36631         (tests-special): ... additions to this variable.
36632         (do-tst-unbputc): Remove target.
36633         (do-tst-printf): Likewise.
36634         * stdlib/Makefile (tests): Change dependencies to ....
36635         (tests-special): ... additions to this variable.
36636         * string/Makefile (tests): Change dependencies to ....
36637         (tests-special): ... additions to this variable.
36638         * sysdeps/x86/Makefile (tests): Change dependencies to ....
36639         (tests-special): ... additions to this variable.
36641         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
36642         whole file.
36643         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
36644         whole file.
36645         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
36646         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
36648         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
36649         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
36650         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
36651         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
36652         * conform/data/libgen.h-data [XPG3]: Likewise.
36653         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
36654         * conform/data/ndbm.h-data [XPG3]: Likewise.
36655         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
36656         * conform/data/netdb.h-data [XPG3]: Likewise.
36657         * conform/data/netinet/in.h-data [XPG3]: Likewise.
36658         * conform/data/poll.h-data [XPG3]: Likewise.
36659         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
36660         * conform/data/strings.h-data [XPG3]: Likewise.
36661         * conform/data/stropts.h-data [XPG3]: Likewise.
36662         * conform/data/sys/mman.h-data [XPG3]: Likewise.
36663         * conform/data/sys/resource.h-data [XPG3]: Likewise.
36664         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
36665         Likewise.
36666         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
36667         * conform/data/sys/time.h-data [XPG3]: Likewise.
36668         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
36669         * conform/data/sys/uio.h-data [XPG3]: Likewise.
36670         * conform/data/sys/un.h-data [XPG3]: Likewise.
36671         * conform/data/syslog.h-data [XPG3]: Likewise.
36672         * conform/data/ucontext.h-data [XPG3]: Likewise.
36673         * conform/data/utmpx.h-data [XPG3]: Likewise.
36674         * conform/data/varargs.h-data [UNIX98]: Enable file.
36676         * manual/Makefile (INSTALL_INFO): Remove variable setting.
36678         * math/libm-test.inc (struct test_f_f_data): Move expected results
36679         into structure for each rounding mode.
36680         (struct test_ff_f_data): Likewise.
36681         (struct test_ff_f_data_nexttoward): Likewise.
36682         (struct test_fi_f_data): Likewise.
36683         (struct test_fl_f_data): Likewise.
36684         (struct test_if_f_data): Likewise.
36685         (struct test_fff_f_data): Likewise.
36686         (struct test_c_f_data): Likewise.
36687         (struct test_f_f1_data): Likewise.
36688         (struct test_fF_f1_data): Likewise.
36689         (struct test_ffI_f1_data): Likewise.
36690         (struct test_c_c_data): Likewise.
36691         (struct test_cc_c_data): Likewise.
36692         (struct test_f_i_data): Likewise.
36693         (struct test_ff_i_data): Likewise.
36694         (struct test_f_l_data): Likewise.
36695         (struct test_f_L_data): Likewise.
36696         (struct test_fFF_11_data): Likewise.
36697         (RM_): New macro.
36698         (RM_FE_DOWNWARD): Likewise.
36699         (RM_FE_TONEAREST): Likewise.
36700         (RM_FE_TOWARDZERO): Likewise.
36701         (RM_FE_UPWARD): Likewise.
36702         (RUN_TEST_LOOP_f_f): Update references to expected results.
36703         (RUN_TEST_LOOP_2_f): Likewise.
36704         (RUN_TEST_LOOP_fff_f): Likewise.
36705         (RUN_TEST_LOOP_c_f): Likewise.
36706         (RUN_TEST_LOOP_f_f1): Likewise.
36707         (RUN_TEST_LOOP_fF_f1): Likewise.
36708         (RUN_TEST_LOOP_fI_f1): Likewise.
36709         (RUN_TEST_LOOP_ffI_f1): Likewise.
36710         (RUN_TEST_LOOP_c_c): Likewise.
36711         (RUN_TEST_LOOP_cc_c): Likewise.
36712         (RUN_TEST_LOOP_f_i): Likewise.
36713         (RUN_TEST_LOOP_f_i_tg): Likewise.
36714         (RUN_TEST_LOOP_ff_i_tg): Likewise.
36715         (RUN_TEST_LOOP_f_b): Likewise.
36716         (RUN_TEST_LOOP_f_b_tg): Likewise.
36717         (RUN_TEST_LOOP_f_l): Likewise.
36718         (RUN_TEST_LOOP_f_L): Likewise.
36719         (RUN_TEST_LOOP_fFF_11): Likewise.
36720         * math/gen-libm-test.pl (parse_args): Output four copies of
36721         expected results for each test.
36723         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
36724         (__ASSUME_UTIMES): Remove.
36725         * sysdeps/unix/sysv/linux/tile/kernel-features.h
36726         (__ASSUME_UTIMES): Likewise.
36728         * math/gen-auto-libm-tests.c: Update comment on output format.
36729         (output_for_one_input_case): Generate before-rounding and
36730         after-rounding information as conditions on output flags not
36731         floating-point format.
36732         * math/auto-libm-test-out: Regenerated.
36733         * math/gen-libm-test.pl (cond_value): New function.
36734         (or_cond_value): Use cond_value.
36735         (generate_testfile): Handle conditional exceptions.
36737 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
36739         * math/libm-test.inc (max_valid_error): New variable.
36740         (init_max_error): Take new argument specifying whether function
36741         results are exactly determined.  Set max_valid_error and bound
36742         other variables for errors based on this argument.
36743         (set_max_error): Do not record results above max_valid_error.
36744         (check_float_internal): Only accept errors of up to 0.5ulps if
36745         also at most max_valid_error.
36746         (START): Take new argument EXACT and pass it to init_max_error.
36747         (acos_test): Update call to START.
36748         (acos_test_tonearest): Likewise.
36749         (acos_test_towardzero): Likewise.
36750         (acos_test_downward): Likewise.
36751         (acos_test_upward): Likewise.
36752         (acosh_test): Likewise.
36753         (asin_test): Likewise.
36754         (asin_test_tonearest): Likewise.
36755         (asin_test_towardzero): Likewise.
36756         (asin_test_downward): Likewise.
36757         (asin_test_upward): Likewise.
36758         (asinh_test): Likewise.
36759         (atan_test): Likewise.
36760         (atanh_test): Likewise.
36761         (atan2_test): Likewise.
36762         (cabs_test): Likewise.
36763         (cacos_test): Likewise.
36764         (cacosh_test): Likewise.
36765         (carg_test): Likewise.
36766         (casin_test): Likewise.
36767         (casinh_test): Likewise.
36768         (catan_test): Likewise.
36769         (catanh_test): Likewise.
36770         (cbrt_test): Likewise.
36771         (ccos_test): Likewise.
36772         (ccosh_test): Likewise.
36773         (ceil_test): Likewise.
36774         (cexp_test): Likewise.
36775         (cimag_test): Likewise.
36776         (clog_test): Likewise.
36777         (clog10_test): Likewise.
36778         (conj_test): Likewise.
36779         (copysign_test): Likewise.
36780         (cos_test): Likewise.
36781         (cos_test_tonearest): Likewise.
36782         (cos_test_towardzero): Likewise.
36783         (cos_test_downward): Likewise.
36784         (cos_test_upward): Likewise.
36785         (cosh_test): Likewise.
36786         (cosh_test_tonearest): Likewise.
36787         (cosh_test_towardzero): Likewise.
36788         (cosh_test_downward): Likewise.
36789         (cosh_test_upward): Likewise.
36790         (cpow_test): Likewise.
36791         (cproj_test): Likewise.
36792         (creal_test): Likewise.
36793         (csin_test): Likewise.
36794         (csinh_test): Likewise.
36795         (csqrt_test): Likewise.
36796         (ctan_test): Likewise.
36797         (ctan_test_tonearest): Likewise.
36798         (ctan_test_towardzero): Likewise.
36799         (ctan_test_downward): Likewise.
36800         (ctan_test_upward): Likewise.
36801         (ctanh_test): Likewise.
36802         (ctanh_test_tonearest): Likewise.
36803         (ctanh_test_towardzero): Likewise.
36804         (ctanh_test_downward): Likewise.
36805         (ctanh_test_upward): Likewise.
36806         (erf_test): Likewise.
36807         (erfc_test): Likewise.
36808         (exp_test): Likewise.
36809         (exp_test_tonearest): Likewise.
36810         (exp_test_towardzero): Likewise.
36811         (exp_test_downward): Likewise.
36812         (exp_test_upward): Likewise.
36813         (exp10_test): Likewise.
36814         (exp10_test_tonearest): Likewise.
36815         (exp10_test_towardzero): Likewise.
36816         (exp10_test_downward): Likewise.
36817         (exp10_test_upward): Likewise.
36818         (pow10_test): Likewise.
36819         (exp2_test): Likewise.
36820         (expm1_test): Likewise.
36821         (expm1_test_tonearest): Likewise.
36822         (expm1_test_towardzero): Likewise.
36823         (expm1_test_downward): Likewise.
36824         (expm1_test_upward): Likewise.
36825         (fabs_test): Likewise.
36826         (fdim_test): Likewise.
36827         (floor_test): Likewise.
36828         (fma_test): Likewise.
36829         (fma_test_towardzero): Likewise.
36830         (fma_test_downward): Likewise.
36831         (fma_test_upward): Likewise.
36832         (fmax_test): Likewise.
36833         (fmin_test): Likewise.
36834         (fmod_test): Likewise.
36835         (fpclassify_test): Likewise.
36836         (frexp_test): Likewise.
36837         (hypot_test): Likewise.
36838         (ilogb_test): Likewise.
36839         (isfinite_test): Likewise.
36840         (finite_test): Likewise.
36841         (isgreater_test): Likewise.
36842         (isgreaterequal_test): Likewise.
36843         (isinf_test): Likewise.
36844         (isless_test): Likewise.
36845         (islessequal_test): Likewise.
36846         (islessgreater_test): Likewise.
36847         (isnan_test): Likewise.
36848         (isnormal_test): Likewise.
36849         (issignaling_test): Likewise.
36850         (isunordered_test): Likewise.
36851         (j0_test): Likewise.
36852         (j1_test): Likewise.
36853         (jn_test): Likewise.
36854         (ldexp_test): Likewise.
36855         (lgamma_test): Likewise.
36856         (gamma_test): Likewise.
36857         (lrint_test): Likewise.
36858         (lrint_test_tonearest): Likewise.
36859         (lrint_test_towardzero): Likewise.
36860         (lrint_test_downward): Likewise.
36861         (lrint_test_upward): Likewise.
36862         (llrint_test): Likewise.
36863         (llrint_test_tonearest): Likewise.
36864         (llrint_test_towardzero): Likewise.
36865         (llrint_test_downward): Likewise.
36866         (llrint_test_upward): Likewise.
36867         (log_test): Likewise.
36868         (log10_test): Likewise.
36869         (log1p_test): Likewise.
36870         (log2_test): Likewise.
36871         (logb_test): Likewise.
36872         (logb_test_downward): Likewise.
36873         (lround_test): Likewise.
36874         (llround_test): Likewise.
36875         (modf_test): Likewise.
36876         (nearbyint_test): Likewise.
36877         (nextafter_test): Likewise.
36878         (nexttoward_test): Likewise.
36879         (pow_test): Likewise.
36880         (pow_test_tonearest): Likewise.
36881         (pow_test_towardzero): Likewise.
36882         (pow_test_downward): Likewise.
36883         (pow_test_upward): Likewise.
36884         (remainder_test): Likewise.
36885         (drem_test): Likewise.
36886         (remainder_test_tonearest): Likewise.
36887         (drem_test_tonearest): Likewise.
36888         (remainder_test_towardzero): Likewise.
36889         (drem_test_towardzero): Likewise.
36890         (remainder_test_downward): Likewise.
36891         (drem_test_downward): Likewise.
36892         (remainder_test_upward): Likewise.
36893         (drem_test_upward): Likewise.
36894         (remquo_test): Likewise.
36895         (rint_test): Likewise.
36896         (rint_test_tonearest): Likewise.
36897         (rint_test_towardzero): Likewise.
36898         (rint_test_downward): Likewise.
36899         (rint_test_upward): Likewise.
36900         (round_test): Likewise.
36901         (scalb_test): Likewise.
36902         (scalbn_test): Likewise.
36903         (scalbln_test): Likewise.
36904         (signbit_test): Likewise.
36905         (sin_test): Likewise.
36906         (sin_test_tonearest): Likewise.
36907         (sin_test_towardzero): Likewise.
36908         (sin_test_downward): Likewise.
36909         (sin_test_upward): Likewise.
36910         (sincos_test): Likewise.
36911         (sinh_test): Likewise.
36912         (sinh_test_tonearest): Likewise.
36913         (sinh_test_towardzero): Likewise.
36914         (sinh_test_downward): Likewise.
36915         (sinh_test_upward): Likewise.
36916         (sqrt_test): Likewise.
36917         (sqrt_test_tonearest): Likewise.
36918         (sqrt_test_towardzero): Likewise.
36919         (sqrt_test_downward): Likewise.
36920         (sqrt_test_upward): Likewise.
36921         (tan_test): Likewise.
36922         (tan_test_tonearest): Likewise.
36923         (tan_test_towardzero): Likewise.
36924         (tan_test_downward): Likewise.
36925         (tan_test_upward): Likewise.
36926         (tanh_test): Likewise.
36927         (tgamma_test): Likewise.
36928         (trunc_test): Likewise.
36929         (y0_test): Likewise.
36930         (y1_test): Likewise.
36931         (yn_test): Likewise.
36932         (significand_test): Likewise.
36934         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
36935         individual tests in comment.
36936         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
36937         (prev_max_error): New variable.
36938         (prev_real_max_error): Likewise.
36939         (prev_imag_max_error): Likewise.
36940         (compare_ulp_data): Don't refer to test names in comment.
36941         (find_test_ulps): Remove function.
36942         (find_function_ulps): Likewise.
36943         (find_complex_function_ulps): Likewise.
36944         (init_max_error): Take function name as argument.  Look up ulps
36945         for that function.
36946         (print_ulps): Remove function.
36947         (print_max_error): Use prev_max_error instead of calling
36948         find_function_ulps.
36949         (print_complex_max_error): Use prev_real_max_error and
36950         prev_imag_max_error instead of calling find_complex_function_ulps.
36951         (check_float_internal): Take max_ulp parameter instead of calling
36952         find_test_ulps.  Don't call print_ulps.
36953         (check_float): Update call to check_float_internal.
36954         (check_complex): Update calls to check_float_internal.
36955         (START): Pass argument to init_max_error.
36956         * math/gen-libm-test.pl (%results): Don't include "kind"
36957         information.
36958         (parse_ulps): Don't handle ulps of individual tests.
36959         (print_ulps_file): Likewise.
36960         (output_ulps): Likewise.
36961         * math/README.libm-test: Update.
36962         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
36963         individual tests.
36964         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
36965         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
36966         * sysdeps/arm/libm-test-ulps: Likewise.
36967         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
36968         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
36969         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
36970         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
36971         * sysdeps/microblaze/libm-test-ulps: Likewise.
36972         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
36973         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
36974         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36975         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
36976         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
36977         * sysdeps/sh/libm-test-ulps: Likewise.
36978         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
36979         * sysdeps/tile/libm-test-ulps: Likewise.
36980         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36982 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
36984         * math/libm-test.inc (print_complex_max_error): Check separately
36985         whether real and imaginary errors are within allowed range and
36986         pass 0 to print_complex_function_ulps instead of value within
36987         allowed range.
36989 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
36991         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
36992         formatting.
36993         (get_handles_fopen): Likewise.
36994         (do_write_test): Likewise.
36996         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
36998         * libio/fileops.c (do_ftell): Use cached offset when
36999         available.
37000         * libio/iofwide.c (do_ftell_wide): Likewise.
37001         * libio/iofdopen.c (_IO_new_fdopen): Don't use
37002         _IO_file_attach.
37003         * libio/wfileops.c (_IO_fwide): Don't cache offset.
37005         [BZ #16532]
37006         * libio/libioP.h (get_file_offset): New function.
37007         * libio/fileops.c (get_file_offset): Likewise.
37008         (do_ftell): Likewise.
37009         (_IO_new_file_seekoff): Split out ftell logic.
37010         * libio/wfileops.c (do_ftell_wide): Likewise.
37011         (_IO_wfile_seekoff): Split out ftell logic.
37012         * libio/tst-ftell-active-handler.c: New test case.
37013         * libio/Makefile (tests): Add it.
37015 2014-03-03  Roland McGrath  <roland@hack.frob.com>
37017         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
37018         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
37020 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
37022         [BZ #16639]
37023         * nscd/connections.c (nscd_init): Call do_exit.
37024         (start_threads): Call do_exit and notify_parent.
37025         (begin_drop_privileges): Call do_exit.
37026         (finish_drop_privileges): Likewise.
37027         * nscd/selinux.c (preserve_capabilities): Likewise.
37028         (install_real_capabilities): Likewise.
37029         (nscd_selinux_enabled): Likewise.
37030         (avc_create_thread): Likewise.
37031         (avc_alloc_lock): Likewise.
37032         (nscd_avc_init): Likewise.
37033         * nscd/nscd.c (parent_fd): New static variable.
37034         (main): Create a pipe between parent and child processes.
37035         Skip closing parent_fd.
37036         (monitor_child): New function.
37037         (do_exit): Likewise.
37038         (notify_parent): Likewise.
37039         * nscd/nscd.h (notify_parent): Likewise.
37040         (do_exit): Likewise.
37042 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
37044         * malloc/malloc.c (__libc_calloc): Revert last change.
37046 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37048         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37050 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
37052         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
37053         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
37054         implementation.
37055         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
37056         (__libc_ifunc_impl_list): Likewise.
37057         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
37058         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
37059         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
37060         * string/strrchr.c: Define STRRCHR.
37062 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
37064         * benchtest/bench-strtok.c (simple_strtok): Delete.
37065         (strtok_string): Use as benchmark.
37066         * string/strtok (STRTOK): New macro.
37068 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
37070         * manual/threads.texi: Add header and standard comments to all
37071         functions.
37073         * elf/dl-lookup.c (check_match): New function.
37074         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
37075         (do_lookup_x): Remove nested function check_match. Use non-nested
37076         function check_match.
37078 2014-02-28  Roland McGrath  <roland@hack.frob.com>
37080         * csu/Makefile (generated, before-compile): Use += rather than =.
37081         * catgets/Makefile (generated, generated-dirs): Likewise.
37082         * debug/Makefile (generated): Likewise.
37083         * dlfcn/Makefile (generated): Likewise.
37084         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
37085         * iconvdata/Makefile (before-compile, generated): Likewise.
37086         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
37087         * libio/Makefile (generated): Likewise.
37088         * malloc/Makefile (generated): Likewise.
37089         * manual/Makefile (generated, generated-dirs): Likewise.
37090         * misc/Makefile (generated): Likewise.
37091         * posix/Makefile (generated): Likewise.
37092         * resolv/Makefile (generated): Likewise.
37093         * sunrpc/Makefile (generated, generated-dirs): Likewise.
37094         * timezone/Makefile (generated, generated-dirs): Likewise.
37096         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
37098 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37100         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
37101         power8 implementation.
37102         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
37103         file: POWER8 llround ifunc implementation.
37104         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
37105         (__lllround): Add POWER8 implementation.
37106         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
37107         POWER8 llround implementation.
37109         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
37110         power8 implementation.
37111         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
37112         file: POWER8 llrint ifunc implementation.
37113         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
37114         Add POWER8 implementation.
37115         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
37116         POWER8 llrint implementation.
37118         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
37119         power8 implementation.
37120         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
37121         file: POWER8 finite ifunc implementation.
37122         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
37123         Add POWER8 implementation.
37124         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
37125         Likewise.
37126         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
37127         POWER8 finite implementation.
37128         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
37130         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
37131         power8 implementation.
37132         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
37133         file: POWER8 isinf ifunc implementation.
37134         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
37135         POWER8 implementation.
37136         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
37137         Likewise.
37138         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
37139         isinf implementation.
37140         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
37142         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
37143         (INIT_ARCH): Add hwcap2 initialization.
37144         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
37145         power8 implementation.
37146         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
37147         file: POWER8 isnan ifunc implementation.
37148         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
37149         POWER8 implementation.
37150         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
37151         Likewise.
37152         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
37153         isnan implementation.
37154         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
37156 2014-02-27  Joey Ye  <joey.ye@arm.com>
37158         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
37159         (_FP_NANFRAC_Q): Set to zero.
37161 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37163         [BZ #16623]
37164         * math/auto-libm-test-in: New test inputs.
37165         * math/auto-libm-test-out: Regenerate.
37166         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
37167         and DA.
37168         (__cos): Likewise.
37169         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
37171 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
37173         * scripts/evaluate-test.sh: Take new argument indicating whether
37174         failure is expected.
37175         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
37176         indicating whether failure is expected.
37177         * conform/Makefile (test-xfail-run-conformtest): New variable.
37178         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
37179         level.
37180         * posix/Makefile (test-xfail-annexc): New variable.
37181         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
37183 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
37185         * argp/Makefile: Include Makeconfig immediately after defining
37186         subdir.
37187         * assert/Makefile: Likewise.
37188         * benchtests/Makefile: Likewise.
37189         * catgets/Makefile: Likewise.
37190         * conform/Makefile: Likewise.
37191         * crypt/Makefile: Likewise.
37192         * csu/Makefile: Likewise.
37193         (all): Remove target.
37194         * ctype/Makefile: Include Makeconfig immediately after defining
37195         subdir.
37196         * debug/Makefile: Likewise.
37197         * dirent/Makefile: Likewise.
37198         * dlfcn/Makefile: Likewise.
37199         * gmon/Makefile: Likewise.
37200         * gnulib/Makefile: Likewise.
37201         * grp/Makefile: Likewise.
37202         * gshadow/Makefile: Likewise.
37203         * hesiod/Makefile: Likewise.
37204         * hurd/Makefile: Likewise.
37205         (all): Remove target.
37206         * iconvdata/Makefile: Include Makeconfig immediately after
37207         defining subdir.
37208         * inet/Makefile: Likewise.
37209         * intl/Makefile: Likewise.
37210         * io/Makefile: Likewise.
37211         * libio/Makefile: Likewise.
37212         (all): Remove target.
37213         * locale/Makefile: Include Makeconfig immediately after defining
37214         subdir.
37215         * login/Makefile: Likewise.
37216         * mach/Makefile: Likewise.
37217         (all): Remove target.
37218         * malloc/Makefile: Include Makeconfig immediately after defining
37219         subdir.
37220         (all): Remove target.
37221         * manual/Makefile: Include Makeconfig immediately after defining
37222         subdir.
37223         * math/Makefile: Likewise.
37224         * misc/Makefile: Likewise.
37225         * nis/Makefile: Likewise.
37226         * nss/Makefile: Likewise.
37227         * po/Makefile: Likewise.
37228         (all): Remove target.
37229         * posix/Makefile: Include Makeconfig immediately after defining
37230         subdir.
37231         * pwd/Makefile: Likewise.
37232         * resolv/Makefile: Likewise.
37233         * resource/Makefile: Likewise.
37234         * rt/Makefile: Likewise.
37235         * setjmp/Makefile: Likewise.
37236         * shadow/Makefile: Likewise.
37237         * signal/Makefile: Likewise.
37238         * socket/Makefile: Likewise.
37239         * soft-fp/Makefile: Likewise.
37240         * stdio-common/Makefile: Likewise.
37241         * stdlib/Makefile: Likewise.
37242         * streams/Makefile: Likewise.
37243         * string/Makefile: Likewise.
37244         * sunrpc/Makefile: Likewise.
37245         (all): Remove target.
37246         * sysvipc/Makefile: Include Makeconfig immediately after defining
37247         subdir.
37248         * termios/Makefile: Likewise.
37249         * time/Makefile: Likewise.
37250         * timezone/Makefile: Likewise.
37251         (all): Remove target.
37252         * wcsmbs/Makefile: Include Makeconfig immediately after defining
37253         subdir.
37254         * wctype/Makefile: Likewise.
37256 2014-02-26  Steve Ellcey  <sellcey@mips.com>
37258         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
37259         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
37260         (libc_feholdexcept_setround_mips): Ditto.
37261         (libc_feholdsetround): New.
37262         (libc_feholdsetroundf): New.
37263         (libc_feholdsetroundl): New.
37264         (libc_feupdateenv_test_mips): New.
37265         (libc_feupdateenv_test): New.
37266         (libc_feupdateenv_testf): New.
37267         (libc_feupdateenv_testl): New.
37268         (libc_feresetround): New.
37269         (libc_feresetroundf): New.
37270         (libc_feresetroundl): New.
37271         (libc_fetestexcept_mips): New.
37272         (libc_fetestexcept): New.
37273         (libc_fetestexceptf): New.
37274         (libc_fetestexceptl): New.
37275         (HAVE_RM_CTX): New.
37276         (libc_feholdexcept_setround_mips_ctx): New.
37277         (libc_feholdexcept_setround_ctx): New.
37278         (libc_feholdexcept_setroundf_ctx): New.
37279         (libc_feholdexcept_setroundl_ctx): New.
37280         (libc_fesetenv_mips_ctx): New.
37281         (libc_fesetenv_ctx): New.
37282         (libc_fesetenv_ctxf): New.
37283         (libc_fesetenv_ctxl): New.
37284         (libc_feupdateenv_mips_ctx): New.
37285         (libc_feupdateenv_ctx): New.
37286         (libc_feupdateenvf_ctx): New.
37287         (libc_feupdateenvl_ctx): New.
37288         (libc_feholdsetround_mips_ctx): New.
37289         (libc_feholdsetround_ctx): New.
37290         (libc_feholdsetroundf_ctx): New.
37291         (libc_feholdsetroundl_ctx): New.
37292         (libc_feresetround_mips_ctx): New.
37293         (libc_feresetround_ctx): New.
37294         (libc_feresetroundf_ctx): New.
37295         (libc_feresetroundl_ctx): New.
37297 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
37299         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
37301         * manual/ipc.texi: New file.
37302         * manual/Makefile (chapters): Add ipc.
37303         * manual/job.texi: Add "Inter-Process Communication" to next.
37304         * manual/process.texi: Add "Inter-Process Communication" to prev.
37306 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37308         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37310 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
37312         * malloc/malloc.c (__libc_calloc): Simplify implementation.
37314         * manual/arith.texi: Fix spaces after sentences.
37315         * manual/charset.texi: Likewise.
37316         * manual/errno.texi: Likewise.
37317         * manual/install.texi: Likewise.
37318         * manual/llio.texi: Likewise.
37319         * manual/locale.texi: Likewise.
37320         * manual/maint.texi: Likewise.
37321         * manual/math.texi: Likewise.
37322         * manual/memory.texi: Likewise.
37323         * manual/message.texi: Likewise.
37324         * manual/probes.texi: Likewise.
37325         * manual/resource.texi: Likewise.
37326         * manual/signal.texi: Likewise.
37327         * manual/socket.texi: Likewise.
37328         * manual/stdio.texi: Likewise.
37329         * manual/string.texi: Likewise.
37330         * manual/time.texi: Likewise.
37331         * manual/users.texi: Likewise.
37333 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
37335         [BZ #16632]
37336         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
37337         _DEFAULT_SOURCE is defined.
37339 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
37340             Carlos O'Donell  <carlos@redhat.com>
37342         [BZ #16613]
37343         * elf/dl-tls.c (_dl_count_modids): New function.
37344         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
37345         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
37346         audit library and increment generation counter.
37347         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
37348         * elf/tst-audit9.c: New file.
37349         * elf/tst-auditmod9a.c: New file.
37350         * elf/tst-auditmod9b.c: New file.
37351         * elf/Makefile: Add rules to build and run tst-audit9.
37353 2014-02-25  Florian Weimer  <fweimer@redhat.com>
37355         [BZ #15347]
37356         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
37358 2014-02-25  Will Newton  <will.newton@linaro.org>
37360         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
37361         (__longjmp): Restore sp and lr before restoring callee
37362         saved registers.  Add longjmp and longjmp_target
37363         SystemTap probe point.
37364         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
37365         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
37366         Define to zero to match jmpbuf layout.
37367         * sysdeps/arm/setjmp.S: Include stap-probe.h.
37368         (__sigsetjmp): Save sp and lr before saving callee
37369         saved registers.  Add setjmp SystemTap probe point.
37371 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
37373         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
37375 2014-02-24  Andreas Schwab  <schwab@suse.de>
37377         [BZ #15804]
37378         * elf/pldd.c (wait_for_ptrace_stop): New function.
37379         (main): Call it after attaching.
37381 2014-02-22  Roland McGrath  <roland@hack.frob.com>
37383         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
37384         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
37385         Versions files is now verboten.
37386         * hurd/Versions (libc: GLIBC_2.0):
37387         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
37388         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
37389         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
37390         * mach/Versions: Likewise.
37392         * csu/Versions: Remove unused %include.
37393         * resolv/Versions: Likewise.
37395 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
37397         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
37398         ($(objpfx)check-local-headers.out): Likewise.
37399         ($(objpfx)begin-end-check.out): Likewise.
37400         * Makerules (check-abi-%.out): Likewise.
37401         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
37402         ($(objpfx)test2.cat): Likewise.
37403         ($(objpfx)de/libc.cat): Likewise.
37404         ($(objpfx)test-gencat.out): Likewise.
37405         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
37406         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
37407         ($(objpfx)noload-mem): Likewise.
37408         ($(objpfx)tst-pathopt.out): Likewise.
37409         ($(objpfx)tst-rtld-load-self.out): Likewise.
37410         ($(objpfx)tst-array1-cmp.out): Likewise.
37411         ($(objpfx)tst-array1-static-cmp.out): Likewise.
37412         ($(objpfx)tst-array2-cmp.out): Likewise.
37413         ($(objpfx)tst-array3-cmp.out): Likewise.
37414         ($(objpfx)tst-array4-cmp.out): Likewise.
37415         ($(objpfx)tst-array5-cmp.out): Likewise.
37416         ($(objpfx)tst-array5-static-cmp.out): Likewise.
37417         ($(objpfx)check-textrel.out): Likewise.
37418         ($(objpfx)check-execstack.out): Likewise.
37419         ($(objpfx)check-localplt.out): Likewise.
37420         ($(objpfx)order2-cmp.out): Likewise.
37421         ($(objpfx)tst-leaks1-mem): Likewise.
37422         ($(objpfx)tst-leaks1-static-mem): Likewise.
37423         ($(objpfx)tst-initorder-cmp.out): Likewise.
37424         ($(objpfx)tst-initorder2-cmp.out): Likewise.
37425         ($(objpfx)tst-unused-dep.out): Likewise.
37426         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
37427         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
37428         * iconv/Makefile (test-iconvconfig): Likewise.
37429         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
37430         ($(objpfx)iconv-test.out): Likewise.
37431         ($(objpfx)tst-tables.out): Likewise.
37432         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
37433         ($(objpfx)tst-gettext.out): Likewise.
37434         ($(objpfx)tst-translit.out): Likewise.
37435         ($(objpfx)tst-gettext2.out): Likewise.
37436         ($(objpfx)tst-gettext4.out): Likewise.
37437         ($(objpfx)tst-gettext6.out): Likewise.
37438         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
37439         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
37440         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
37441         ($(objpfx)tst-fopenloc-mem.out): Likewise.
37442         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
37443         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
37444         * posix/Makefile ($(objpfx)globtest.out): Likewise.
37445         ($(objpfx)wordexp-tst.out): Likewise.
37446         ($(objpfx)annexc.out): Likewise.
37447         ($(objpfx)tst-fnmatch-mem): Likewise.
37448         ($(objpfx)bug-regex2-mem): Likewise.
37449         ($(objpfx)bug-regex14-mem): Likewise.
37450         ($(objpfx)bug-regex21-mem): Likewise.
37451         ($(objpfx)bug-regex31-mem): Likewise.
37452         ($(objpfx)tst-vfork3-mem): Likewise.
37453         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
37454         ($(objpfx)tst-pcre-mem): Likewise.
37455         ($(objpfx)tst-boost-mem): Likewise.
37456         ($(objpfx)tst-getconf.out): Likewise.
37457         ($(objpfx)bug-ga2-mem): Likewise.
37458         ($(objpfx)bug-glob2-mem): Likewise.
37459         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
37460         ($(objpfx)mtrace-tst-leaks2): Likewise.
37461         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
37462         ($(objpfx)tst-printf.out): Likewise.
37463         ($(objpfx)tst-setvbuf1.out): Likewise.
37464         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
37465         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
37466         ($(objpfx)tst-fmtmsg.out): Likewise.
37467         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
37468         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
37470         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
37471         * bits/sigaction.h [__USE_MISC]: Likewise.
37472         * bits/waitstatus.h: Update #endif comments.
37473         * ctype/ctype.h: Likewise.
37474         * dirent/dirent.h: Likewise.
37475         [__USE_MISC]: Remove redundant conditionals.
37476         * grp/grp.h: Update #endif comments.
37477         [__USE_GNU]: Remove redundant conditionals.
37478         [__USE_MISC]: Likewise.
37479         * inet/netinet/in.h [__USE_GNU]: Likewise.
37480         * io/sys/stat.h [__USE_MISC]: Likewise.
37481         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
37482         * libio/bits/stdio.h: Update #endif comments.
37483         [__USE_MISC]: Remove redundant conditionals.
37484         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
37485         * libio/stdio.h: Update #endif comments.
37486         [__USE_MISC]: Remove redundant conditionals.
37487         * math/bits/math-finite.h [__USE_MISC]: Likewise.
37488         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
37489         * math/math.h: Update #else and #endif comments.
37490         [__USE_MISC]: Remove redundant conditionals.
37491         * misc/sys/uio.h: Update #endif comments.
37492         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
37493         * posix/glob.h [__USE_MISC]: Likewise.
37494         * posix/sys/types.h: Update #endif comments.
37495         [__USE_MISC]: Remove redundant conditionals.
37496         * posix/sys/wait.h: Update #endif comments.
37497         [__USE_MISC]: Remove redundant conditionals.
37498         * posix/unistd.h: Update #endif comments.
37499         [__USE_MISC]: Remove redundant conditionals.
37500         * pwd/pwd.h [__USE_GNU]: Likewise.
37501         [__USE_MISC]: Likewise.
37502         * resolv/netdb.h [__USE_GNU]: Likewise.
37503         * signal/signal.h: Update #endif comments.
37504         [__USE_MISC]: Remove redundant conditionals.
37505         * stdlib/stdlib.h: Update #else and #endif comments.
37506         [__USE_MISC]: Remove redundant conditionals.
37507         [__USE_GNU]: Likewise.
37508         * string/bits/string2.h [__USE_MISC]: Likewise.
37509         * string/string.h: Update #endif comments.
37510         [__USE_MISC]: Remove redundant conditionals.
37511         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
37512         Likewise.
37513         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
37514         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
37515         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
37516         Likewise.
37517         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
37518         Likewise.
37519         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
37520         comments.
37521         [__USE_MISC]: Remove redundant conditionals.
37522         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
37523         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
37524         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
37525         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
37526         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
37527         Likewise.
37528         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
37529         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
37530         Likewise.
37531         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
37532         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
37533         Likewise.
37534         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
37535         Likewise.
37536         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
37537         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
37538         Likewise.
37539         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
37540         Likewise.
37541         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
37542         * sysdeps/x86/bits/string.h: Update #endif comments.
37543         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
37544         conditionals.
37545         * time/sys/time.h: Update #endif comments.
37546         * time/time.h: Likewise.
37547         [__USE_MISC]: Remove redundant conditionals.
37549 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
37551         [BZ #16600]
37552         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
37554 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
37556         * Versions.def (librt): Add GLIBC_2.17.
37558 2014-02-21  Adam Conrad  <adconrad@0c3.net>
37560         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
37561         synonym for _SYS_AUXV_H to allow direct inclusion.
37562         * sysdeps/sparc/bits/hwcap.h: Likewise.
37563         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
37564         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
37565         * sysdeps/sparc/sysdep.h: Likewise.
37567 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
37569         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
37571 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
37573         * benchtests/bench-strrchr.c: Print length instead of position.
37575 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
37577         [BZ #16611]
37578         * sysdeps/unix/sysv/linux/kernel-features.h
37579         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
37580         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
37581         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
37582         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
37583         Likewise.
37584         [__i386__ || __powerpc__ || __sh__ || __sparc__]
37585         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
37586         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
37587         (__ASSUME_SENDMMSG): Define instead of using previous
37588         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
37589         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
37590         (__ASSUME_SENDMMSG_SYSCALL): Define.
37591         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
37592         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
37593         Likewise.
37594         * sysdeps/unix/sysv/linux/arm/kernel-features.h
37595         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
37596         Likewise.
37597         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
37598         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
37599         Likewise.
37600         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
37601         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
37602         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
37603         [__ASSUME_SENDMMSG]: Change conditionals to
37604         [__ASSUME_SENDMMSG_SOCKETCALL].
37605         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37606         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
37607         Define.
37608         * sysdeps/unix/sysv/linux/mips/kernel-features.h
37609         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
37610         Likewise.
37611         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
37612         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
37613         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
37614         [!__ASSUME_SENDMMSG]: Change conditional to
37615         [!__ASSUME_SENDMMSG_SOCKETCALL].
37616         * sysdeps/unix/sysv/linux/tile/kernel-features.h
37617         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
37618         Define.
37620         [BZ #16610]
37621         * sysdeps/unix/sysv/linux/kernel-features.h
37622         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
37623         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
37624         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
37625         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
37626         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
37627         [__i386__ || __sparc__]
37628         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
37629         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
37630         (__ASSUME_RECVMMSG): Define instead of using previous
37631         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
37632         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
37633         (__ASSUME_RECVMMSG_SYSCALL): Define.
37634         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
37635         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
37636         Likewise.
37637         * sysdeps/unix/sysv/linux/arm/kernel-features.h
37638         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
37639         Likewise.
37640         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
37641         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
37642         Likewise.
37643         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
37644         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
37645         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
37646         [__ASSUME_RECVMMSG]: Change condition to
37647         [__ASSUME_RECVMMSG_SOCKETCALL].
37648         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37649         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
37650         Define.
37651         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
37652         * sysdeps/unix/sysv/linux/mips/kernel-features.h
37653         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
37654         Likewise.
37655         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
37656         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
37657         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
37658         [!__ASSUME_RECVMMSG]: Change condition to
37659         [!__ASSUME_RECVMMSG_SOCKETCALL].
37660         * sysdeps/unix/sysv/linux/tile/kernel-features.h
37661         (__ASSUME_RECVMMSG_SYSCALL): Define.
37663         [BZ #16609]
37664         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
37665         __powerpc__ || __s390__ || __sh__ || __sparc__]
37666         (__ASSUME_SOCKETCALL): Define.
37667         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
37668         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
37669         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
37670         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
37671         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
37672         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
37673         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
37674         (__ASSUME_ACCEPT4): Define instead of using previous
37675         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
37676         __powerpc__ || __sparc__ || __s390__)] condition.
37677         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
37678         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
37679         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
37680         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
37681         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
37682         [!__ASSUME_ACCEPT4]: Change condition to
37683         [!__ASSUME_ACCEPT4_SOCKETCALL].
37684         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
37685         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
37686         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
37687         * sysdeps/unix/sysv/linux/arm/kernel-features.h
37688         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
37689         __ASSUME_ACCEPT4_SYSCALL.
37690         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
37691         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
37692         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
37693         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
37694         __ASSUME_ACCEPT4_SYSCALL.
37695         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
37696         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
37697         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
37698         [__ASSUME_ACCEPT4]: Change condition to
37699         [__ASSUME_ACCEPT4_SOCKETCALL].
37700         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
37701         (__ASSUME_SOCKETCALL): Define.
37702         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
37703         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37704         (__ASSUME_SOCKETCALL): Define.
37705         (__ASSUME_ACCEPT4): Remove.
37706         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
37707         Define.
37708         * sysdeps/unix/sysv/linux/mips/kernel-features.h
37709         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
37710         Likewise.
37711         * sysdeps/unix/sysv/linux/tile/kernel-features.h
37712         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
37714         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
37715         macro.
37716         (HWCAP_ARM_LPAE): Likewise.
37717         (HWCAP_ARM_EVTSTRM): Likewise.
37718         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
37719         Add vpfd32, lpae and evtstrm.
37720         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
37721         Increase to 22.
37723 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
37725         * math/auto-libm-test-in: Add tests of clog10.
37726         * math/auto-libm-test-out: Regenerated.
37727         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
37728         * sysdeps/i386/fpu/libm-test-ulps: Update.
37729         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37731 2014-02-18  Andreas Schwab  <schwab@suse.de>
37733         [BZ #16574]
37734         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
37735         Store non-zero if the second buffer was newly allocated.
37736         (send_dg): Likewise.
37737         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
37738         to send_vc and send_dg.
37739         (res_nsend): Pass NULL for ansp2_malloced.
37740         * resolv/res_query.c (__libc_res_nquery): Add parameter
37741         answerp2_malloced and pass it down to __libc_res_nsend.
37742         (res_nquery): Pass additional NULL to __libc_res_nquery.
37743         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
37744         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
37745         second answer buffer if answerp2_malloced was set.
37746         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
37747         (__libc_res_nquerydomain): Add parameter
37748         answerp2_malloced and pass it down to __libc_res_nquery.
37749         (res_nquerydomain): Pass additional NULL to
37750         __libc_res_nquerydomain.
37751         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
37752         additional NULL to __libc_res_nsend and __libc_res_nquery.
37753         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
37754         additional NULL to __libc_res_nsearch.
37755         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
37756         parameter of __libc_res_nsearch to check for separately allocated
37757         second buffer.
37758         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
37759         __libc_res_nquery.
37760         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
37761         additional NULL to __libc_res_nquery.
37762         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
37763         __libc_res_nsearch.
37764         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
37765         * include/resolv.h: Update prototypes of __libc_res_nquery,
37766         __libc_res_nsearch, __libc_res_nsend.
37768 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
37770         * math/auto-libm-test-in: Add tests of fma.
37771         * math/auto-libm-test-out: Regenerated.
37772         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
37773         (fma_towardzero_test_data): Likewise.
37774         (fma_downward_test_data): Likewise.
37775         (fma_upward_test_data): Likewise.
37776         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
37777         mpc_mode.
37778         (rounding_modes): Add values for new field.
37779         (func_calc_method): Add value mpfr_fff_f.
37780         (func_calc_desc): Add mpfr_fff_f union field.
37781         (test_function): Add field exact_args.
37782         (FUNC): Add macro argument EXACT_ARGS.
37783         (FUNC_mpfr_f_f): Update call to FUNC.
37784         (FUNC_mpfr_f_f): Likewise.
37785         (FUNC_mpfr_ff_f): Likewise.
37786         (FUNC_mpfr_if_f): Likewise.
37787         (FUNC_mpc_c_f): Likewise.
37788         (FUNC_mpc_c_c): Likewise.
37789         (test_functions): Add fma.  Update calls to FUNC.
37790         (handle_input_arg): Add argument exact_args.
37791         (add_test): Update call to handle_input_arg.
37792         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
37793         (output_for_one_input_case): Update call to calc_generic_results.
37794         Recalculate exact zero results in each rounding mode.
37796         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
37797         non-negative before setting low bit.
37798         * math/auto-libm-test-in: Mark one asin test possibly having
37799         spurious underflow.
37800         * math/auto-libm-test-out: Regenerated.
37801         * sysdeps/i386/fpu/libm-test-ulps: Update.
37802         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37804 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
37806         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
37807         * sysdeps/unix/sysv/linux/microblaze: Move directory from
37808         ports/sysdeps/unix/sysv/linux/microblaze.
37809         * README: Add missing listing for microblaze*-*-linux-gnu.
37811 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
37813         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
37814         duplicate code
37816 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
37818         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
37819         * sysdeps/unix/sysv/linux/ia64: Move directory from
37820         ports/sysdeps/unix/sysv/linux/ia64.
37821         * README: Update listing for ia64-*-linux-gnu.
37823 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
37824             Joseph Myers  <joseph@codesourcery.com>
37826         * Makeconfig (test-name): New variable.
37827         (evaluate-test): Likewise.
37828         * Makerules (do-test-clean): Remove .test-result files.
37829         (common-mostlyclean): Likewise.
37830         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
37831         * scripts/evaluate-test.sh: New file.
37833 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
37835         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
37836         separate $(objpfx)tst-fopenloc-cmp.out and
37837         $(objpfx)tst-fopenloc-mem.out targets.
37838         (tests): Update dependencies.
37839         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
37840         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
37841         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
37842         (tst-rxspencer-no-utf8-ARGS): New variable.
37843         (tst-rxspencer-no-utf8-ENV): Likewise.
37844         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
37845         instead of $(objpfx)tst-rxspencer-mem.
37846         ($(objpfx)tst-rxspencer-mem): Change target to
37847         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
37848         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
37849         * posix/tst-rxspencer-no-utf8.c: New file.
37851         * elf/Makefile ($(objpfx)order.out): Remove rule.
37852         [$(run-built-tests) = yes] (tests): Depend on
37853         $(objpfx)order-cmp.out.
37854         ($(objpfx)order-cmp.out): New rule.
37855         [$(run-built-tests) = yes] (tests): Depend on
37856         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
37857         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
37858         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
37859         $(objpfx)tst-array5-static-cmp.out.
37860         ($(objpfx)tst-array1.out): Remove rule.
37861         ($(objpfx)tst-array1-cmp.out): New rule.
37862         ($(objpfx)tst-array1-static.out): Remove rule.
37863         ($(objpfx)tst-array1-static-cmp.out): New rule.
37864         ($(objpfx)tst-array2.out): Remove rule.
37865         ($(objpfx)tst-array2-cmp.out): New rule.
37866         ($(objpfx)tst-array3.out): Remove rule.
37867         ($(objpfx)tst-array3-cmp.out): New rule.
37868         ($(objpfx)tst-array4.out): Remove rule.
37869         ($(objpfx)tst-array4-cmp.out): New rule.
37870         ($(objpfx)tst-array5.out): Remove rule.
37871         ($(objpfx)tst-array5-cmp.out): New rule.
37872         ($(objpfx)tst-array5-static.out): Remove rule.
37873         ($(objpfx)tst-array5-static-cmp.out): New rule.
37874         [$(run-built-tests) = yes] (tests): Depend on
37875         $(objpfx)order2-cmp.out.
37876         ($(objpfx)order2.out): Remove rule.
37877         ($(objpfx)order2-cmp.out): New rule.
37878         ($(objpfx)tst-initorder.out): Remove rule.
37879         [$(run-built-tests) = yes] (tests): Depend on
37880         $(objpfx)tst-initorder-cmp.out.
37881         ($(objpfx)tst-initorder-cmp.out): New rule.
37882         ($(objpfx)tst-initorder2.out): Remove rule.
37883         [$(run-built-tests) = yes] (tests): Depend on
37884         $(objpfx)tst-initorder2-cmp.out.
37885         ($(objpfx)tst-initorder2-cmp.out): New rule.
37886         [$(run-built-tests) = yes] (tests): Depend on
37887         $(objpfx)tst-unused-dep-cmp.out.
37888         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
37889         ($(objpfx)tst-unused-dep-cmp.out): New rule.
37890         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
37891         on $(objpfx)tst-setvbuf1-cmp.out.
37892         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
37893         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
37894         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
37895         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
37896         ($(objpfx)tst-svc.out): Remove rule.
37897         ($(objpfx)tst-svc-cmp.out): New rule.
37899 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
37901         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
37902         * ctype/ctype.h [__USE_MISC]: Likewise.
37903         * dirent/dirent.h [__USE_MISC]: Likewise.
37904         * grp/grp.h [__USE_MISC]: Likewise.
37905         * io/fcntl.h [__USE_MISC]: Likewise.
37906         * io/sys/stat.h [__USE_MISC]: Likewise.
37907         * libio/stdio.h [__USE_MISC]: Likewise.
37908         * posix/unistd.h [__USE_MISC]: Likewise.
37909         * pwd/pwd.h [__USE_MISC]: Likewise.
37910         * stdlib.h [__USE_MISC]: Likewise.
37911         * string/bits/string2.h [__USE_MISC]: Likewise.
37912         * string/string.h [__USE_MISC]: Likewise.
37913         * time/time.h [__USE_MISC]: Likewise.
37915 2014-02-13  Andreas Schwab  <schwab@suse.de>
37917         [BZ #16574]
37918         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
37919         second answer buffer if it was separately allocated.
37921 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
37923         * sysdeps/mips/math-tests.h: Include <features.h>.
37924         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
37925         (ROUNDING_TESTS_long_double): Do not define.
37926         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
37927         (EXCEPTION_TESTS_long_double): Likewise.
37928         * sysdeps/mips/mips64/libm-test-ulps: Update.
37930         * include/features.h (__USE_BSD): Remove macro definitions.
37931         (__USE_SVID): Likewise.
37932         (_BSD_SOURCE): Likewise.
37933         (_SVID_SOURCE): Likewise.
37934         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
37935         from definition of _DEFAULT_SOURCE.
37936         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
37937         [_DEFAULT_SOURCE].
37938         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
37939         * bits/mman.h [__USE_BSD]: Likewise.
37940         * bits/termios.h [__USE_BSD]: Likewise.
37941         * bits/waitstatus.h [__USE_BSD]: Likewise.
37942         * ctype/ctype.h [__USE_SVID]: Likewise.
37943         * dirent/dirent.h [__USE_BSD]: Likewise.
37944         * grp/grp.h [__USE_SVID]: Likewise.
37945         [__USE_BSD]: Likewise.
37946         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
37947         * io/fcntl.h [__USE_BSD]: Likewise.
37948         * io/ftw.h [__USE_BSD]: Likewise.
37949         * io/sys/stat.h [__USE_BSD]: Likewise.
37950         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
37951         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
37952         * libio/stdio.h [__USE_SVID]: Likewise.
37953         [__USE_BSD]: Likewise.
37954         * math/math.h [__USE_SVID]: Likewise.
37955         [__USE_BSD]: Likewise.
37956         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
37957         * misc/bits/syslog.h [__USE_BSD]: Likewise.
37958         * misc/search.h [__USE_SVID]: Likewise.
37959         * misc/sys/mman.h [__USE_BSD]: Likewise.
37960         * misc/sys/syslog.h [__USE_BSD]: Likewise.
37961         * misc/sys/uio.h [__USE_BSD]: Likewise.
37962         * posix/bits/unistd.h [__USE_BSD]: Likewise.
37963         * posix/glob.h [__USE_BSD]: Likewise.
37964         * posix/regex.h [__USE_BSD]: Likewise.
37965         * posix/sys/types.h [__USE_BSD]: Likewise.
37966         [__USE_SVID]: Likewise.
37967         * posix/sys/utsname.h [__USE_SVID]: Likewise.
37968         * posix/sys/wait.h [__USE_BSD]: Likewise.
37969         [__USE_SVID]: Likewise.
37970         * posix/unistd.h [__USE_BSD]: Likewise.
37971         [__USE_SVID]: Likewise.
37972         * pwd/pwd.h [__USE_SVID]: Likewise.
37973         * resolv/netdb.h [__USE_BSD]: Likewise.
37974         * setjmp/setjmp.h [__USE_BSD]: Likewise.
37975         * signal/signal.h [__USE_BSD]: Likewise.
37976         [__USE_SVID]: Likewise.
37977         * socket/sys/socket.h [__USE_BSD]: Likewise.
37978         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
37979         * stdlib/stdlib.h [__USE_BSD]: Likewise.
37980         [__USE_SVID]: Likewise.
37981         * string/bits/string2.h [__USE_BSD]: Likewise.
37982         [__USE_SVID]: Likewise.
37983         * string/bits/string3.h [__USE_BSD]: Likewise.
37984         * string/endian.h [__USE_BSD]: Likewise.
37985         * string/string.h [__USE_SVID]: Likewise.
37986         [__USE_BSD]: Likewise.
37987         * string/strings.h [__USE_BSD]: Likewise.
37988         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
37989         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
37990         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
37991         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
37992         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
37993         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
37994         Likewise.
37995         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
37996         Likewise.
37997         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
37998         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
37999         Likewise.
38000         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
38001         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
38002         Likewise.
38003         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
38004         Likewise.
38005         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
38006         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
38007         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
38008         Likewise.
38009         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
38010         Likewise.
38011         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
38012         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
38013         * termios/termios.h [__USE_BSD]: Likewise.
38014         * time/sys/time.h [__USE_BSD]: Likewise.
38015         * time/time.h [__USE_BSD]: Likewise.
38016         [__USE_SVID]: Likewise.
38018         * Makefile (subdir_targets): Remove subdir_lint.out.
38020         * stdio-common/Makefile (do-tst-unbputc): Remove target.
38021         (do-tst-printf): Likewise.
38022         (tests): Depend directly on $(objpfx)tst-unbputc.out and
38023         $(objpfx)tst-printf.out.
38025         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
38027         * Makerules (check-abi-%): Change target to
38028         $(objpfx)check-abi-%.out.
38029         (check-abi target): Update dependencies.
38030         (check-abi-pattern variable): Redirect output of diff to $@.
38031         (check-abi variable): Likewise.
38032         * elf/Makefile (check-abi): Update dependencies.
38034         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
38035         unused.
38036         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
38037         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
38038         subnormal range.
38039         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
38040         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
38041         value has largest subnormal exponent.
38042         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
38043         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
38044         * sysdeps/aarch64/soft-fp/sfp-machine.h
38045         (_FP_TININESS_AFTER_ROUNDING): New macro.
38046         * sysdeps/alpha/soft-fp/sfp-machine.h
38047         (_FP_TININESS_AFTER_ROUNDING): Likewise.
38048         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
38049         Likewise.
38050         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
38051         (_FP_TININESS_AFTER_ROUNDING): Likewise.
38052         * sysdeps/mips/soft-fp/sfp-machine.h
38053         (_FP_TININESS_AFTER_ROUNDING): Likewise.
38054         * sysdeps/powerpc/soft-fp/sfp-machine.h
38055         (_FP_TININESS_AFTER_ROUNDING): Likewise.
38056         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
38057         Likewise.
38058         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
38059         (_FP_TININESS_AFTER_ROUNDING): Likewise.
38060         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
38061         (_FP_TININESS_AFTER_ROUNDING): Likewise.
38062         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
38063         Likewise.
38065 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
38067         [BZ #16545]
38068         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
38069         model 1.
38071 2014-02-12  Richard Henderson  <rth@redhat.com>
38073         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
38074         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
38075         * sysdeps/unix/sysv/linux/alpha: Move directory from
38076         ports/sysdeps/unix/sysv/linux/alpha.
38077         * README: Update listing for alpha-*-linux-gnu.
38079 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
38081         * include/features.h: Update comment documenting feature test
38082         macros.
38083         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
38084         _DEFAULT_SOURCE.
38085         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
38086         (_SVID_SOURCE): Likewise.
38087         (_DEFAULT_SOURCE): Update description of default features.
38088         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
38089         with _GNU_SOURCE.
38090         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
38091         (S_ISVTX): Likewise.
38092         * manual/math.texi (Mathematical Constants): Likewise.
38093         * manual/signal.texi (Interrupted Primitives): Likewise.
38094         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
38095         * math/test-matherr.c (_SVID_SOURCE): Do not define.
38096         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
38097         Don't refer to _SVID_SOURCE in warning text.
38099         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38101         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
38102         already defined.
38103         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
38104         * sysdeps/mips/dl-lookup.c: Remove.
38105         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
38107 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
38109         [BZ #16447]
38110         * math/auto-libm-test-in: Add testcase for expl.
38111         * math/auto-libm-test-out: Regenerate.
38112         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
38113         calculation of unsafe.
38114         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
38116 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
38118         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
38119         * sysdeps/unix/sysv/linux/aarch64: Move directory from
38120         ports/sysdeps/unix/sysv/linux/aarch64.
38121         * README: Update listing for aarch64*-*-linux-gnu.
38123 2014-02-11  Will Newton  <will.newton@linaro.org>
38125         * manual/probes.texi (Mathematical Function Probes): Use
38126         "triggered" instead of "hit".
38128         * manual/probes.texi (Internal Probes): Add documentation
38129         of setjmp, longjmp and longjmp_target probes.
38131         * include/stap-probe.h: Add comment about probe argument
38132         format.
38134         * malloc/mtrace.c (attribute_hidden): Remove unused macro
38135         definition.  (tr_where, tr_freehook, tr_mallochook,
38136         tr_reallochook, tr_memalignhook): Use ANSI protoype.
38138 2014-02-11  David S. Miller  <davem@davemloft.net>
38140         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
38141         processing int_tests.
38143 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
38145         * sysdeps/mips: Move directory from ports/sysdeps/mips.
38146         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
38147         * sysdeps/unix/sysv/linux/mips: Move directory from
38148         ports/sysdeps/unix/sysv/linux/mips.
38149         * README: Update listing for mips-*-linux-gnu and
38150         mips64-*-linux-gnu.
38152 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
38154         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
38155         * sysdeps/unix/sysv/linux/m68k: Move directory from
38156         ports/sysdeps/unix/sysv/linux/m68k.
38157         * README: Update listing for m68k-*-linux-gnu.
38159 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
38161         * sysdeps/tile: Move directory from ports/sysdeps/tile.
38162         * sysdeps/unix/sysv/linux/generic: Move directory from
38163         ports/sysdeps/unix/sysv/linux/generic.
38164         * sysdeps/unix/sysv/linux/tile: Move directory from
38165         ports/sysdeps/unix/sysv/linux/tile.
38166         * README: Update listing for tile*-*-linux-gnu.
38168 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
38170         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
38171         __builtin_expect.
38172         * benchtests/bench-memmem.c (simple_memmem): Likewise.
38173         * catgets/open_catalog.c (__open_catalog): Likewise.
38174         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
38175         * debug/confstr_chk.c: Likewise.
38176         * debug/fread_chk.c (__fread_chk): Likewise.
38177         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
38178         * debug/getgroups_chk.c: Likewise.
38179         * debug/mbsnrtowcs_chk.c: Likewise.
38180         * debug/mbsrtowcs_chk.c: Likewise.
38181         * debug/mbstowcs_chk.c: Likewise.
38182         * debug/memcpy_chk.c: Likewise.
38183         * debug/memmove_chk.c: Likewise.
38184         * debug/mempcpy_chk.c: Likewise.
38185         * debug/memset_chk.c: Likewise.
38186         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
38187         * debug/strcat_chk.c (__strcat_chk): Likewise.
38188         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
38189         * debug/strncat_chk.c (__strncat_chk): Likewise.
38190         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
38191         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
38192         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
38193         * debug/wcpncpy_chk.c: Likewise.
38194         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
38195         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
38196         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
38197         * debug/wcsncpy_chk.c: Likewise.
38198         * debug/wcsnrtombs_chk.c: Likewise.
38199         * debug/wcsrtombs_chk.c: Likewise.
38200         * debug/wcstombs_chk.c: Likewise.
38201         * debug/wmemcpy_chk.c: Likewise.
38202         * debug/wmemmove_chk.c: Likewise.
38203         * debug/wmempcpy_chk.c: Likewise.
38204         * debug/wmemset_chk.c: Likewise.
38205         * dirent/scandirat.c (SCANDIRAT): Likewise.
38206         * dlfcn/dladdr1.c (dladdr1): Likewise.
38207         * dlfcn/dladdr.c (dladdr): Likewise.
38208         * dlfcn/dlclose.c (dlclose_doit): Likewise.
38209         * dlfcn/dlerror.c (__dlerror): Likewise.
38210         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
38211         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
38212         * dlfcn/dlopen.c (dlopen_doit): Likewise.
38213         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
38214         * dlfcn/dlsym.c (dlsym_doit): Likewise.
38215         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
38216         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
38217         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
38218         Likewise.
38219         * elf/dl-conflict.c: Likewise.
38220         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
38221         * elf/dl-dst.h: Likewise.
38222         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
38223         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
38224         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
38225         * elf/dl-init.c (call_init, _dl_init): Likewise.
38226         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
38227         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
38228         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
38229         Likewise.
38230         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
38231         Likewise.
38232         * elf/dl-minimal.c (__libc_memalign): Likewise.
38233         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
38234         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
38235         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
38236         * elf/dl-sym.c (do_sym): Likewise.
38237         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
38238         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
38239         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
38240         * elf/dl-writev.h (_dl_writev): Likewise.
38241         * elf/ldconfig.c (search_dir): Likewise.
38242         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
38243         (dl_main): Likewise.
38244         * elf/setup-vdso.h (setup_vdso): Likewise.
38245         * grp/compat-initgroups.c (compat_call): Likewise.
38246         * grp/fgetgrent.c (fgetgrent): Likewise.
38247         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
38248         * grp/putgrent.c (putgrent): Likewise.
38249         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
38250         Likewise.
38251         * hurd/hurdinit.c: Likewise.
38252         * iconvdata/8bit-gap.c (struct): Likewise.
38253         * iconvdata/ansi_x3.110.c : Likewise.
38254         * iconvdata/big5.c : Likewise.
38255         * iconvdata/big5hkscs.c : Likewise.
38256         * iconvdata/cp1255.c: Likewise.
38257         * iconvdata/cp1258.c : Likewise.
38258         * iconvdata/cp932.c : Likewise.
38259         * iconvdata/euc-cn.c: Likewise.
38260         * iconvdata/euc-jisx0213.c : Likewise.
38261         * iconvdata/euc-jp.c: Likewise.
38262         * iconvdata/euc-jp-ms.c : Likewise.
38263         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
38264         * iconvdata/gb18030.c : Likewise.
38265         * iconvdata/gbbig5.c (const): Likewise.
38266         * iconvdata/gbgbk.c: Likewise.
38267         * iconvdata/gbk.c : Likewise.
38268         * iconvdata/ibm1364.c : Likewise.
38269         * iconvdata/ibm930.c : Likewise.
38270         * iconvdata/ibm932.c: Likewise.
38271         * iconvdata/ibm933.c : Likewise.
38272         * iconvdata/ibm935.c : Likewise.
38273         * iconvdata/ibm937.c : Likewise.
38274         * iconvdata/ibm939.c : Likewise.
38275         * iconvdata/ibm943.c: Likewise.
38276         * iconvdata/iso_11548-1.c: Likewise.
38277         * iconvdata/iso-2022-cn.c : Likewise.
38278         * iconvdata/iso-2022-cn-ext.c : Likewise.
38279         * iconvdata/iso-2022-jp-3.c: Likewise.
38280         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
38281         * iconvdata/iso-2022-kr.c : Likewise.
38282         * iconvdata/iso646.c (gconv_end): Likewise.
38283         * iconvdata/iso_6937-2.c : Likewise.
38284         * iconvdata/iso_6937.c : Likewise.
38285         * iconvdata/iso8859-1.c: Likewise.
38286         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
38287         * iconvdata/shift_jisx0213.c : Likewise.
38288         * iconvdata/sjis.c : Likewise.
38289         * iconvdata/t.61.c : Likewise.
38290         * iconvdata/tcvn5712-1.c : Likewise.
38291         * iconvdata/tscii.c: Likewise.
38292         * iconvdata/uhc.c : Likewise.
38293         * iconvdata/unicode.c (gconv_end): Likewise.
38294         * iconvdata/utf-16.c (gconv_end): Likewise.
38295         * iconvdata/utf-32.c (gconv_end): Likewise.
38296         * iconvdata/utf-7.c (base64): Likewise.
38297         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
38298         * iconv/gconv_close.c (__gconv_close): Likewise.
38299         * iconv/gconv_open.c (__gconv_open): Likewise.
38300         * iconv/gconv_simple.c (internal_ucs4_loop_single)
38301         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
38302         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
38303         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
38304         (ucs4le_internal_loop_single): Likewise.
38305         * iconv/iconv.c (iconv): Likewise.
38306         * iconv/iconv_close.c: Likewise.
38307         * iconv/loop.c (SINGLE): Likewise.
38308         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
38309         * include/atomic.h: Likewise.
38310         * inet/inet6_option.c (option_alloc): Likewise.
38311         * intl/bindtextdom.c (set_binding_values): Likewise.
38312         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
38313         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
38314         * intl/localealias.c (read_alias_file): Likewise.
38315         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
38316         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
38317         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
38318         * libio/fmemopen.c (fmemopen): Likewise.
38319         * libio/iofgets.c (_IO_fgets): Likewise.
38320         * libio/iofgets_u.c (fgets_unlocked): Likewise.
38321         * libio/iofgetws.c (fgetws): Likewise.
38322         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
38323         * libio/iogetdelim.c (_IO_getdelim): Likewise.
38324         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
38325         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
38326         * locale/findlocale.c (_nl_find_locale): Likewise.
38327         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
38328         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
38329         Likewise.
38330         * locale/setlocale.c (setlocale): Likewise.
38331         * login/programs/pt_chown.c (main): Likewise.
38332         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
38333         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
38334         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
38335         (mmap, mmap64, mremap, munmap): Likewise.
38336         * math/e_exp2l.c: Likewise.
38337         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
38338         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
38339         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
38340         * math/s_catan.c (__catan): Likewise.
38341         * math/s_catanf.c (__catanf): Likewise.
38342         * math/s_catanh.c (__catanh): Likewise.
38343         * math/s_catanhf.c (__catanhf): Likewise.
38344         * math/s_catanhl.c (__catanhl): Likewise.
38345         * math/s_catanl.c (__catanl): Likewise.
38346         * math/s_ccosh.c (__ccosh): Likewise.
38347         * math/s_ccoshf.c (__ccoshf): Likewise.
38348         * math/s_ccoshl.c (__ccoshl): Likewise.
38349         * math/s_cexp.c (__cexp): Likewise.
38350         * math/s_cexpf.c (__cexpf): Likewise.
38351         * math/s_cexpl.c (__cexpl): Likewise.
38352         * math/s_clog10.c (__clog10): Likewise.
38353         * math/s_clog10f.c (__clog10f): Likewise.
38354         * math/s_clog10l.c (__clog10l): Likewise.
38355         * math/s_clog.c (__clog): Likewise.
38356         * math/s_clogf.c (__clogf): Likewise.
38357         * math/s_clogl.c (__clogl): Likewise.
38358         * math/s_csin.c (__csin): Likewise.
38359         * math/s_csinf.c (__csinf): Likewise.
38360         * math/s_csinh.c (__csinh): Likewise.
38361         * math/s_csinhf.c (__csinhf): Likewise.
38362         * math/s_csinhl.c (__csinhl): Likewise.
38363         * math/s_csinl.c (__csinl): Likewise.
38364         * math/s_csqrt.c (__csqrt): Likewise.
38365         * math/s_csqrtf.c (__csqrtf): Likewise.
38366         * math/s_csqrtl.c (__csqrtl): Likewise.
38367         * math/s_ctan.c (__ctan): Likewise.
38368         * math/s_ctanf.c (__ctanf): Likewise.
38369         * math/s_ctanh.c (__ctanh): Likewise.
38370         * math/s_ctanhf.c (__ctanhf): Likewise.
38371         * math/s_ctanhl.c (__ctanhl): Likewise.
38372         * math/s_ctanl.c (__ctanl): Likewise.
38373         * math/w_pow.c: Likewise.
38374         * math/w_powf.c: Likewise.
38375         * math/w_powl.c: Likewise.
38376         * math/w_scalb.c (sysv_scalb): Likewise.
38377         * math/w_scalbf.c (sysv_scalbf): Likewise.
38378         * math/w_scalbl.c (sysv_scalbl): Likewise.
38379         * misc/error.c (error_tail): Likewise.
38380         * misc/pselect.c (__pselect): Likewise.
38381         * nis/nis_callback.c (__nis_create_callback): Likewise.
38382         * nis/nis_call.c (__nisfind_server): Likewise.
38383         * nis/nis_creategroup.c (nis_creategroup): Likewise.
38384         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
38385         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
38386         * nis/nis_getservlist.c (nis_getservlist): Likewise.
38387         * nis/nis_lookup.c (nis_lookup): Likewise.
38388         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
38389         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
38390         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
38391         * nis/nis_xdr.c (xdr_endpoint): Likewise.
38392         * nis/nss_compat/compat-grp.c (getgrent_next_file)
38393         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
38394         * nis/nss_compat/compat-initgroups.c (add_group)
38395         (internal_getgrent_r): Likewise.
38396         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
38397         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
38398         * nis/nss_compat/compat-spwd.c (getspent_next_file)
38399         (internal_getspnam_r): Likewise.
38400         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
38401         (_nss_nis_getaliasbyname_r): Likewise.
38402         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
38403         (_nss_nis_getntohost_r): Likewise.
38404         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
38405         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
38406         (_nss_nis_getgrgid_r): Likewise.
38407         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
38408         (internal_nis_gethostent_r, internal_gethostbyname2_r)
38409         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
38410         (_nss_nis_gethostbyname4_r): Likewise.
38411         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
38412         (initgroups_netid): Likewise.
38413         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
38414         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
38415         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
38416         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
38417         (_nss_nis_getprotobynumber_r): Likewise.
38418         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
38419         (_nss_nis_getsecretkey): Likewise.
38420         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
38421         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
38422         (_nss_nis_getpwuid_r): Likewise.
38423         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
38424         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
38425         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
38426         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
38427         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
38428         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
38429         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
38430         Likewise.
38431         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
38432         (_nss_nisplus_getntohost_r): Likewise.
38433         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
38434         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
38435         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
38436         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
38437         Likewise.
38438         * nis/nss_nisplus/nisplus-initgroups.c
38439         (_nss_nisplus_initgroups_dyn): Likewise.
38440         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
38441         (_nss_nisplus_getnetbyaddr_r): Likewise.
38442         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
38443         (_nss_nisplus_getprotobynumber_r): Likewise.
38444         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
38445         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
38446         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
38447         Likewise.
38448         * nis/nss_nisplus/nisplus-service.c
38449         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
38450         (_nss_nisplus_getservbyport_r): Likewise.
38451         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
38452         (_nss_nisplus_getspnam_r): Likewise.
38453         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
38454         Likewise.
38455         * nscd/aicache.c (addhstaiX): Likewise.
38456         * nscd/cache.c (cache_search, prune_cache): Likewise.
38457         * nscd/connections.c (register_traced_file, send_ro_fd)
38458         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
38459         (main_loop_epoll): Likewise.
38460         * nscd/grpcache.c (addgrbyX): Likewise.
38461         * nscd/hstcache.c (addhstbyX): Likewise.
38462         * nscd/initgrcache.c (addinitgroupsX): Likewise.
38463         * nscd/mem.c (gc, mempool_alloc): Likewise.
38464         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
38465         (addinnetgrX): Likewise.
38466         * nscd/nscd-client.h (__nscd_acquire_maplock)
38467         (__nscd_drop_map_ref): Likewise.
38468         * nscd/nscd_getai.c (__nscd_getai): Likewise.
38469         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
38470         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
38471         Likewise.
38472         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
38473         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
38474         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
38475         (__nscd_get_map_ref): Likewise.
38476         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
38477         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
38478         Likewise.
38479         * nscd/pwdcache.c (addpwbyX): Likewise.
38480         * nscd/selinux.c (preserve_capabilities): Likewise.
38481         * nscd/servicescache.c (addservbyX): Likewise.
38482         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
38483         * posix/fnmatch.c (fnmatch): Likewise.
38484         * posix/getopt.c (_getopt_internal_r): Likewise.
38485         * posix/glob.c (glob, glob_in_dir): Likewise.
38486         * posix/wordexp.c (exec_comm_child): Likewise.
38487         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
38488         (getanswer_r, gaih_getanswer_slice): Likewise.
38489         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
38490         * resolv/res_init.c: Likewise.
38491         * resolv/res_mkquery.c (res_nmkquery): Likewise.
38492         * resolv/res_query.c (__libc_res_nquery): Likewise.
38493         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
38494         Likewise.
38495         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
38496         * stdio-common/perror.c (perror): Likewise.
38497         * stdio-common/printf_fp.c (___printf_fp): Likewise.
38498         * stdio-common/tmpnam.c (tmpnam): Likewise.
38499         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
38500         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
38501         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
38502         Likewise.
38503         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
38504         * stdlib/putenv.c (putenv): Likewise.
38505         * stdlib/setenv.c (__add_to_environ): Likewise.
38506         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
38507         * stdlib/strtol_l.c (INTERNAL): Likewise.
38508         * string/memmem.c (memmem): Likewise.
38509         * string/strerror.c (strerror): Likewise.
38510         * string/strnlen.c (__strnlen): Likewise.
38511         * string/test-memmem.c (simple_memmem): Likewise.
38512         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
38513         * sunrpc/pm_getport.c (__get_socket): Likewise.
38514         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
38515         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
38516         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
38517         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
38518         Likewise.
38519         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
38520         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
38521         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
38522         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
38523         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
38524         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
38525         Likewise.
38526         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
38527         Likewise.
38528         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
38529         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
38530         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
38531         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
38532         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
38533         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
38534         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
38535         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
38536         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
38537         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
38538         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
38539         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
38540         Likewise.
38541         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
38542         Likewise.
38543         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
38544         Likewise.
38545         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
38546         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
38547         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
38548         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
38549         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
38550         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
38551         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
38552         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
38553         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
38554         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
38555         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
38556         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38557         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
38558         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
38559         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38560         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
38561         Likewise.
38562         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
38563         Likewise.
38564         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
38565         Likewise.
38566         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
38567         Likewise.
38568         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
38569         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38570         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
38571         Likewise.
38572         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
38573         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
38574         * sysdeps/posix/opendir.c (__opendirat): Likewise.
38575         * sysdeps/posix/sleep.c: Likewise.
38576         * sysdeps/posix/tempname.c: Likewise.
38577         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
38578         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
38579         Likewise.
38580         * sysdeps/powerpc/powerpc32/dl-machine.h
38581         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
38582         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
38583         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
38584         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
38585         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
38586         Likewise.
38587         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
38588         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
38589         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
38590         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
38591         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
38592         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
38593         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
38594         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
38595         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
38596         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
38597         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
38598         (elf_machine_lazy_rel): Likewise.
38599         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
38600         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
38601         (elf_machine_lazy_rel): Likewise.
38602         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
38603         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
38604         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
38605         * sysdeps/unix/grantpt.c (grantpt): Likewise.
38606         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
38607         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
38608         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
38609         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38610         Likewise.
38611         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
38612         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
38613         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
38614         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
38615         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
38616         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
38617         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
38618         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
38619         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
38620         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
38621         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
38622         Likewise.
38623         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
38624         (__posix_fallocate64_l64): Likewise.
38625         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
38626         (posix_fallocate): Likewise.
38627         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
38628         Likewise.
38629         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
38630         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
38631         (getifaddrs_internal): Likewise.
38632         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
38633         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
38634         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
38635         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
38636         * sysdeps/unix/sysv/linux/posix_fallocate64.c
38637         (__posix_fallocate64_l64): Likewise.
38638         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
38639         Likewise.
38640         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
38641         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
38642         (__get_clockfreq): Likewise.
38643         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
38644         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
38645         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
38646         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
38647         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
38648         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
38649         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
38650         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
38651         Likewise.
38652         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
38653         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
38654         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
38655         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
38656         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
38657         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
38658         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
38659         Likewise.
38660         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
38661         (posix_fallocate): Likewise.
38662         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
38663         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
38664         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
38665         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
38666         (elf_machine_rela, elf_machine_rela_relative)
38667         (elf_machine_lazy_rel): Likewise.
38668         * time/asctime.c (asctime_internal): Likewise.
38669         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
38670         * time/tzset.c (__tzset_parse_tz): Likewise.
38671         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
38672         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
38673         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
38674         * wcsmbs/wcsmbsload.h: Likewise.
38676         [BZ #15894]
38677         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
38679         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
38680         (arena_get2): Remove THREAD_STATS conditionals.
38681         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
38682         (__malloc_stats, int): Likewise.
38684 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
38686         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
38687         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
38689         * manual/setjmp.texi: Fix typos/grammar errors.
38691         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
38692         Only return early when n is <= 0.  Delete unused return statement.
38694         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
38695         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
38696         * debug/tst-longjmp_chk3.c: New file.
38698         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
38699         (test_main): Replace code with set_fortify_handler call.
38700         * debug/test-strcpy_chk.c: Likewise.
38701         * debug/tst-chk1.c: Likewise.
38702         * debug/tst-longjmp_chk.c: Likewise.
38703         * test-skeleton.c: Include fcntl.h & paths.h
38704         (set_fortify_handler): Define.
38706         * debug/tst-longjmp_chk.c: Add header comment and include
38707         ../test-skeleton.c.
38708         (do_test): Mark static.
38709         (TEST_FUNCTION): Define.
38711         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
38712         (IP_PMTUDISC_INTERFACE): Likewise.
38713         (IP_MULTICAST_IF): Likewise.
38714         (IP_MULTICAST_TTL): Likewise.
38715         (IP_MULTICAST_LOOP): Likewise.
38716         (IP_ADD_MEMBERSHIP): Likewise.
38717         (IP_DROP_MEMBERSHIP): Likewise.
38718         (IP_UNBLOCK_SOURCE): Likewise.
38719         (IP_BLOCK_SOURCE): Likewise.
38720         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
38721         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
38722         (IP_MSFILTER): Likewise.
38723         (MCAST_JOIN_GROUP): Likewise.
38724         (MCAST_BLOCK_SOURCE): Likewise.
38725         (MCAST_UNBLOCK_SOURCE): Likewise.
38726         (MCAST_LEAVE_GROUP): Likewise.
38727         (MCAST_JOIN_SOURCE_GROUP): Likewise.
38728         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
38729         (MCAST_MSFILTER): Likewise.
38730         (IP_MULTICAST_ALL): Likewise.
38731         (IP_UNICAST_IF): Likewise.
38733         * timezone/Makefile: Delete $(have-ksh) check.
38734         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
38735         * timezone/tzselect.ksh: Add +x mode bits.
38737         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
38738         (ANON_INODE_FS_MAGIC): Likewise.
38739         (BDEVFS_MAGIC): Likewise.
38740         (BINFMTFS_MAGIC): Likewise.
38741         (BTRFS_TEST_MAGIC): Likewise.
38742         (CRAMFS_MAGIC_WEND): Likewise.
38743         (DEBUGFS_MAGIC): Likewise.
38744         (ECRYPTFS_SUPER_MAGIC): Likewise.
38745         (EXT3_SUPER_MAGIC): Likewise.
38746         (EXT4_SUPER_MAGIC): Likewise.
38747         (FUTEXFS_SUPER_MAGIC): Likewise.
38748         (HOSTFS_SUPER_MAGIC): Likewise.
38749         (HUGETLBFS_MAGIC): Likewise.
38750         (MINIX3_SUPER_MAGIC): Likewise.
38751         (MTD_INODE_FS_MAGIC): Likewise.
38752         (NILFS_SUPER_MAGIC): Likewise.
38753         (OPENPROM_SUPER_MAGIC): Likewise.
38754         (PIPEFS_MAGIC): Likewise.
38755         (PSTOREFS_MAGIC): Likewise.
38756         (QNX6_SUPER_MAGIC): Likewise.
38757         (RAMFS_MAGIC): Likewise.
38758         (REISERFS_SUPER_MAGIC_STRING): Likewise.
38759         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
38760         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
38761         (SECURITYFS_MAGIC): Likewise.
38762         (SELINUX_MAGIC): Likewise.
38763         (SMACK_MAGIC): Likewise.
38764         (SOCKFS_MAGIC): Likewise.
38765         (SQUASHFS_MAGIC): Likewise.
38766         (STACK_END_MAGIC): Likewise.
38767         (TMPFS_MAGIC): Likewise.
38768         (USBDEVICE_SUPER_MAGIC): Likewise.
38769         (V9FS_MAGIC): Likewise.
38770         (XENFS_SUPER_MAGIC): Likewise.
38771         (CRAMFS_MAGIC): Fix typo in comment.
38772         (EXT2_SUPER_MAGIC): Update comment.
38773         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
38775 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
38777         * sysdeps/arm: Move directory from ports/sysdeps/arm.
38778         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
38779         * sysdeps/unix/sysv/linux/arm: Move directory from
38780         ports/sysdeps/unix/sysv/linux/arm.
38781         * README: Update listing for arm-*-linux-gnueabi.
38783         * README: Remove mention of am33.
38785 2014-02-07  Roland McGrath  <roland@hack.frob.com>
38787         * bits/sigset.h (__sigemptyset): Use a statement expression rather
38788         than the comma operator, to avoid "rhs of comma has no effect"
38789         compiler warnings.
38790         (__sigfillset, __sigandset, __sigorset): Likewise.
38791         * include/signal.h (__sigemptyset): Likewise.
38792         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
38794 2014-02-07  Allan McRae  <allan@archlinux.org>
38796         * version.h (RELEASE): Set to "development".
38797         (VERSION): Set to "2.19.90"
38798         * NEWS: Add 2.20 section.
38800 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
38802         [BZ #16529]
38803         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
38805 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
38807         * manual/contrib.texi: Update entry for Carlos O'Donell,
38808         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
38810 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
38812         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
38814         * sysdeps/unix/sysv/linux/kernel-features.h
38815         [__LINUX_KERNEL_VERSION >= 0x020621]
38816         (__ASSUME_PROC_PID_TASK_COMM): Define.
38818 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
38820         [BZ #16398]
38821         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
38822         conversion when destination buffer does not have enough space.
38823         * libio/tst-ftell-partial-wide.c: New test case.
38824         * libio/Makefile (tests): Add tst-ftell-partial-wide.
38826         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
38827         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
38828         Leonard and Allan McRae.
38830 2014-02-04  David S. Miller  <davem@davemloft.net>
38832         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
38833         32-bit.
38835 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
38838         New file
38839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
38840         New file
38841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
38842         New file.
38843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
38844         New file.
38845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
38846         New file.
38847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
38848         New file.
38849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
38850         New file.
38851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
38852         New file.
38853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
38854         New file.
38855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
38856         New file.
38857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
38858         New file.
38859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
38860         New file.
38861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
38862         New file.
38864 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38866         * nptl/shlib-versions: Change powerpc*le start to 2.17.
38867         * shlib-versions: Likewise.
38869 2014-02-04  Roland McGrath  <roland@hack.frob.com>
38870             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38872         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
38873         (abilist-pattern): New variable, set to %-le.abilist.
38875         * Makerules (abilist-pattern): New variable.
38876         (vpath): Use $(abilist-pattern) in place of %.abilist.
38877         (check-abi-% pattern rule): Likewise.
38878         (check-abi, update-abi): Likewise.
38880 2014-02-04  Eric Wong  <normalperson@yhbt.net>
38882         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38884 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
38886         * manual/startup.texi: Add next, previous, and top entries for
38887         the `Program Arguments' and `Environment Variables' nodes.
38889 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
38891         * manual/macros.texi: Add comments before MTASC-safety macros.
38893         * manual/users.texi: Document MTASC-safety properties.
38895         * manual/threads.texi (pthread_key_create, pthread_key_delete)
38896         (pthread_getspecific, pthread_setspecific): Format with
38897         @deftypefun, and add @safety note.
38898         * manual/signal.texi: Move comments that analyze the above
38899         functions to their home place.
38901 2014-02-03  Allan McRae  <allan@archlinux.org>
38903         * po/sl.po: Update Slovenian translation from translation project.
38905 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
38907         * manual/time.texi (timegm): Add missing blank after @c.
38908         Reported by Joseph Myers <joseph@codesourcery.com>.
38910 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
38912         * manual/check-safety.sh: New.
38913         * manual/Makefile ($(objpfx)stamp-summary): Run it.
38915         * manual/terminal.texi: Document MTASC-safety properties.
38917         * manual/filesys.texi: Document MTASC-safety properties.
38919         * manual/errno.texi: Document MTASC-safety properties.
38921         * manual/intro.texi: Document safety identifiers and
38922         conditionals.
38924         * manual/string.texi (wcstok): Fix prototype.
38925         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
38927         * manual/time.texi: Document MTASC-safety properties.
38929         * manual/string.texi: Document MTASC-safety properties.
38931         * manual/threads.texi: Document MTASC-safety properties.
38933         * manual/stdio.texi: Document MTASC-safety properties.
38935         * manual/syslog.texi: Document MTASC-safety properties.
38937         * manual/sysinfo.texi: Document MTASC-safety properties.
38939         * manual/startup.texi: Document MTASC-safety properties.
38941         * manual/socket.texi: Document MTASC-safety properties.
38943         * manual/signal.texi: Document MTASC-safety properties.
38945 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
38947         * manual/setjmp.texi: Document MTASC-safety properties.
38949         * manual/search.texi: Document MTASC-safety properties.
38951         * manual/resource.texi: Document MTASC-safety properties.
38953         * manual/process.texi: Document MTASC-safety properties.
38955         * manual/platform.texi: Document MTASC-safety properties.
38957         * manual/pipe.texi: Document MTASC-safety properties.
38959         * manual/pattern.texi: Document MTASC-safety properties.
38961         * manual/message.texi: Document MTASC-safety properties.
38963         [BZ #12751]
38964         * manual/memory.texi: Document MTASC-safety properties.
38966         * manual/math.texi: Document MTASC-safety properties.
38968         * manual/locale.texi: Document MTASC-safety properties.
38970         * manual/llio.texi: Document MTASC-safety properties.
38972         * manual/libdl.texi: New.
38974         * manual/lang.texi: Document MTASC-safety properties.
38976         * manual/job.texi: Document MTASC-safety properties.
38978         * manual/getopt.texi: Document MTASC-safety properties.
38980         * manual/ctype.texi: Document MTASC-safety properties.
38982 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
38984         [BZ #16046]
38985         * csu/libc-tls.c (static_map): Remove variable.
38986         (__libc_setup_tls): Use main executable's link map for TLS data.
38987         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
38988         casing for LM_ID_BASE and GL(dl_nns).
38989         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
38990         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
38991         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
38992         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
38993         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
38994         member.
38995         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
38996         l_phnum members.
38998 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
39000         * manual/debug.texi: Document MTASC-safety properties.
39002 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
39004         [BZ #16510]
39005         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
39006         of __x86_64__ when disabling x87 inline functions.
39008 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
39010         * manual/charset.texi: Document MTASC-safety properties.
39012         * manual/crypt.texi: Document MTASC-safety properties.
39014         * manual/conf.texi: Document MTASC-safety properties.
39016         * manual/arith.texi: Document MTASC-safety properties.
39018         * manual/argp.texi: Document MTASC-safety properties.
39020         * manual/macros.texi: Introduce macros to document multi
39021         thread, asynchronous signal and asynchronous cancellation
39022         safety properties.
39023         * manual/intro.texi: Introduce the properties themselves.
39025 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39027         * sysdeps/sh/sh4/Makefile: New file.
39029 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
39031         * math/gen-libm-test.pl ($srcdir): New variable.
39032         ($auto_input): Use it.
39034 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
39036         [BZ #16506]
39037         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
39038         access beyond array bounds when parsing netgroups file.
39040         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
39041         the old buffer before realloc.
39043 2014-01-27  Allan McRae  <allan@archlinux.org>
39045         * po/fr.po: Update French translation from translation project.
39047 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39049         * sysdeps/sh/libm-test-ulps: Regenerate.
39051 2014-01-24  David S. Miller  <davem@davemloft.net>
39053         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
39055 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39057         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
39058         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
39060 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
39062         [BZ #16474]
39063         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
39064         string pointers after reallocation.
39066 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39068         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
39069         __SH4A__ instead of __SH_FPU_ANY__.
39071 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39073         * sysdeps/sh/fpu_control.h: New file.
39074         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
39075         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
39076         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
39077         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
39078         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
39079         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
39080         * sysdeps/sh/sys/ucontext.h: Remove.
39081         * sysdeps/sh/sys: Remove directory.
39083 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39085         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
39086         s390/sys/ucontext.h.
39087         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
39088         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
39090 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
39092         [BZ #15605]
39093         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
39095 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39097         [BZ#16431]
39098         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
39099         Adjust the vDSO correctly for internal calls.
39100         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
39102 2014-01-20  Allan McRae  <allan@archlinux.org>
39104         * po/ca.po: Update Catalan translation from translation project.
39106 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
39108         * sysdeps/s390/sotruss-lib.c: New file.
39110 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39112         [BZ#16430]
39113         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
39114         (__GI___gettimeofday): Alias for a different internal symbol to avoid
39115         local calls issues by not having a PLT stub required for IFUNC calls.
39116         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
39118 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
39120         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
39121         * math/test-fpucw-static.c: Likewise.
39123 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
39125         [BZ #16453]
39126         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
39128 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39130         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
39131         implementation for powerpc.
39133 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
39135         [BZ #14782]
39136         * sysdeps/posix/system.c (__libc_system): Do not enable
39137         asynchronous cancellation.
39139 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39141         [BZ #16427]
39142         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
39143         handling only for numbers special also in the IEEE case.
39145 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39147         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
39149 2014-01-11  Allan McRae  <allan@archlinux.org>
39151         * po/bg.po: Update Bulgarian translation from translation project.
39153         * po/de.po: Update German translation from translation project.
39155 2014-01-10  Roland McGrath  <roland@hack.frob.com>
39157         * sysdeps/generic/gcc-compat.h: New file.
39159 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
39161         * benchtests/asin-inputs: Correct slow inputs.
39162         * benchtests/acos-inputs: Likewise.
39164 2014-01-10  Allan McRae  <allan@archlinux.org>
39166         * po:sv.po: Update Swedish translation from translation project.
39168         * po/vi.po: Update Vietnamese translation from translation project.
39170         * po/eo.po: Update Esperanto translation from translation project.
39172         * po/cs.po: Update Czech translation from translation project.
39174         * po/nl.po: Update Dutch translation from translation project.
39176         * po/pl.po: Update Polish translation from translation project.
39178         * po/ru.po: Update Russian translation from translation project.
39180         * po/uk.po: Update Ukrainian translation from translation project.
39182 2014-01-08  Brooks Moses  <bmoses@google.com>
39184         * elf/dl-load.c: Fix comment typo.
39186 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
39188         * po/header.pot: Rename to...
39189         * po/pot.header: ... this.
39190         * po/Makefile: Use pot.header.
39192 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
39193             Maxim Kuvyrkov  <maxim@kugelworks.com>
39195         [BZ #16394]
39196         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
39197         SRC and DEST against LEN.
39199 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39201         [BZ #16414]
39202         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
39203         implementation.
39204         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
39206 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39208         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39210 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
39212         [BZ #16408]
39213         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
39214         for large positive arguments.
39216 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
39218         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
39220         * math/auto-libm-test-in: Mark various tests with
39221         xfail-rounding:ldbl-128ibm.
39222         * math/auto-libm-test-out: Regenerated.
39224         [BZ #16407]
39225         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
39226         Increase overflow threshold.
39228 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
39230         [BZ #14286]
39231         * stdio-common/vfprintf.c: Check for integer overflow.
39233 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39235         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
39236         the first argument and return value of __tls_get_addr_internal.
39238 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39240         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
39241         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
39243 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39245         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
39246         * sysdeps/s390/rtld-global-offsets.sym: New file.
39247         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
39248         GLIBC_2.19 symbol.
39249         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
39250         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
39251         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
39252         ... this.
39253         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
39254         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
39255         ... this.
39256         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
39257         Regenerate.
39258         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
39259         Regenerate.
39260         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
39261         halfs of GPRs for high_gprs contexts.
39262         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
39263         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
39264         field.
39265         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
39266         uc_flags field.
39267         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
39268         64 bit versions:
39269         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
39270         for high GPRs (uc_high_gprs) and for future extensions
39271         (__reserved).
39272         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
39273         for future extensions (__reserved).
39274         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
39275         64 bit versions:
39276         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
39277         SC_HIGHGPRS offset definition.
39278         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
39279         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
39281         * Versions.def: Add GLIBC_2.19 for libpthread.
39282         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
39283         siglongjmp for libpthread with GLIBC_2.19 symver.
39284         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
39285         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
39286         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
39287         * sysdeps/s390/__longjmp.c: New file.
39288         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
39289         * sysdeps/s390/longjmp.c: New file.
39290         * sysdeps/s390/setjmp.S: New file.
39291         * sysdeps/s390/sigjmp.S: New file.
39292         * sysdeps/s390/v1-longjmp.c: New file.
39293         * sysdeps/s390/v1-setjmp.h: New file.
39294         * sysdeps/s390/v1-sigjmp.c: New file.
39295         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
39296         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
39297         GLIBC_2.19 version.
39298         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
39299         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
39300         versioned symbols for ____longjmp_chk.
39301         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
39302         Likewise.
39303         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
39304         Regenerate.
39305         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
39306         Regenerate.
39307         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
39308         Regenerate.
39309         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
39310         Regenerate.
39311         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
39312         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
39313         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
39314         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
39315         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
39316         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
39317         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
39318         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
39319         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
39320         * sysdeps/s390/rtld-__longjmp.c: New file.
39321         * sysdeps/s390/rtld-setjmp.S: New file.
39323 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
39325         [BZ #16400]
39326         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
39327         Return -__logl (x) for small positive arguments without evaluating
39328         a polynomial.
39330 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
39332         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
39333         Rename to ...
39334         (__ptrace_peeksiginfo_args): ... this.
39335         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39336         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39337         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39339 2014-01-06  Allan McRae  <allan@archlinux.org>
39341         * inet/netinet/in.h: Fix typo in comment.
39343 2014-01-05  Andreas Jaeger  <aj@suse.de>
39345         * sysdeps/i386/fpu/libm-test-ulps: Update.
39347 2014-01-05  Allan McRae  <allan@archlinux.org>
39349         * po/libc.pot: Regenerated.
39351         * malloc/memusagestat.c: Fix gettext call formatting.
39353 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
39355         * nscd/nscd.c: Improve usage() output.
39357 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
39359         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
39360         * sysdeps/unix/sysv/linux/configure: Regenerated.
39361         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
39362         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
39364 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
39366         [BZ #16390]
39367         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
39368         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
39370 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39372         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
39373         extra tokens at end of #undef directive.
39374         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
39375         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
39376         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
39378 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
39380         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
39382         * math/auto-libm-test-in: Mark various tests with
39383         xfail-rounding:ldbl-128ibm.
39384         * math/auto-libm-test-out: Regenerated.
39386 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
39388         [BZ #16386]
39389         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
39390         numbers with subnormal high part when calculating exponent.
39392         [BZ #16385]
39393         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
39394         fabs.
39396         [BZ #16384]
39397         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
39398         M_LN2l.
39399         (__ieee754_acoshl): Use __log1pl not __log1p.
39401 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
39403         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
39404         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
39405         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
39406         (grow_heap, heap_trim, _int_new_arena, get_free_list)
39407         (reused_arena, arena_get2): Convert to GNU style.
39408         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
39409         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
39410         (memalign_check, __malloc_set_state): Likewise.
39411         * malloc/mallocbug.c (main): Likewise.
39412         * malloc/malloc.c (__malloc_assert, malloc_init_state)
39413         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
39414         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
39415         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
39416         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
39417         (__posix_memalign, malloc_info): Likewise.
39418         * malloc/malloc.h: Likewise.
39419         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
39420         (mallochook, memalignhook, reallochook, mabort): Likewise.
39421         * malloc/mcheck.h: Likewise.
39422         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
39423         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
39424         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
39425         * malloc/morecore.c (__default_morecore): Likewise.
39426         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
39427         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
39428         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
39429         (print_and_abort): Likewise.
39430         * malloc/obstack.h: Likewise.
39431         * malloc/set-freeres.c (__libc_freeres): Likewise.
39432         * malloc/tst-mallocstate.c (main): Likewise.
39433         * malloc/tst-mtrace.c (main): Likewise.
39434         * malloc/tst-realloc.c (do_test): Likewise.
39436 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
39438         [BZ #16366]
39439         * nscd/netgroupcache.c (do_notfound): New function.
39440         (addgetnetgrentX): Use it.
39442         [BZ # 16365]
39443         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
39444         NSS_STATUS_NOTFOUND.
39446 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
39448         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
39449         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39451 2014-01-01  Allan McRae  <allan@archlinux.org>
39453         * scripts/update-copyrights: Update configure input file suffix.
39455         * NEWS: Update copyright year.
39456         * catgets/gencat.c: Likewise.
39457         * csu/version.c: Likewise.
39458         * debug/catchsegv.sh: Likewise.
39459         * debug/pcprofiledump.c: Likewise.
39460         * debug/xtrace.sh: Likewise.
39461         * elf/ldconfig.c: Likewise.
39462         * elf/ldd.bash.in: Likewise.
39463         * elf/pldd.c: Likewise.
39464         * elf/sotruss.ksh: Likewise.
39465         * elf/sprof.c: Likewise.
39466         * iconv/iconv_prog.c: Likewise.
39467         * iconv/iconvconfig.c: Likewise.
39468         * locale/programs/locale.c: Likewise.
39469         * locale/programs/localedef.c: Likewise.
39470         * login/programs/pt_chown.c: Likewise.
39471         * malloc/memusage.sh: Likewise.
39472         * malloc/memusagestat.c: Likewise.
39473         * malloc/mtrace.pl: Likewise.
39474         * manual/libc.texinfo: Likewise.
39475         * nscd/nscd.c: Likewise.
39476         * nss/getent.c: Likewise.
39477         * nss/makedb.c: Likewise.
39478         * posix/getconf.c: Likewise.
39479         * scripts/test-installation.pl: Likewise.
39481         * All files with FSF copyright notices: Update copyright dates
39482         using scripts/update-copyrights.
39483         * intl/plural.c: Regenerated.
39484         * locale/programs/charmap-kw.h: Likewise.
39485         * locale/programs/locfile-kw.h: Likewise.
39487 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
39489         * sysdeps/unix/sysv/linux/configure: Regenerated.
39490         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
39491         the linux/fanotify.h header.
39492         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
39493         HAVE_LINUX_FANOTIFY_H is defined.
39495 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
39497         * benchtests/cos-inputs: New inputs.
39498         * benchtests/sin-inputs: Likewise.
39500         * benchtests/atan-inputs: New inputs. Fix name of multiple
39501         precision fallback inputs.
39503         * benchtests/atanh-inputs: New inputs.
39504         * benchtests/tanh-inputs: Likewise.
39506         * benchtests/acosh-inputs: New inputs.
39507         * benchtests/asinh-inputs: Likewise.
39509         * benchtests/cosh-inputs: New inputs.
39510         * benchtests/sinh-inputs: Likewise.
39512         * benchtests/acos-inputs: Add more inputs.
39513         * benchtests/asin-inputs: Likewise.
39515 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
39517         [BZ #16375]
39518         * manual/arith.texi: Fix spelling.
39519         * manual/charset.texi: Likewise.
39520         * manual/errno.texi: Likewise.
39521         * manual/filesys.texi: Likewise.
39522         * manual/lang.texi: Likewise.
39523         * manual/llio.texi: Likewise.
39524         * manual/locale.texi: Likewise.
39525         * manual/message.texi: Likewise.
39526         * manual/resource.texi: Likewise.
39527         * manual/search.texi: Likewise.
39528         * manual/setjmp.texi: Likewise.
39529         * manual/stdio.texi: Likewise.
39530         * manual/string.texi: Likewise.
39531         * manual/sysinfo.texi: Likewise.
39532         * manual/time.texi: Likewise.
39534 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
39536         * po/sl.po: New file.
39538 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
39540         * .gitignore: Add core/.gdbinit/.gdb_history.
39542 2013-12-27  Allan McRae  <allan@archlinux.org>
39544         [BZ #16369]
39545         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
39546         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
39548 2013-12-24  Brooks Moses  <bmoses@google.com>
39550         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
39551         all compilers that claim C++98 compliance, not just GCC.
39552         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
39553         Likewise.
39555 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
39557         * NEWS: Restore accidentally deleted bug-fix entries.
39559 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
39560             Ondřej Bílka  <neleai@seznam.cz>
39562         [BZ #15073]
39563         * malloc/malloc.c (_int_free): Perform sanity check only if we
39564         have_lock.
39566 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
39568         [BZ #12986]
39569         * manual/stdio.texi (String Input Conversions): Clarify that character
39570         classes are not supported.
39572 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39574         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39576 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
39578         [BZ #16337]
39579         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
39580         Calculate results for small negative arguments directly rather
39581         than using reflection formula with special underflow handling.
39583         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
39584         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
39585         sysdeps/unix/bsd/bsd4.4/syscalls.list.
39586         (fchflags): Likewise.
39587         (revoke): Likewise.
39588         (setlogin): Likewise.
39589         (sigaltstack): Likewise.
39590         (wait4): Likewise.
39591         (sigblock): Remove.
39592         (sigsetmask): Likewise.
39593         (wait3): Likewise.
39594         (waitpid): Likewise.
39595         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
39596         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
39597         file.
39598         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
39599         * sysdeps/unix/bsd/Makefile: ... here.
39600         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
39601         * sysdeps/unix/bsd/Versions: ... here.
39602         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
39603         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
39604         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
39605         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
39606         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
39607         * sysdeps/unix/bsd/sigblock.c: ... here.
39608         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
39609         * sysdeps/unix/bsd/sigsetmask.c: ... here.
39610         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
39611         * sysdeps/unix/bsd/sigvec.c: ... here.
39612         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
39613         * sysdeps/unix/bsd/tcdrain.c: ... here.
39614         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
39615         * sysdeps/unix/bsd/tcgetattr.c: ... here.
39616         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
39617         * sysdeps/unix/bsd/tcsetattr.c: ... here.
39618         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
39619         * sysdeps/unix/bsd/wait.c: ... here.
39620         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
39621         * sysdeps/unix/bsd/wait3.c: ... here.
39622         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
39623         * sysdeps/unix/bsd/waitpid.c: ... here.
39625 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
39627         [BZ #16356]
39628         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
39629         round-to-nearest for [!USE_AS_EXPM1L].
39630         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
39631         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
39632         more tests of exp and exp10.  Expect some exp10 tests to miss
39633         exceptions or fail in directed rounding modes.
39634         * math/auto-libm-test-out: Regenerated.
39635         * math/libm-test.inc (exp10_tonearest_test_data): New array.
39636         (exp10_test_tonearest): New function.
39637         (exp10_towardzero_test_data): New array.
39638         (exp10_test_towardzero): New function.
39639         (exp10_downward_test_data): New array.
39640         (exp10_test_downward): New function.
39641         (exp10_upward_test_data): New array.
39642         (exp10_test_upward): New function.
39643         (main): Call the new functions.
39644         * sysdeps/i386/fpu/libm-test-ulps: Update.
39645         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39647 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
39649         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
39650         asinh, atan, atan2, atanh, cbrt, cos and cosh.
39651         * math/auto-libm-test-out: Regenerated.
39652         * math/libm-test.inc (acosh_test_data): Add more tests.
39653         (atanh_test_data): Likewise.
39654         (ceil_test_data): Likewise.
39655         (copysign_test_data): Likewise.
39656         * sysdeps/i386/fpu/libm-test-ulps: Update.
39657         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39659         * timezone/checktab.awk: Update from tzcode 2013i.
39660         * timezone/private.h: Likewise.
39661         * timezone/scheck.c: Likewise.
39662         * timezone/tzfile.h: Likewise.
39663         * timezone/tzselect.ksh: Likewise.
39664         * timezone/zdump.c: Likewise.
39665         * timezone/zic.c: Likewise.
39667         * math/auto-libm-test-in: Add tests of cpow.
39668         * math/auto-libm-test-out: Regenerated.
39669         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
39670         * math/gen-auto-libm-tests.c (func_calc_method): Add value
39671         mpc_cc_c.
39672         (func_calc_desc): Add mpc_cc_c union field.
39673         (test_functions): Add cpow.
39674         (special_fill_2pi): New function.
39675         (special_real_inputs): Add 2pi.
39676         (calc_generic_results): Handle mpc_cc_c.
39677         * sysdeps/i386/fpu/libm-test-ulps: Update.
39678         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39680         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
39681         csqrt, ctan and ctanh.
39682         * math/auto-libm-test-out: Regenerated.
39683         * math/libm-test.inc (TEST_COND_x86_64): New macro.
39684         (TEST_COND_x86): Likewise.
39685         (ccos_test_data): Use AUTO_TESTS_c_c.
39686         (ccosh_test_data): Likewise.
39687         (cexp_test_data): Likewise.
39688         (clog_test_data): Likewise.
39689         (csqrt_test_data): Likewise.
39690         (ctan_test_data): Likewise.
39691         (ctan_tonearest_test_data): Likewise.
39692         (ctan_towardzero_test_data): Likewise.
39693         (ctan_downward_test_data): Likewise.
39694         (ctan_upward_test_data): Likewise.
39695         (ctanh_test_data): Likewise.
39696         (ctanh_tonearest_test_data): Likewise.
39697         (ctanh_towardzero_test_data): Likewise.
39698         (ctanh_downward_test_data): Likewise.
39699         (ctanh_upward_test_data): Likewise.
39700         * math/gen-auto-libm-tests.c (func_calc_method): Add value
39701         mpc_c_c.
39702         (func_calc_desc): Add mpc_c_c union field.
39703         (FUNC_mpc_c_c): New macro.
39704         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
39705         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
39706         ctanh.
39707         (special_fill_min_subnorm_p120): New function.
39708         (special_real_inputs): Add min_subnorm_p120.
39709         (calc_generic_results): Handle mpc_c_c.
39710         * sysdeps/i386/fpu/libm-test-ulps: Update.
39711         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39713 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
39715         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
39716         (do_sin_slow): New functions.
39717         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
39718         (cslow2, csloww1, csloww2): Use the new functions.
39720         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
39721         Use M to change sign of result instead of X.  Assume X is
39722         positive.
39723         (csloww1): Likewise.
39724         (__sin): Adjust.
39725         (__cos): Adjust.
39727         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
39728         arguments A and DA.
39729         (__sin): Adjust.
39730         (__cos): Likewise.
39732         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
39733         (__cos): Likewise.
39734         (sloww1): Don't adjust sign of DX.
39735         (csloww1): Likewise.
39736         (sloww2): Use X directly and don't adjust sign of DX.
39737         (csloww2): Likewise.
39739 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
39741         * math/auto-libm-test-in: Add tests of cabs and carg.
39742         * math/auto-libm-test-out: Regenerated.
39743         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
39744         (carg_test_data): Likewise.
39745         * math/gen-auto-libm-tests.c (func_calc_method): Add value
39746         mpc_c_f.
39747         (func_calc_desc): Add mpc_c_f union field.
39748         (test_functions): Add cabs and carg.
39749         (calc_generic_results): Handle mpc_c_f.
39751         * sysdeps/powerpc/powerpc32/libgcc-compat.S
39752         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
39753         as a macro and a compat symbol.
39754         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
39755         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
39756         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
39757         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
39758         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
39759         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
39760         not use .hidden.
39761         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
39762         Likewise.
39763         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
39764         Likewise.
39765         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
39766         Likewise.
39767         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
39768         Likewise.
39769         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
39770         Likewise.
39771         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
39772         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
39773         from GLIBC_2.3.2.
39775 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39777         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39779 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
39781         * manual/texinfo.tex: Update to version 2013-11-26.10 with
39782         trailing whitespace removed.
39783         * scripts/config.guess: Update to version 2013-11-29.
39784         * scripts/config.sub: Update to version 2013-10-01.
39786         * math/auto-libm-test-in: Add tests of sincos.
39787         * math/auto-libm-test-out: Regenerated.
39788         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
39789         * math/gen-auto-libm-tests.c (func_calc_method): Add value
39790         mpfr_f_11.
39791         (func_calc_desc): Add mpfr_f_11 union field.
39792         (test_functions): Add sincos.
39793         (calc_generic_results): Handle mpfr_f_11.
39794         * sysdeps/i386/fpu/libm-test-ulps: Update.
39795         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39797 2013-12-19  Andreas Schwab  <schwab@suse.de>
39799         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
39800         CALL_MCOUNT.
39801         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
39802         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
39803         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
39805 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
39807         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
39808         * sysdeps/i386/fpu/libm-test-ulps: Update.
39809         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39811         [BZ #16293]
39812         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
39813         round-to-nearest mode when using frndint.
39814         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
39815         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
39816         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
39817         Likewise.
39818         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
39819         sinh test to fail.
39820         * math/auto-libm-test-out: Regenerated.
39821         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
39822         (TEST_COND_x86): Likewise.
39823         (expm1_tonearest_test_data): New array.
39824         (expm1_test_tonearest): New function.
39825         (expm1_towardzero_test_data): New array.
39826         (expm1_test_towardzero): New function.
39827         (expm1_downward_test_data): New array.
39828         (expm1_test_downward): New function.
39829         (expm1_upward_test_data): New array.
39830         (expm1_test_upward): New function.
39831         (main): Run the new test functions.
39832         * sysdeps/i386/fpu/libm-test-ulps: Update.
39833         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39835         * include/features.h: Update comment documenting feature test
39836         macros.  Mention _DEFAULT_SOURCE in comment.
39837         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
39838         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
39839         _BSD_SOURCE and _SVID_SOURCE.
39840         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
39841         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
39842         !_SVID_SOURCE]: Likewise.
39843         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
39844         (__USE_POSIX_IMPLICITLY): Define.
39845         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
39846         (_POSIX_SOURCE): Undefine and redefine.
39847         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
39848         (_POSIX_C_SOURCE): Likewise.
39849         * manual/creature.texi (_DEFAULT_SOURCE): Document.
39850         (Feature Test Macros): Update documentation of default features.
39852 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
39854         * benchtests/Makefile: Add bench-strtok.
39855         * benchtests/bench-strtok.c: New file: strtok benchtest.
39857 2013-12-19  Allan McRae  <allan@archlinux.org>
39859         * manual/install.texi: Suppress menu for plain text output.
39860         * INSTALL: Regenerated.
39862 2013-12-18  Brooks Moses  <bmoses@google.com>
39864         [BZ #15846]
39865         * misc/getauxval.c: Include errno.h.
39866         (__getauxval): Set errno to ENOENT if the requested type is not
39867         found.
39868         * misc/sys/auxv.h (getauxval): Document that it may set errno;
39869         don't declare with __attribute_const__.
39870         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
39871         * manual/startup.texi: Document that getauxval sets errno.
39873 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
39875         * math/auto-libm-test-in: Add tests of jn and yn.
39876         * math/auto-libm-test-out: Regenerated.
39877         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
39878         (yn_test_data): Likewise.
39879         * math/gen-auto-libm-tests.c (func_calc_method): Add value
39880         mpfr_if_f.
39881         (func_calc_desc): Add mpfr_if_f union field.
39882         (FUNC_mpfr_if_f): New macro.
39883         (test_functions): Add jn and yn.
39884         (calc_generic_results): Assert type of second input for
39885         mpfr_ff_f.  Handle mpfr_if_f.
39886         (output_for_one_input_case): Disable all checking for arguments
39887         fitting floating-point types in case of an integer argument.
39888         * sysdeps/i386/fpu/libm-test-ulps: Update.
39889         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
39892         Don't expect fegetround reference in libm.so.
39894 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
39896         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
39897         $(config-cflags-nofma).
39899 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
39901         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
39902         * math/auto-libm-test-out: Regenerated.
39904         [BZ #16338]
39905         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
39906         to determine exponent and adjust argument to have exponent of -1.
39907         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
39908         log2.
39909         * math/auto-libm-test-out: Regenerated.
39910         * sysdeps/i386/fpu/libm-test-ulps: Update.
39911         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39913 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
39915         * manual/probes.texi: Remove cases when per-thread arenas are
39916         disabled.
39918 2013-12-18  Andreas Schwab  <schwab@suse.de>
39920         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
39921         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
39922         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
39923         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
39924         * sysdeps/i386/i686/multiarch/Makefile: Update.
39925         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
39927 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
39929         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
39930         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
39932 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
39934         [BZ #15968]
39935         Support TZ transition times < 00:00:00.
39936         This is needed for version-3 tz-format files; it supports time
39937         stamps past 2037 for America/Godthab (the only entry in the tz
39938         database for which this change is relevant).
39939         * manual/time.texi (TZ Variable): Document transition times
39940         from -167:59:59 through -00:00:01.
39941         * time/tzset.c (tz_rule): Time of day is now signed.
39942         (__tzset_parse_tz): Parse negative time of day.
39944         Document TZ transition times >= 25:00:00.
39945         * manual/time.texi (TZ Variable): Document transition times from
39946         25:00:00 through 167:59:59.  These are already supported, and this
39947         support will help with version-3 tz-format files.
39949         * manual/time.texi (TZ Variable): Modernize North America example
39950         to reflect current (i.e., 2007-and-later) daylight saving rules.
39952         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
39954 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
39956         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
39957         * sysdeps/unix/bsd/bits/stat.h: Likewise.
39958         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
39959         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
39960         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
39961         * sysdeps/unix/bsd/bsdstat.h: Likewise.
39962         * sysdeps/unix/bsd/clock.c: Likewise.
39963         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
39964         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
39965         * sysdeps/unix/bsd/init-posix.c: Likewise.
39966         * sysdeps/unix/bsd/poll.c: Likewise.
39967         * sysdeps/unix/bsd/ptsname.c: Likewise.
39968         * sysdeps/unix/bsd/seekdir.c: Likewise.
39969         * sysdeps/unix/bsd/setegid.c: Likewise.
39970         * sysdeps/unix/bsd/seteuid.c: Likewise.
39971         * sysdeps/unix/bsd/setgid.c: Likewise.
39972         * sysdeps/unix/bsd/setrgid.c: Likewise.
39973         * sysdeps/unix/bsd/setruid.c: Likewise.
39974         * sysdeps/unix/bsd/setsid.c: Likewise.
39975         * sysdeps/unix/bsd/setuid.c: Likewise.
39976         * sysdeps/unix/bsd/sigaction.c: Likewise.
39977         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
39978         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
39979         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
39980         * sysdeps/unix/bsd/telldir.c: Likewise.
39981         * sysdeps/unix/bsd/times.c: Likewise.
39982         * sysdeps/unix/bsd/usleep.c: Likewise.
39984         * misc/Makefile (install-lib): Remove libbsd-compat.a.
39985         ($(objpfx)libbsd-compat.a): Remove rule.
39987         * include/features.h (__FAVOR_BSD): Do not define.
39988         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
39989         features conflicting with POSIX.
39990         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
39991         (_BSD_SOURCE): Remove description of not being a subset of other
39992         feature test macros.
39993         * manual/job.texi (getpgrp): Do not document BSD version.
39994         (getpgid): Do not document by reference to BSD getpgrp.
39995         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
39996         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
39997         * signal/signal.h [__FAVOR_BSD]: Likewise.
39998         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
39999         instead of making contents conditional on [__FAVOR_BSD].
40000         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
40002 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40004         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40006 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
40008         [BZ #16314]
40009         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
40010         values below 2**-450, not 2**-500.
40011         * math/auto-libm-test-in: Don't allow spurious underflow from
40012         hypot.
40013         * math/auto-libm-test-out: Regenerated.
40015         [BZ #16316]
40016         [BZ #16330]
40017         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
40018         values of ha and hb and sort them after adjusting subnormal
40019         arguments.
40020         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
40021         Likewise.
40022         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
40023         values of ea and eb and sort them after adjusting subnormal
40024         arguments.
40025         * math/auto-libm-test-in: Do not expect some hypot tests of
40026         subnormals to fail.  Add more hypot tests.
40027         * math/auto-libm-test-out: Regenerated.
40029 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40031         [BZ #13304]
40032         * sysdeps/sh/s_fma.c: New file.
40033         * sysdeps/sh/s_fmaf.c: New file.
40034         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
40035         version.
40036         * sysdeps/sh/Implies: Add sh/soft-fp.
40038 2013-12-16  Roland McGrath  <roland@hack.frob.com>
40040         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
40041         level of indirection to members `objname', `errstring', `malloced'.
40042         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
40043         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
40044         it as the __longjmp argument (just pass 1 instead).
40045         (_dl_catch_error): Initialize C with argument pointers and address of
40046         volatile local ERRCODE rather than copying values out of C at return.
40048 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
40050         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
40051         * math/auto-libm-test-out: Regenerated.
40052         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
40053         (hypot_test_data): Likewise.
40054         (pow_test_data): Likewise.
40055         (pow_tonearest_test_data): Likewise.
40056         * math/gen-auto-libm-tests.c (func_calc_method): Add value
40057         mpfr_ff_f.
40058         (func_calc_desc): Add mpfr_ff_f union field.
40059         (FUNC_mpfr_ff_f): New macro.
40060         (test_functions): Add atan2, hypot and pow.
40061         (special_fill_min): New function.
40062         (special_fill_minus_min): Likewise.
40063         (special_fill_min_subnorm): Likewise.
40064         (special_fill_minus_min_subnorm): Likewise.
40065         (special_real_inputs): Add min, -min, min_subnorm and
40066         -min_subnorm.
40067         (calc_generic_results): Handle mpfr_ff_f.
40068         * sysdeps/i386/fpu/libm-test-ulps: Update.
40069         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40071 2013-12-16  Will Newton  <will.newton@linaro.org>
40073         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
40074         (Aligned Memory Blocks): Add documentation for aligned_alloc
40075         and suggest it as an alternative to posix_memalign.
40076         (Hooks for Malloc): Document __memalign_hook is also called
40077         for aligned_alloc.  (Summary of Malloc): Add summary for
40078         aligned alloc.  Document __memalign_hook is also called
40079         for aligned_alloc.
40081 2013-12-16  Will Newton  <will.newton@linaro.org>
40083         * manual/memory.texi (Malloc Examples): Clarify default
40084         alignment documentation.  Suggest posix_memalign rather
40085         than memalign or valloc.
40086         (Aligned Memory Blocks): Remove suggestion to use memalign
40087         or valloc.  Remove obsolete comment about BSD.
40088         Document memalign errno values and mark the function obsolete.
40089         Document posix_memalign returned error codes.  Mark valloc
40090         as obsolete.  (Hooks for Malloc): __memalign_hook is also
40091         called for posix_memalign and valloc.
40092         (Summary of Malloc): Add posix_memalign to function summary.
40093         __memalign_hook is also called for posix_memalign and valloc.
40095 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
40097         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
40098         TAYLOR_SIN.
40099         (__sin): Adjust.
40100         (__cos): Likewise.
40101         (sloww): Use mynumber union.  Expand ternary operator into
40102         if-else statements.
40103         (cslow): use mynumber union.
40105 2013-12-16  Allan McRae  <allan@archlinux.org>
40107         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
40108         * configure: Regenerated.
40110         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
40112         [BZ #14120]
40113         * configure.ac: Added --enable-maintainer-mode. Check for
40114         autoconf when enabled.
40115         * configure: Regenerated.
40117         * nscd/nscd.service: New file.
40118         * nscd/nscd.tmpfiles: New file.
40120 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
40122         [BZ #12100]
40123         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
40124         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
40125         * sysdeps/x86_64/multiarch/strstr.c: ... here.
40126         (strstr): Add __strstr_sse2_unaligned ifunc.
40127         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
40128         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
40129         (strcasestr): Remove __strcasestr_sse42 ifunc.
40130         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
40131         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
40132         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
40134 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40136         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
40137         * sysdeps/sh/bits/fenv.h: ... here.
40138         * sysdeps/sh/sh4/fpu/bits: Remove directory.
40140 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40142         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
40144         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
40145         hypotf multiarch implementations.
40146         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
40147         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
40148         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
40149         multiarch hypot for PPC64.
40150         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
40151         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
40152         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
40153         multiarch hypotf for PPC64.
40155         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
40156         modff multiarch implementations.
40157         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
40158         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
40159         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
40160         multiarch modf for PPC64.
40161         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
40162         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
40163         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
40164         multiarch modff for PPC64.
40166         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
40167         and logl multiarch implementations.
40168         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
40169         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
40170         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
40171         multiarch logb for PPC64.
40172         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
40173         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
40174         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
40175         multiarch logb for PPC64.
40176         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
40177         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
40178         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
40179         multiarch logb for PPC64.
40181         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
40182         isinff multiarch implementation.
40183         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
40184         file.
40185         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
40186         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
40187         multiarch isinf for PPC64.
40188         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
40189         file.
40190         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
40191         multiarch isinff for PPC64.
40193         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
40194         finitef multiarch implementation.
40195         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
40196         file.
40197         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
40198         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
40199         multiarch finite for PPC64.
40200         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
40201         file.
40202         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
40203         multiarch finitef for PPC64.
40205         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
40206         lrint multiarch implementation.
40207         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
40208         file.
40209         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
40210         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
40211         multiarch llrint for PPC64.
40212         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
40213         multiarch lrint for PPC64.
40215         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
40216         copysignf multiarch implementation.
40217         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
40218         file.
40219         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
40220         file.
40221         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
40222         multiarch copysign for PPC64.
40223         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
40224         multiarch copysignf for PPC64.
40226         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
40227         multiarch implementation.
40228         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
40229         file.
40230         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
40231         file.
40232         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
40233         file.
40234         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
40235         file.
40236         multiarch llround for PPC64.
40237         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
40238         multiarch trunc for PPC64.
40239         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
40240         multiarch truncf for PPC64.
40242         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
40243         multiarch implementation.
40244         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
40245         file.
40246         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
40247         file.
40248         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
40249         file.
40250         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
40251         file.
40252         multiarch llround for PPC64.
40253         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
40254         multiarch round for PPC64.
40255         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
40256         multiarch roundf for PPC64.
40258         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
40259         multiarch implementation.
40260         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
40261         file.
40262         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
40263         file.
40264         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
40265         file.
40266         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
40267         file.
40268         multiarch llround for PPC64.
40269         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
40270         multiarch floor for PPC64.
40271         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
40272         multiarch floorf for PPC64.
40274         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
40275         multiarch implementation.
40276         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
40277         file.
40278         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
40279         file.
40280         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
40281         file.
40282         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
40283         file.
40284         multiarch llround for PPC64.
40285         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
40286         multiarch ceil for PPC64.
40287         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
40288         multiarch ceilf for PPC64.
40290         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
40291         multiarch implementation.
40292         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
40293         file.
40294         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
40295         file.
40296         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
40297         file.
40298         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
40299         multiarch llround for PPC64.
40300         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
40301         multiarch lround for PPC64.
40303         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
40304         multiarch implementation.
40305         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
40306         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
40307         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
40308         file.
40309         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
40310         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
40311         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
40312         multiarch isnan for PPC64.
40313         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
40314         multiarch isnanf for PPC64.
40316         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
40317         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
40318         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
40319         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
40320         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
40321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
40323         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
40324         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40325         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40326         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40328         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
40329         multiarch implementations.
40330         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40331         (__libc_ifunc_impl_list): Likewise.
40332         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
40333         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
40334         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
40335         multiarch stpcpy for PPC64.
40337         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
40338         multiarch implementations.
40339         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40340         (__libc_ifunc_impl_list): Likewise.
40341         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
40342         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
40343         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
40344         multiarch strcpy for PPC64.
40346         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
40347         redefine function name.
40348         (_wordcopy_fwd_dest_aligned): Likewise.
40349         (_wordcopy_bwd_aligned): Likewise.
40350         (_wordcopy_bwd_dest_aligned): Likewise.
40351         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
40352         multiarch implementations.
40353         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40354         (__libc_ifunc_impl_list): Likewise.
40355         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
40356         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
40357         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
40358         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
40359         multiarch wcscpy for PPC64.
40361         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
40362         multiarch implementations.
40363         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40364         (__libc_ifunc_impl_list): Likewise.
40365         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
40366         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
40367         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
40368         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
40369         multiarch wcscpy for PPC64.
40371         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
40372         multiarch implementations.
40373         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40374         (__libc_ifunc_impl_list): Likewise.
40375         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
40376         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
40377         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
40378         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
40379         multiarch wcsrchr for PPC64.
40381         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
40382         multiarch implementations.
40383         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40384         (__libc_ifunc_impl_list): Likewise.
40385         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
40386         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
40387         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
40388         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
40389         multiarch wcschr for PPC64.
40391         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
40392         multiarch implementations.
40393         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40394         (__libc_ifunc_impl_list): Likewise.
40395         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
40396         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
40397         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
40398         multiarch strchrnul for PPC64.
40400         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
40401         implementations.
40402         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40403         (__libc_ifunc_impl_list): Likewise.
40404         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
40405         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
40406         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
40407         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
40408         strchr for PPC64.
40410         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
40411         implementations.
40412         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40413         (__libc_ifunc_impl_list): Likewise.
40414         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
40415         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
40416         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
40417         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
40418         strncmp for PPC64.
40420         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
40421         multiarch implementations.
40422         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40423         (__libc_ifunc_impl_list): Likewise.
40424         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
40425         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
40426         strncasecmp for PPC64.
40427         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
40428         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
40429         multiarch strncasecmp_l for PPC64.
40431         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
40432         multiarch implementations.
40433         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
40434         (__libc_ifunc_impl_list): Likewise.
40435         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
40436         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
40437         multiarch strcasecmp for PPC64.
40438         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
40439         file.
40440         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
40441         multiarch strcasecmp_l for PPC64.
40443         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
40444         implementations.
40445         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40446         (__libc_ifunc_impl_list): Likewise.
40447         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
40448         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
40449         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
40450         strnlen for PPC64.
40452         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
40453         implementations.
40454         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40455         (__libc_ifunc_impl_list): Likewise.
40456         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
40457         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
40458         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
40459         strlen for PPC64.
40461         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
40462         implementations.
40463         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40464         (__libc_ifunc_impl_list): Likewise.
40465         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
40466         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
40467         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
40468         rawmemrchr for PPC64.
40470         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
40471         implementation.
40472         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40473         (__libc_ifunc_impl_list): Likewise.
40474         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
40475         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
40476         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
40477         memrchr for PPC64.
40479         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
40480         implementation.
40481         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40482         (__libc_ifunc_impl_list): Likewise.
40483         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
40484         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
40485         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
40486         memchr for PPC64.
40488         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
40489         implementation.
40490         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40491         (__libc_ifunc_impl_list): Likewise.
40492         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
40493         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
40494         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
40495         mempcpy for PPC64.
40497         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
40498         avoid cretion of __bzero symbol.
40499         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
40500         Likewise.
40501         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
40502         Likewise.
40503         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
40504         Likewise.
40505         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
40506         multiarch implementations.
40507         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40508         (__libc_ifunc_impl_list): Likewise.
40509         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
40510         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
40511         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
40512         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
40513         bzero for PPC32.
40514         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
40515         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
40516         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
40517         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
40518         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
40519         memset for PPC64.
40520         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
40522         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
40523         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
40524         implementations.
40525         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40526         (__libc_ifunc_impl_list): Likewise.
40527         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
40528         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
40529         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
40530         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
40531         memcmp for PPC64.
40533         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
40534         multiarch for POWER/PPC64.
40535         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
40536         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
40537         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
40538         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
40539         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
40540         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
40541         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
40542         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
40543         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
40544         memcpy for PPC64.
40546         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
40547         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
40548         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
40549         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
40550         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
40551         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
40552         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
40553         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
40554         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
40555         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
40556         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
40557         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
40558         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
40559         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
40560         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
40561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
40562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
40563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
40564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
40565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
40566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
40567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
40569 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40571         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
40573 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
40575         * benchtests/Makefile (bench): Add exp2 and log2.
40576         (LDLIBS-bench-exp2): Add -lm.
40577         (LDLIBS-bench-log2): Likewise.
40578         * benchtests/exp2-inputs: New inputs file.
40579         * benchtests/log2-inputs: New inputs file.
40580         * benchtests/log-inputs: Add new inputs.
40581         * benchtests/tan-inputs: Likewise.
40583 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
40585         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
40586         definition...
40587         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
40588         (csloww2): ... from here.
40590         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
40591         instead of structures.
40592         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
40593         (POLYNOMIAL): Likewise.
40594         (TAYLOR_SLOW): Likewise.
40595         (__sin): Likewise.
40596         (__cos): Likewise.
40597         (slow1): Likewise.
40598         (slow2): Likewise.
40599         (sloww): Likewise.
40600         (sloww1); Likewise.
40601         (sloww2): Likewise.
40602         (bsloww1): Likewise.
40603         (bsloww2): Likewise.
40604         (cslow2): Likewise.
40605         (csloww): Likewise.
40606         (csloww1): Likewise.
40607         (csloww2): Likewise.
40609 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
40611         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
40612         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
40613         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
40614         * malloc/hooks.c (realloc_check): Likewise.
40616         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
40617         * malloc/arena.c: Remove PER_THREAD conditional.
40618         [!PER_THREAD]: Remove code.
40619         (ptmalloc_unlock_all2): Likewise.
40620         (ptmalloc_init): Likewise.
40621         (_int_new_arena): Likewise.
40622         (arena_get2): Likewise.
40623         * malloc/hooks.c (__malloc_get_state): Likewise.
40624         (__malloc_set_state): Likewise.
40625         * malloc/malloc.c: Likewise.
40626         (struct malloc_state): Likewise.
40627         (struct malloc_par): Likewise.
40628         (__libc_realloc): Likewise.
40629         (__libc_mallopt): Likewise.
40631 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40633         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
40635 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
40637         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
40638         macro to a function.  Check for zero perturb_byte.
40639         (_int_malloc, _int_free): Remove zero perturb_byte checks.
40641         * malloc/malloc.c: (force_reg): Remove.
40642         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
40643         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
40644         force_reg by atomic_forced_read.
40645         * malloc/arena.c (ptmalloc_init): Likewise.
40646         * malloc/hooks.c (top_check): Likewise.
40648 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40650         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40652 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
40654         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40656 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
40658         * math/auto-libm-test-in: Add tests of lgamma.
40659         * math/auto-libm-test-out: Regenerated.
40660         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
40661         (M_LOG_2_SQRT_PIl): Likewise.
40662         (lgamma_test_data): Use AUTO_TESTS_f_f1.
40663         * math/gen-auto-libm-tests.c (func_calc_method): Add value
40664         mpfr_f_f1.
40665         (func_calc_desc): Add mpfr_f_f1 union field.
40666         (ARGS1): New macro.
40667         (ARGS2): Likewise.
40668         (ARGS3): Likewise.
40669         (ARGS4): Likewise.
40670         (RET1): Likewise.
40671         (RET2): Likewise.
40672         (CALC): Likewise.
40673         (FUNC): Likewise.
40674         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
40675         (test_functions): Add lgamma.
40676         (calc_generic_results): Handle mpfr_f_f1.
40677         * sysdeps/i386/fpu/libm-test-ulps: Update.
40678         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40680 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40682         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
40683         __mpn_add_n for PowerPC64/POWER7.
40684         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
40685         __mpn_sub_n for PowerPC64/POWER7.
40687         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
40688         __mpn_addmul_1 for PowerPC64.
40689         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
40690         __mpn_submul_1 for PowerPC64.
40691         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
40692         for PowerPC64.
40693         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
40694         for PowerPC64.
40696 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
40698         [BZ #15089]
40699         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
40701 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40703         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
40705         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
40706         add multiarch folders.
40707         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
40708         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
40709         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
40710         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
40711         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
40712         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
40713         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
40714         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
40715         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
40716         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
40717         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
40718         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
40719         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
40720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
40721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
40722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
40723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
40725         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
40726         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
40727         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
40728         New file.
40729         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
40730         New file.
40731         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
40732         multiarch __ieee754_hypot for PowerPC32.
40733         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
40734         New file.
40735         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
40736         New file.
40737         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
40738         multiarch __ieee754_hypotf for PowerPC32.
40740         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
40741         long_double_symbol only if __logbl is defined.
40742         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
40743         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
40744         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
40745         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
40746         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
40747         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
40748         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
40749         path for implementation.
40750         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
40751         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
40752         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
40753         logb, and logbl multiarch implementations for PowerPC32.
40754         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
40755         file.
40756         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
40757         file.
40758         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
40759         multiarch logb for PowerPC32.
40760         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
40761         file.
40762         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
40763         file.
40764         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
40765         multiarch logbf for PowerPC32.
40766         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
40767         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
40768         file.
40769         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
40770         multiarch logbl implementation for PowerPC32.
40772         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
40773         and modff multiarch implementations.
40774         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
40775         New file.
40776         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
40777         New file.
40778         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
40779         multiarch modf for PowerPC32.
40780         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
40781         New file.
40782         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
40783         New file.
40784         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
40785         multiarch modff for PowerPC32.
40787         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
40788         and lrintf multiarch implementations.
40789         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
40790         New file.
40791         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
40792         New file.
40793         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
40794         multiarch lrint for PowerPC32.
40795         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
40796         file: multiarch lrintf for PowerPC32.
40798         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
40799         and lroundf multiarch implementations.
40800         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
40801         New file.
40802         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
40803         New file.
40804         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
40805         New file.
40806         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
40807         multiarch lround for PowerPC32.
40808         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
40809         file: multiarch lroundf for PowerPC32.
40811         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
40812         copysign and copysignf multiarch implementations.
40813         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
40814         New file.
40815         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
40816         New file.
40817         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
40818         file: multiarch copysign for PowerPC32.
40819         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
40820         file: multiarch copysignf for PowerPC32.
40822         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
40823         and truncf multiarch implementations.
40824         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
40825         New file.
40826         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
40827         file.
40828         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
40829         multiarch trunc for PowerPC32.
40830         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
40831         New file.
40832         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
40833         New file.
40834         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
40835         multiarch truncf for PowerPC32.
40837         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
40838         and roundf multiarch implementations.
40839         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
40840         New file.
40841         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
40842         file.
40843         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
40844         multiarch round for PowerPC32.
40845         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
40846         New file.
40847         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
40848         New file.
40849         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
40850         multiarch roundf for PowerPC32.
40852         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
40853         and floorf multiarch implementations.
40854         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
40855         New file.
40856         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
40857         file.
40858         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
40859         multiarch floor for PowerPC32.
40860         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
40861         New file.
40862         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
40863         New file.
40864         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
40865         multiarch floorf for PowerPC32.
40867         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
40868         and ceilf multiarch implementations.
40869         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
40870         New file.
40871         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
40872         file.
40873         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
40874         multiarch ceil for PowerPC32.
40875         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
40876         New file.
40877         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
40878         file.
40879         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
40880         multiarch ceilf for PowerPC32.
40882         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
40883         is defined.
40884         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
40885         FINITEF is defined.
40886         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
40887         and finitef multiarch implementations.
40888         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
40889         New file.
40890         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
40891         file.
40892         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
40893         multiarch finite for PowerPC32.
40894         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
40895         New file.
40896         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
40897         file: multiarch finitef for PowerPC32.
40899         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
40900         and isinff multiarch implementations.
40901         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
40902         file.
40903         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
40904         file.
40905         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
40906         multiarch isinf for PowerPC32.
40907         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
40908         New file.
40909         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
40910         multiarch isinff for PowerPC32.
40912         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
40913         alias when __isnan is defined.
40914         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
40915         and isnanf multiarch implementations.
40916         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
40917         file.
40918         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
40919         file.
40920         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
40921         file.
40922         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
40923         file.
40924         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
40925         multiarch isnan for PowerPC32.
40926         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
40927         New file.
40928         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
40929         New file.
40930         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
40931         multiarch isnanf for PowerPC32.
40933         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
40934         and sqrtf multiarch implementations.
40935         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
40936         file.
40937         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
40938         file.
40939         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
40940         multiarch sqrt for PowerPC32.
40941         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
40942         file.
40943         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
40944         file.
40945         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
40946         multiarch sqrtf for PowerPC32.
40948         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
40949         and llroundf multiarch implementations.
40950         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
40951         New file.
40952         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
40953         New file.
40954         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
40955         New file.
40956         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
40957         file: multiarch llround for PowerPC32.
40958         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
40959         file: multiarch llroundf for PowerPC32.
40961         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
40962         multiarch PowerPC32 fpu implementations.
40963         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
40964         New file.
40965         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
40966         New file.
40967         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
40968         multiarch llrint for PowerPC32.
40969         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
40970         New file.
40971         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
40972         New file.
40973         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
40974         file.
40976         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
40978         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
40979         file.
40980         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
40981         file.
40982         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
40983         file.
40984         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
40985         multiarch wordcopy for PPC32.
40986         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
40987         wordcopy objects.
40988         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40989         (__libc_ifunc_impl_list): Likewise.
40990         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
40991         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
40992         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
40993         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
40994         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
40995         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
40997         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
40998         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
40999         file.
41000         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
41001         file.
41002         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
41003         file.
41004         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
41005         multiarch wcscpy for PPC32.
41006         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
41007         multiarch objects.
41008         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41009         (__libc_ifunc_impl_list): Likewise.
41010         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
41011         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
41012         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
41013         sysdeps/powerpc/power6/wcscpy.c.
41015         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
41016         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
41017         file.
41018         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
41019         file.
41020         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
41021         file.
41022         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
41023         multiarch wcsrchr for PPC32.
41024         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
41025         multiarch objects.
41026         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41027         (__libc_ifunc_impl_list): Likewise.
41028         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
41029         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
41030         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
41031         sysdeps/powerpc/power6/wcsrchr.c.
41033         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
41034         file.
41035         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
41036         file.
41037         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
41038         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
41039         multiarch wcschr for PPc32.
41040         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
41041         multiarch objects.
41042         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41043         (__libc_ifunc_impl_list): Likewise.
41044         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
41045         * sysdeps/powerpc/power6/wcschr.c: ... to here.
41046         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
41047         sysdeps/powerpc/power6/wcschr.c.
41049         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
41050         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
41051         file.
41052         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
41053         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
41054         file: multiarch strchr for PPC32.
41055         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
41056         multiarch objects.
41057         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41058         (__libc_ifunc_impl_list): Likewise.
41060         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
41061         name.
41062         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
41063         file.
41064         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
41065         file.
41066         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
41067         multiarch strchrnul for PPC32.
41068         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
41069         multiarch objects.
41070         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41071         (__libc_ifunc_impl_list): Likewise.
41073         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
41074         file.
41075         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
41076         multiarch strncasecmp for PPC32.
41077         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
41078         file.
41079         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
41080         multiarch strncasecmp_l for PPC32.
41081         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
41082         strncasecmp multiarch objects.
41083         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41084         (__libc_ifunc_impl_list): Likewise.
41086         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
41087         file.
41088         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
41089         multiarch strncasecmp for PPC32.
41090         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
41091         New file.
41092         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
41093         multiarch strcasecmp_l for PPC32.
41094         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
41095         multiarch objects.
41096         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41097         (__libc_ifunc_impl_list): Likewise.
41099         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
41100         file.
41101         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
41102         file.
41103         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
41104         multiarch strncmp for PPC32.
41105         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
41106         multiarch objects.
41107         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41108         (__libc_ifunc_impl_list): Likewise.
41110         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
41111         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
41112         file.
41113         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
41114         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
41115         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
41116         multiarch objects.
41117         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41118         (__libc_ifunc_impl_list): Likewise.
41120         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
41121         file.
41122         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
41123         file.
41124         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
41125         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
41126         multiarch objects.
41127         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41128         (__libc_ifunc_impl_list): Likewise.
41130         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
41131         file.
41132         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
41133         file.
41134         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
41135         multiarch rawmemchr for PPC32.
41136         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
41137         multiarch objects.
41138         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41139         (__libc_ifunc_impl_list): Likewise.
41141         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
41142         file.
41143         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
41144         file.
41145         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
41146         file: memrchr multiarch for PPC32.
41147         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
41148         multiarch objects.
41149         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41150         (__libc_ifunc_impl_list): Likewise.
41152         * string/memchr.c (__memchr): Using macro to redefine symbol name.
41153         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
41154         file.
41155         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
41156         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
41157         multiarch memchr for PPC32.
41158         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
41159         multiarch objects.
41160         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
41161         (__libc_ifunc_impl_list): Likewise.
41163         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
41164         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
41165         file.
41166         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
41167         file.
41168         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
41169         file: multiarch mempcpy for PPC32.
41170         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
41171         multiarch objects.
41172         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
41173         (__libc_ifunc_impl_list): Likewise.
41175         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
41176         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
41177         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
41178         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
41179         multiarch bzero for PPC32.
41180         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
41181         file.
41182         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
41183         file.
41184         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
41185         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
41186         file: multiarch memset for PPC32.
41187         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
41188         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
41189         memset multiarch objects.
41190         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
41191         (__libc_ifunc_impl_list): Likewise.
41193         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
41194         file.
41195         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
41196         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
41197         memcmp for PPC32.
41198         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
41199         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
41200         multiarch objects.
41201         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
41202         (__libc_ifunc_impl_list): Likewise.
41204         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
41205         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
41206         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
41207         file.
41208         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
41209         file.
41210         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
41211         file.
41212         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
41213         multiarch memcpy for PPC32.
41214         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
41215         multiarch objects.
41216         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
41217         (__libc_ifunc_impl_list): Likewise.
41219         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
41220         support multiarch for POWER/PPC32.
41221         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
41222         Likewise.
41223         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
41224         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
41225         Implies file to make multiarch folder appers before the fpu and
41226         default folder for power4 configuration.
41228 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
41230         * scripts/bench.pl: Append volatile keyword to type.
41232 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41234         * sysdeps/sh/sotruss-lib.c: New file.
41235         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
41237 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41239         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41241 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
41243         [BZ #6810]
41244         * math/w_tgamma.c: Include <errno.h>.
41245         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
41246         * math/w_tgammaf.c: Include <errno.h>.
41247         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
41248         * math/w_tgammal.c: Include <errno.h>.
41249         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
41250         * math/auto-libm-test-in: Do not allow missing errno on tgamma
41251         underflow.  Add more tgamma tests.
41252         * math/auto-libm-test-out: Regenerated.
41253         * sysdeps/i386/fpu/libm-test-ulps: Update.
41254         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41256         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
41257         sin, sinh, tan, tanh, tgamma, y0 and y1.
41258         * math/auto-libm-test-out: Regenerated.
41259         * math/libm-test.inc (TEST_COND_x86_64): New macro.
41260         (TEST_COND_x86): Likewise.
41261         (M_E2l): Remove macro.
41262         (M_E3l): Likewise.
41263         (M_2_SQRT_PIl): Likewise.
41264         (M_SQRT_PIl): Likewise.
41265         (M_1_DIV_El): Likewise.
41266         (log_test_data): Use AUTO_TESTS_f_f.
41267         (log10_test_data): Likewise.
41268         (log1p_test_data): Likewise.
41269         (log2_test_data): Likewise.
41270         (sin_test_data): Likewise.
41271         (sin_tonearest_test_data): Likewise.
41272         (sin_towardzero_test_data): Likewise.
41273         (sin_downward_test_data): Likewise.
41274         (sin_upward_test_data): Likewise.
41275         (sinh_test_data): Likewise.
41276         (sinh_tonearest_test_data): Likewise.
41277         (sinh_towardzero_test_data): Likewise.
41278         (sinh_downward_test_data): Likewise.
41279         (sinh_upward_test_data): Likewise.
41280         (tan_test_data): Likewise.
41281         (tan_tonearest_test_data): Likewise.
41282         (tan_towardzero_test_data): Likewise.
41283         (tan_downward_test_data): Likewise.
41284         (tan_upward_test_data): Likewise.
41285         (tanh_test_data): Likewise.
41286         (tgamma_test_data): Likewise.
41287         (y0_test_data): Likewise.
41288         (y1_test_data): Likewise.
41289         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
41290         (special_real_inputs): Add pi/4.
41291         * sysdeps/i386/fpu/libm-test-ulps: Update.
41292         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41294 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41296         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
41297         "longjmp_target" static probes.
41298         (__longjmp): Rename to __longjmp_symbol.
41299         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
41300         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
41301         on which longjmp to generate.
41302         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
41303         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
41304         probe.
41305         (__sigsetjmp): Rename to __sigsetjmp_symbol.
41306         (__sigjmp_save): Rename to __sigjmp_save_symbol.
41307         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
41308         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
41309         and __sigjmp_save_symbol based on which sigsetjmp to generated.
41310         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
41311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
41312         __longjmp_symbol based on which __longjmp to generate.
41313         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
41314         probe.
41315         (setjmp): Rename to setjmp_symbol.
41316         (__sigsetjmp): Rename to __sigsetjmp_symbol.
41317         (_setjmp): Rename to _setjmp_symbol.
41318         (__sigsetjmp): Rename to __sigsetjmp_symbol.
41319         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
41320         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
41321         which setjmp to generate.
41322         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
41323         "longjmp_target" static probes.
41325 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
41327         * benchtests/README: Add note about output arguments.
41328         * benchtests/bench-sincos.c: Remove file.
41329         * benchtests/sincos-inputs: New file.
41330         * scripts/bench.pl: Identify output arguments and define
41331         static variables for them.
41333         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
41335         [BZ #15941]
41336         * Makefile (INSTALL): Add install-plain.texi as the primary
41337         dependency.
41338         * manual/install-plain.texi: New file.
41339         * manual/install.texi: Include node directive only for
41340         non-plaintext output.
41342 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
41344         * stdlib/longlong.h: Update from GCC.
41346         [BZ #6807]
41347         [BZ #15901]
41348         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
41349         * math/w_j0f.c (y0f): Likewise.
41350         * math/w_j0l.c (__y0l): Likewise.
41351         * math/w_j1.c (y1): Likewise.
41352         * math/w_j1f.c (y1f): Likewise.
41353         * math/w_j1l.c (__y1l): Likewise.
41354         * math/w_jn.c (yn): Likewise.
41355         * math/w_jnf.c (ynf): Likewise.
41356         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
41357         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
41358         value for Bessel function domain errors outside _SVID_ mode.
41359         Adjust sign of return value for yn (negative integer, 0).
41360         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
41361         by zero in return for negative x and set sign appropriately for
41362         negative n.
41363         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
41364         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
41365         * math/libm-test.inc (y0_test_data): Add more tests and adjust
41366         expectations in error cases.
41367         (y1_test_data): Likewise.
41368         (yn_test_data): Likewise.
41369         * sysdeps/i386/fpu/libm-test-ulps: Update.
41370         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41372 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
41374         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
41375         "64" to "64-v1".  Add "64-v2".
41376         (abi-64-options): Rename to ...
41377         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
41378         (abi-64-condition): Rename to ...
41379         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
41380         (abi-64-ld-soname): Rename to ...
41381         (abi-64-v1-ld-soname): ... this.
41382         (abi-64-v2-options): Define.
41383         (abi-64-v2-condition): Likewise.
41384         (abi-64-v2-ld-soname): Likewise.
41385         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
41386         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
41387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
41388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
41389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
41391 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
41392             Alan Modra  <amodra@gmail.com>
41394         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
41395         New versions for use with the ELFv2 ABI.
41396         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
41397         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
41398         declaration.
41399         (struct La_ppc64v2_retval): Likewise.
41400         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
41401         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
41402         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
41403         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
41404         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
41405         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
41406         Do not save or restore CR.
41407         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
41408         (_dl_profile_resolve): Do no save or restore CR.  Support extended
41409         return values for ELFv2 ABI.  Fix location of FPR return registers.
41410         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
41411         updated values for _CALL_ELF == 2.
41412         (La_regs, La_retval, int_retval): Likewise.
41414 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
41416         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
41417         (FRAME_MIN_SIZE_PARM): Likewise.
41418         (FRAME_BACKCHAIN): Likewise.
41419         (FRAME_CR_SAVE): Likewise.
41420         (FRAME_LR_SAVE): Likewise.
41421         (FRAME_TOC_SAVE): Likewise.
41422         (FRAME_PARM_SAVE): Likewise.
41423         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
41424         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
41425         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
41426         (call_mcount_parm_offset): New macro.
41427         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
41428         (PROF): Use symbolic stack frame offsets.
41429         (TAIL_CALL_SYSCALL_ERROR): Likewise.
41430         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
41431         Redefine in terms of FRAME_MIN_SIZE.
41432         (_dl_runtime_resolve): Use symbolic stack frame offsets.
41433         (_dl_profile_resolve): Likewise.  Update comment.
41434         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
41435         symbols stack frame offsets.
41436         (__sigsetjmp): Likewise.
41437         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
41438         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
41439         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
41440         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
41442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
41443         (FRAME_BACKCHAIN): Remove.
41444         (FRAME_CR_SAVE): Likewise.
41445         (FRAME_LR_SAVE): Likewise.
41446         (FRAME_COMPILER_DW): Likewise.
41447         (FRAME_LINKER_DW): Likewise.
41448         (FRAME_TOC_SAVE): Likewise.
41449         (FRAME_PARM_SAVE): Likewise.
41450         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
41451         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
41452         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
41453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
41454         (CHECK_SP): Use symbolic stack frame offsets.
41455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
41456         zone" instead of caller's parameter save area for temp storage.
41457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
41458         Likewise.  Also, use symbolic stack frame offsets.
41459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
41460         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
41461         our own stack frame instead of the caller's.
41462         (__socket): Use symbolic stack frame offsets.
41464 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
41465             Alan Modra  <amodra@gmail.com>
41467         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
41468         Define.
41469         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
41470         (PPC64_LOCAL_ENTRY_OFFSET): Define.
41471         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
41472         New function.
41473         (elf_machine_fixup_plt): Call it.
41474         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
41475         reloc arguments.
41476         (elf_machine_rela): Update call to elf_machine_plt_conflict.
41477         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
41478         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
41479         r2 before calling target.
41481 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
41482             Alan Modra  <amodra@gmail.com>
41484         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
41485         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
41486         versions of macros to support ELFv2 ABI.
41487         (LOCALENTRY): New macro.
41488         (ENTRY, EALIGN): Use it.
41489         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
41490         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
41491         fall through into ENTRY entry point.
41492         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
41493         Only define if _CALL_ELF != 2.
41495         (elf_machine_matches_host): Verify ABI version matches.
41496         (RTLD_START): Use LOCALENTRY.
41497         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
41498         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
41499         (PLT_ENTRY_WORDS): New macro.
41500         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
41501         (elf_machine_runtime_setup): Support ELFv2 ABI.
41502         (elf_machine_fixup_plt): Likewise.
41503         (elf_machine_plt_conflict): Likewise.
41504         (resolve_ifunc): Likewise.
41505         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
41506         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
41507         Likewise.
41508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
41509         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
41510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
41511         (makecontext): Support ELFv2 ABI.
41512         * elf/elf.h (EF_PPC64_ABI): Define.
41514 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
41516         * sysdeps/powerpc/powerpc64/sysdep.h
41517         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
41518         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
41519         (ENTRY) [ASSEMBLER]: ... but instead here ...
41520         (EALIGN) [ASSEMBLER]: ... and here.
41521         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
41522         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
41523         (ENTRY_2) [!ASSEMBLER]: Use it.
41524         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
41525         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
41526         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
41527         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
41528         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
41529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
41530         Use PPC64_LOAD_FUNCPTR.
41532         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
41534 2013-12-04  Alan Modra  <amodra@gmail.com>
41536         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
41537         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
41538         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
41539         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
41541         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
41542         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
41543         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
41544         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
41545         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
41546         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
41548 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
41550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
41551         (__makecontext): Fix incorrect CFI when backtracing out of
41552         context created via makecontext.
41553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
41554         (__setcontext): Fix incorrect CFI during switch to new context.
41555         (__novec_setcontext): Likewise.
41557 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
41559         [BZ #4772]
41560         * time/strptime_l.c (__strptime_internal): Allow modifiers
41561         in strptime.
41562         * time/tst-strptime.c (day_tests): Add testcase.
41564 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
41566         * scripts/bench.pl: Skip over blank lines.
41568 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
41570         [BZ #926]
41571         * manual/time.texi (Calendar Time): Clarify what timezone functions
41572         use.
41574 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41576         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41578 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
41580         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
41581         implementation.
41582         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
41583         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
41584         * debug/memset_chk.c (__memset_chk): Likewise.
41585         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
41586         * debug/strncpy_chk.c: Likewise.
41588 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
41590         [BZ #15268]
41591         [BZ #15425]
41592         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
41593         (__ieee754_exp): For possibly underflowing results, check size of
41594         result and force underflow exception if required.
41595         * math/auto-libm-test-in: Add more tests of exp.
41596         * math/auto-libm-test-out: Regenerated.
41597         * sysdeps/i386/fpu/libm-test-ulps: Update.
41598         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41600         [BZ #16283]
41601         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
41602         * math/w_exp2f.c (__exp2f): Likewise.
41603         * math/w_exp2l.c (__exp2l): Likewise.
41604         * math/auto-libm-test-in: Do not allow missing errno on exp2
41605         underflow.
41606         * math/auto-libm-test-out: Regenerated.
41608 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
41610         [BZ #16274]
41611         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
41612         handle filename validation.
41613         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
41614         (do_open): Delete.
41616 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
41618         [BZ #6786]
41619         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
41620         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
41621         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
41622         <float.h>.
41623         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
41624         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
41625         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
41626         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
41627         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
41628         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
41629         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
41630         * math/auto-libm-test-in: Don't allow missing errno from erfc.
41631         Add more erfc tests.
41632         * math/auto-libm-test-out: Regenerated.
41633         * sysdeps/i386/fpu/libm-test-ulps: Update.
41634         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41636         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
41637         exp2, expm1, j0 and j1.
41638         * math/auto-libm-test-out: Regenerated.
41639         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
41640         (erfc_test_data): Likewise.
41641         (exp_test_data): Likewise.
41642         (exp_tonearest_test_data): Likewise.
41643         (exp_towardzero_test_data): Likewise.
41644         (exp_downward_test_data): Likewise.
41645         (exp_upward_test_data): Likewise.
41646         (exp10_test_data): Likewise.
41647         (exp2_test_data): Likewise.
41648         (expm1_test_data): Likewise.
41649         (j0_test_data): Likewise.
41650         (j1_test_data): Likewise.
41651         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
41652         (input_flag_type): Add flag_xfail_rounding.
41653         (input_flags): Add xfail-rounding.
41654         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
41655         (output_for_one_input_case): Handle flag_xfail_rounding.
41656         * sysdeps/i386/fpu/libm-test-ulps: Update.
41657         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41659 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
41661         [BZ #16289]
41662         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
41663         division by 0.
41665 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
41667         [BZ #16195]
41668         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
41669         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
41670         (STAP_PROBE0): New macro.
41671         (STAP_PROBE1): Likewise.
41672         (STAP_PROBE2): Likewise.
41673         (STAP_PROBE3): Likewise.
41674         (STAP_PROBE4): Likewise.
41676 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
41678         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
41680 2013-12-02  Steve Ellcey  <sellcey@mips.com>
41682         * benchtests/Makefile (bench): Add sqrt.
41683         (LDLIBS-bench-sqrt): New.
41684         * benchtests/sqrt-input: New.
41686 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
41688         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
41689         (GAIH_EAI): Likewise.
41690         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
41691         (gaih_inet): Likewise.
41692         (getaddrinfo): Don't use GAIH_EAI.
41694         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
41695         (struct gaih): Remove definition.
41697 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
41699         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
41700         Use HERRNOP directly.
41702 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41704         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41706 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
41708         * math/gen-auto-libm-tests.c (test_functions): Add more
41709         single-argument functions.
41710         (special_fill_pi_2): New function.
41711         (special_fill_minus_pi_2): Likewise.
41712         (special_fill_pi_6): Likewise.
41713         (special_fill_minus_pi_6): Likewise.
41714         (special_fill_pi_3): Likewise.
41715         (special_fill_2pi_3): Likewise.
41716         (special_fill_e): Likewise.
41717         (special_fill_1_e): Likewise.
41718         (special_fill_e_minus_1): Likewise.
41719         (special_real_inputs): Add more special inputs.
41720         (output_for_one_input_case): Do not require ERANGE on underflow to
41721         zero if round-to-nearest result does not underflow to zero, unless
41722         exact results required.
41723         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
41724         atan, atanh, cbrt, cos and cosh.
41725         * math/auto-libm-test-out: Regenerated.
41726         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
41727         (acos_tonearest_test_data): Likewise.
41728         (acos_towardzero_test_data): Likewise.
41729         (acos_downward_test_data): Likewise.
41730         (acos_upward_test_data): Likewise.
41731         (acosh_test_data): Likewise.
41732         (asin_test_data): Likewise.
41733         (asin_tonearest_test_data): Likewise.
41734         (asin_towardzero_test_data): Likewise.
41735         (asin_upward_test_data): Likewise.
41736         (asinh_test_data): Likewise.
41737         (atan_test_data): Likewise.
41738         (atanh_test_data): Likewise.
41739         (cbrt_test_data): Likewise.
41740         (cos_test_data): Likewise.
41741         (cos_tonearest_test_data): Likewise.
41742         (cos_towardzero_test_data): Likewise.
41743         (cos_downward_test_data): Likewise.
41744         (cos_upward_test_data): Likewise.
41745         (cosh_test_data): Likewise.
41746         (cosh_tonearest_test_data): Likewise.
41747         (cosh_towardzero_test_data): Likewise.
41748         (cosh_downward_test_data): Likewise.
41749         (cosh_upward_test_data): Likewise.
41750         * sysdeps/i386/fpu/libm-test-ulps: Update.
41751         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41753 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
41755         [BZ #6787]
41756         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
41757         * math/w_exp10f.c (__exp10f): Likewise.
41758         * math/w_exp10l.c (__exp10l): Likewise.
41759         * math/libm-test.inc (exp10_test_data): Add more tests and expect
41760         errno settings in existing tests.
41762         [BZ #14032]
41763         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
41764         precision control set to double precision.
41765         * sysdeps/i386/fpu/w_sqrt.c: New file.
41766         * math/auto-libm-test-in: Add more tests.
41767         * math/auto-libm-test-out: Update.
41769         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
41770         (sqrt_test_tonearest): New function.
41771         (sqrt_towardzero_test_data): New variable.
41772         (sqrt_test_towardzero): New function.
41773         (sqrt_downward_test_data): New variable.
41774         (sqrt_test_downward): New function.
41775         (sqrt_upward_test_data): New variable.
41776         (sqrt_test_upward): New function.
41777         (main): Call the new functions.
41779         * math/gen-auto-libm-tests.c: New file.
41780         * math/auto-libm-test-in: Likewise.
41781         * math/auto-libm-test-out: New generated file.
41782         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
41783         variables.
41784         (%beautify): Add generated representations of zero.
41785         (top level): Set $auto_input and call parse_auto_input.
41786         (beautify): Remove trailing "f" from hex float constants.
41787         (parse_args): Handle XFAIL_TEST.
41788         (convert_condition): New function.
41789         (or_value): Likewise.
41790         (or_cond_value): Likewise.
41791         (generate_testfile): Handle AUTO_TESTS_* lines.
41792         (parse_auto_input): New function.
41793         * math/libm-test.inc (XFAIL_TEST): New macro.
41794         (ERRNO_UNCHANGED): Update value.
41795         (ERRNO_EDOM): Likewise.
41796         (ERRNO_ERANGE): Likewise.
41797         (IGNORE_RESULT): Likewise.
41798         (TEST_COND_flt_32): New macro.
41799         (TEST_COND_dbl_64): Likewise.
41800         (TEST_COND_ldbl_96_intel): Likewise.
41801         (TEST_COND_ldbl_96_m68k): Likewise.
41802         (TEST_COND_ldbl_128): Likewise.
41803         (TEST_COND_ldbl_128ibm): Likewise.
41804         (TEST_COND_long32): Likewise.
41805         (TEST_COND_long64): Likewise.
41806         (TEST_COND_before_rounding): Likewise.
41807         (TEST_COND_after_rounding): Likewise.
41808         (enable_test): Handle XFAIL_TEST flag.
41809         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
41810         with finite results.
41811         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
41812         auto-libm-test-out.
41814 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
41815             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41817         [BZ #16214]
41818         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
41819         __tls_get_addr_internal instead of __tls_get_offset in order to
41820         avoid GOT pointer dependency.  Make rtld export
41821         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
41822         __tls_get_addr since we are a __tls_get_offset platform.
41823         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
41824         GOT pointer being set up before.
41825         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
41827 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
41829         * manual/math.texi (Errors in Math Functions): Document accuracy
41830         goals.
41832         [BZ #15004]
41833         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
41834         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
41835         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
41836         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
41837         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
41838         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
41839         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
41840         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
41841         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
41842         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
41843         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
41844         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
41845         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
41846         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
41847         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41848         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
41850         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
41851         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
41852         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
41853         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
41854         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
41855         Likewise.
41856         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
41857         Likewise.
41858         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
41859         Likewise.
41860         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
41861         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
41862         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
41863         atomic-feupdateenv and flt-rounds.
41864         * sysdeps/powerpc/nofpu/Versions (libc): Add
41865         __atomic_feholdexcept, __atomic_feclearexcept,
41866         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
41867         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
41868         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
41869         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
41870         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
41871         here.
41872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
41873         Update.
41875         * manual/arith.texi (FP Exceptions): Document that exceptions may
41876         not be raised when matherr is used.
41877         (Math Error Reporting): Document overflow in directed rounding
41878         modes.  Document that errno may not be set when finite values are
41879         returned on overflow.  Document intent to set errno on underflow
41880         only for underflow to zero.
41882         [BZ #16271]
41883         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
41884         round-to-nearest then adjust result for other rounding modes.
41885         * include/fenv.h (fegetround): Use libm_hidden_proto.
41886         * math/fegetround.c (fegetround): Use libm_hidden_def.
41887         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
41888         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
41889         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
41890         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
41891         Likewise.
41892         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
41893         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
41894         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
41895         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
41897 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41899         [BZ #16077]
41900         * nss/Versions (libnss_files): Add
41901         _nss_files_gethostbyname3_r.
41902         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
41903         New function.
41904         (HOST_DB_LOOKUP): Remove macro.
41905         (_nss_files_gethostbyname_r): Implement function without the
41906         HOST_DB_LOOKUP macro.
41907         (_nss_files_gethostbyname2_r): Likewise.
41909 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
41911         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
41913 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
41915         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
41916         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
41917         warning.
41919 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41921         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
41922         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
41923         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
41924         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
41925         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
41926         __fe_nomask_env_priv and attribute_hidden.
41927         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
41928         (libc_feupdateenv_test_ppc): Likewise.
41929         (libc_feresetround_ppc): Likewise.
41930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
41931         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
41932         compat_symbol macro.
41933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
41934         (__fe_nomask_env): Likewise.
41935         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
41937 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
41939         * string/Makefile: Remove ifunc tests.
41940         * string/test-string.h: Define TEST_IFUNC.
41941         * string/test-bcopy-ifunc.c: Remove.
41942         * string/test-bzero-ifunc.c: Likewise.
41943         * string/test-memccpy-ifunc.c: Likewise.
41944         * string/test-memchr-ifunc.c: Likewise.
41945         * string/test-memcmp-ifunc.c: Likewise.
41946         * string/test-memcpy-ifunc.c: Likewise.
41947         * string/test-memmem-ifunc.c: Likewise.
41948         * string/test-memmove-ifunc.c: Likewise.
41949         * string/test-mempcpy-ifunc.c: Likewise.
41950         * string/test-memrchr-ifunc.c: Likewise.
41951         * string/test-memset-ifunc.c: Likewise.
41952         * string/test-rawmemchr-ifunc.c: Likewise.
41953         * string/test-stpcpy-ifunc.c: Likewise.
41954         * string/test-stpncpy-ifunc.c: Likewise.
41955         * string/test-strcasecmp-ifunc.c: Likewise.
41956         * string/test-strcasestr-ifunc.c: Likewise.
41957         * string/test-strcat-ifunc.c: Likewise.
41958         * string/test-strchr-ifunc.c: Likewise.
41959         * string/test-strchrnul-ifunc.c: Likewise.
41960         * string/test-strcmp-ifunc.c: Likewise.
41961         * string/test-strcpy-ifunc.c: Likewise.
41962         * string/test-strcspn-ifunc.c: Likewise.
41963         * string/test-strlen-ifunc.c: Likewise.
41964         * string/test-strncasecmp-ifunc.c: Likewise.
41965         * string/test-strncat-ifunc.c: Likewise.
41966         * string/test-strncmp-ifunc.c: Likewise.
41967         * string/test-strncpy-ifunc.c: Likewise.
41968         * string/test-strnlen-ifunc.c: Likewise.
41969         * string/test-strpbrk-ifunc.c: Likewise.
41970         * string/test-strrchr-ifunc.c: Likewise.
41971         * string/test-strspn-ifunc.c: Likewise.
41972         * string/test-strstr-ifunc.c: Likewise.
41974 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
41976         * benchtests/Makefile: Remove ifunc tests.
41977         * benchtests/bench-string.h: Define TEST_IFUNC.
41978         * benchtests/bench-bcopy-ifunc.c: Remove.
41979         * benchtests/bench-bzero-ifunc.c: Likewise.
41980         * benchtests/bench-memccpy-ifunc.c: Likewise.
41981         * benchtests/bench-memchr-ifunc.c: Likewise.
41982         * benchtests/bench-memcmp-ifunc.c: Likewise.
41983         * benchtests/bench-memcpy-ifunc.c: Likewise.
41984         * benchtests/bench-memmem-ifunc.c: Likewise.
41985         * benchtests/bench-memmove-ifunc.c: Likewise.
41986         * benchtests/bench-mempcpy-ifunc.c: Likewise.
41987         * benchtests/bench-memrchr-ifunc.c: Likewise.
41988         * benchtests/bench-memset-ifunc.c: Likewise.
41989         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
41990         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
41991         * benchtests/bench-stpcpy-ifunc.c: Likewise.
41992         * benchtests/bench-stpncpy-ifunc.c: Likewise.
41993         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
41994         * benchtests/bench-strcasestr-ifunc.c: Likewise.
41995         * benchtests/bench-strcat-ifunc.c: Likewise.
41996         * benchtests/bench-strchr-ifunc.c: Likewise.
41997         * benchtests/bench-strchrnul-ifunc.c: Likewise.
41998         * benchtests/bench-strcmp-ifunc.c: Likewise.
41999         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
42000         * benchtests/bench-strcpy-ifunc.c: Likewise.
42001         * benchtests/bench-strcspn-ifunc.c: Likewise.
42002         * benchtests/bench-strlen-ifunc.c: Likewise.
42003         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
42004         * benchtests/bench-strncat-ifunc.c: Likewise.
42005         * benchtests/bench-strncmp-ifunc.c: Likewise.
42006         * benchtests/bench-strncpy-ifunc.c: Likewise.
42007         * benchtests/bench-strnlen-ifunc.c: Likewise.
42008         * benchtests/bench-strpbrk-ifunc.c: Likewise.
42009         * benchtests/bench-strrchr-ifunc.c: Likewise.
42010         * benchtests/bench-strsep-ifunc.c: Likewise.
42011         * benchtests/bench-strspn-ifunc.c: Likewise.
42012         * benchtests/bench-strstr-ifunc.c: Likewise.
42014 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
42016         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
42018 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
42020         * resolv/netdb.h: Use __glibc_reserved instead __unused.
42021         * rt/aio.h: Likewise.
42022         * sysdeps/gnu/bits/utmp.h: Likewise.
42023         * sysdeps/gnu/bits/utmpx.h: Likewise.
42024         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
42025         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
42026         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
42027         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
42028         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
42029         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
42030         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
42031         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
42032         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
42033         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
42034         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
42035         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
42036         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
42037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
42038         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
42039         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
42040         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
42041         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
42042         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
42043         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
42044         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
42045         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
42046         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
42047         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
42048         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
42049         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42050         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
42051         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
42052         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
42053         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
42054         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
42055         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
42056         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
42057         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
42058         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
42059         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
42060         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
42061         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
42062         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
42063         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
42064         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
42065         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
42067 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
42069         [BZ #16245]
42070         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
42071         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
42073 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
42075         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
42076         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
42077         Likewise.
42079 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42081         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
42082         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
42083         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
42084         (__fesetround): Remove define.
42085         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
42086         rounding and exceptions handling.
42087         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
42088         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
42089         (__fe_nomask_env): Likewise.
42090         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
42091         __fegetround instead of fegetround.
42092         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
42093         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
42095 2013-11-21  Roland McGrath  <roland@hack.frob.com>
42097         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
42098         it's there.
42100         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
42102 2013-11-21  Meador Inge  <meadori@codesourcery.com>
42104         [BZ #11157]
42105         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
42106         (encrypt_r): Likewise.
42107         * malloc/obstack.h (obstack_free): Likewise.
42108         * posix/unistd.h (encrypt): Likewise.
42110 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
42112         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
42113         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
42114         DL_CALL_DT_FINI() that call the functions directly.
42115         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
42116         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
42117         * elf/dl-fini.c: Likewise.
42119 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
42121         * malloc/hooks.c (memalign_check): Add alignment rounding.
42122         * malloc/malloc.c (_mid_memalign): New function.
42123         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
42124         Implement by calling _mid_memalign.
42125         * manual/probes.texi (Memory Allocation Probes): Remove
42126         memory_valloc_retry and memory_pvalloc_retry.
42128 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
42130         * locale/programs/locarchive.c (open_archive): Add const
42131         qualifier to ARCHIVEFNAME and copy default fname to
42132         DEFAULT_FNAME.
42134         [BZ #15601]
42135         * libio/tst-widetext.input: Rename Oriya to Odia.
42136         * locale/iso-639.def: Likewise.
42138         * manual/probes.texi (Mathematical Function Probes): Add
42139         documentation for sin, cos, asin and acos probes.
42140         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
42141         (__sin32): Add slowasin probe.
42142         (__cos32): Add slowacos probe.
42143         (__mpsin): Add slowsin probe.
42144         (__mpcos): Add slowcos probe.
42146 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
42148         [BZ #15483]
42149         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
42150         thread-local __sim_exceptions_thread and global
42151         __sim_exceptions_global.
42152         (__sim_disabled_exceptions): Change to thread-local
42153         __sim_disabled_exceptions_thread and global
42154         __sim_disabled_exceptions_global.
42155         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
42156         and global __sim_round_mode_global.
42157         (__simulate_exceptions): Use thread-local floating-point state and
42158         set global state from it as needed.
42159         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
42160         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
42161         __sim_round_mode_thread.
42162         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
42163         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
42164         and global __sim_exceptions_global.
42165         (__sim_disabled_exceptions): Change to thread-local
42166         __sim_disabled_exceptions_thread and global
42167         __sim_disabled_exceptions_global.
42168         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
42169         and global __sim_round_mode_global.
42170         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
42171         (SIM_SET_GLOBAL): Likewise.
42172         * sysdeps/powerpc/soft-fp/sfp-machine.h
42173         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
42174         __sim_round_mode_thread.
42175         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
42176         __sim_disabled_exceptions_thread.
42177         (__sim_exceptions): Change to __sim_exceptions_thread.
42178         (__sim_disabled_exceptions): Change to
42179         __sim_disabled_exceptions_thread.
42180         (__sim_round_mode): Change to __sim_round_mode_thread.
42181         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
42182         thread-local floating-point state and set global state from it as
42183         needed.
42184         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
42185         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
42186         (__sim_disabled_exceptions): Remove extern declaration.
42187         (feenableexcept): Use thread-local floating-point state and set
42188         global state from it as needed.
42189         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
42190         extern declaration.
42191         (__sim_disabled_exceptions): Likewise.
42192         (__sim_round_mode): Likewise.
42193         (__fegetenv): Use thread-local floating-point state.
42194         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
42195         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
42196         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
42197         floating-point state and set global state from it as needed.
42198         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
42199         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
42200         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
42201         Likewise.
42202         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
42203         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
42204         Likewise.
42205         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
42206         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
42207         Use __sim_round_mode_thread.
42208         * math/test-fenv-tls.c: New file.
42209         * math/Makefile (tests): Add test-fenv-tls.
42210         ($(objpfx)test-fenv-tls): Depend on
42211         $(common-objpfx)nptl/libpthread.so.
42213 2013-11-19  Andreas Schwab  <schwab@suse.de>
42215         * locale/programs/locale.c (show_info): Decode wordarray elements.
42216         * locale/categories.def (LC_MONETARY): Add element for
42217         _NL_MONETARY_CRNCYSTR.
42218         * locale/C-monetary.c (conversion_rate): New variable.
42219         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
42220         element.
42222 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
42224         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
42225         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
42227 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
42229         * elf/Makefile (tst-auxv): New test.
42230         * elf/tst-auxv.c: New
42231         * elf/rtld.c (dl_main): Adjust AT_EXECFN
42233 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
42235         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
42236         (hidden_proto): Caller changed.
42237         (hidden_tls_proto): New macro.
42238         (libc_hidden_tls_proto): Likewise.
42239         (rtld_hidden_tls_proto): Likewise.
42240         (libm_hidden_tls_proto): Likewise.
42241         (libresolv_hidden_tls_proto): Likewise.
42242         (librt_hidden_tls_proto): Likewise.
42243         (libdl_hidden_tls_proto): Likewise.
42244         (libnss_files_hidden_tls_proto): Likewise.
42245         (libnsl_hidden_tls_proto): Likewise.
42246         (libnss_nisplus_hidden_tls_proto): Likewise.
42247         (libutil_hidden_tls_proto): Likewise.
42249 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
42251         [BZ #10253]
42252         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
42253         (decompose_rpath): Defer expansion to fillin_rpath.
42254         (_dl_init_paths): Pass linkmap to fillin_rpath.
42256 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
42258         * benchtests/Makefile: Add strsep.
42259         * benchtests/bench-strsep.c: New file: strsep benchtest.
42260         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
42262 2013-11-18  Andreas Schwab  <schwab@suse.de>
42264         * locale/programs/locale.c (show_info) [case byte]: Check for
42265         '\377' instead of '\177'.
42266         * locale/C-monetary.c (not_available): Always use "\377".
42267         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
42268         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
42269         detect unavailable sign_posn locale elements.
42270         * locale/localeconv.c (__localeconv): For grouping and
42271         mon_grouping handle "\177" and "\377" like no grouping.
42272         (INT_ELEM): New macro.  Use it to set all numeric members.
42273         * locale/programs/ld-monetary.c (monetary_read)
42274         <tok_mon_grouping>: Normalize single -1 to the empty string.
42275         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
42276         Likewise.
42278 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
42280         [BZ #16055]
42281         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
42282         when we match (nil).
42283         * stdio-common/tst-sscanf.c (struct test): Add testcase.
42285 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
42287         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
42288         (NO_TEST_INLINE): Update value.
42289         (ERRNO_UNCHANGED): Likewise.
42290         (ERRNO_EDOM): Likewise.
42291         (ERRNO_ERANGE): Likewise.
42292         (IGNORE_RESULT): Likewise.
42293         (check_float_internal): Check signs of NaN results if
42294         TEST_NAN_SIGN used.
42295         (check_complex): Pass TEST_NAN_SIGN flag through to second
42296         check_float_internal call.
42297         (copysign_test_data): Add tests with quiet NaNs as second
42298         argument.  Use TEST_NAN_SIGN.
42299         (fabs_test_data): Add test of negative quiet NaN argument.  Use
42300         TEST_NAN_SIGN.
42301         (signbit_test_data): Add tests of quiet NaN argument.
42302         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
42304         * math/gen-libm-test.pl (show_exceptions): Take extra argument
42305         $ignore_result.
42306         (parse_args): Handle function results specified as IGNORE.
42307         * math/libm-test.inc (IGNORE_RESULT): New macro.
42308         (check_float_internal): Do not check numerical result if flag
42309         IGNORE_RESULT set.
42310         (check_complex): Pass through IGNORE_RESULT to second
42311         check_float_internal call.
42312         (check_int): Do not check numerical result if flag IGNORE_RESULT
42313         set.
42314         (check_long): Likewise.
42315         (check_bool): Likewise.
42316         (check_longlong): Likewise.
42317         (lrint_test_data): Add tests of infinite and NaN arguments.
42318         (lrint_tonearest_test_data): Likewise.
42319         (lrint_towardzero_test_data): Likewise.
42320         (lrint_downward_test_data): Likewise.
42321         (lrint_upward_test_data): Likewise.
42322         (llrint_test_data): Likewise.
42323         (llrint_tonearest_test_data): Likewise.
42324         (llrint_towardzero_test_data): Likewise.
42325         (llrint_downward_test_data): Likewise.
42326         (llrint_upward_test_data): Likewise.
42327         (lround_test_data): Likewise.
42328         (llround_test_data): Likewise.
42330         * math/libm-test.inc (NO_TEST_INLINE): New macro.
42331         (ERRNO_UNCHANGED): Update value.
42332         (ERRNO_EDOM): Likewise.
42333         (ERRNO_ERANGE): Likewise.
42334         (NO_TEST_INLINE_FLOAT): New macro.
42335         (NO_TEST_INLINE_DOUBLE): Likewise.
42336         (enable_test): New function.
42337         (RUN_TEST_f_f): Check enable_test before running test.
42338         (RUN_TEST_2_f): Likewise.
42339         (RUN_TEST_fff_f): Likewise.
42340         (RUN_TEST_c_f): Likewise.
42341         (RUN_TEST_f_f1): Likewise.
42342         (RUN_TEST_fF_f1): Likewise.
42343         (RUN_TEST_fI_f1): Likewise.
42344         (RUN_TEST_ffI_f1): Likewise.
42345         (RUN_TEST_c_c): Likewise.
42346         (RUN_TEST_cc_c): Likewise.
42347         (RUN_TEST_f_i): Likewise.
42348         (RUN_TEST_f_i_tg): Likewise.
42349         (RUN_TEST_ff_i_tg): Likewise.
42350         (RUN_TEST_f_b): Likewise.
42351         (RUN_TEST_f_b_tg): Likewise.
42352         (RUN_TEST_f_l): Likewise.
42353         (RUN_TEST_f_L): Likewise.
42354         (RUN_TEST_fFF_11): Likewise.
42355         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
42356         conditionals.
42357         (cosh_test_data): Likewise.
42358         (exp_test_data): Likewise.
42359         (expm1_test_data): Likewise.
42360         (hypot_test_data): Likewise.
42361         (pow_test_data): Likewise.
42362         (sinh_test_data): Likewise.
42363         (tanh_test_data): Likewise.
42364         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
42365         flags argument.
42367         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
42368         tests with quiet NaN input and output.
42369         (acosh_test_data): Likewise.
42370         (asin_test_data): Likewise.
42371         (asinh_test_data): Likewise.
42372         (atan_test_data): Likewise.
42373         (atanh_test_data): Likewise.
42374         (atan2_test_data): Likewise.
42375         (cbrt_test_data): Likewise.
42376         (cos_test_data): Likewise.
42377         (cosh_test_data): Likewise.
42378         (erf_test_data): Likewise.
42379         (erfc_test_data): Likewise.
42380         (exp_test_data): Likewise.
42381         (exp10_test_data): Likewise.
42382         (exp2_test_data): Likewise.
42383         (expm1_test_data): Likewise.
42384         (hypot_test_data): Likewise.
42385         (j0_test_data): Likewise.
42386         (j1_test_data): Likewise.
42387         (jn_test_data): Likewise.
42388         (lgamma_test_data): Likewise.
42389         (log_test_data): Likewise.
42390         (log10_test_data): Likewise.
42391         (log1p_test_data): Likewise.
42392         (log2_test_data): Likewise.
42393         (pow_test_data): Likewise.
42394         (scalb_test_data): Likewise.
42395         (sin_test_data): Likewise.
42396         (sincos_test_data): Likewise.
42397         (sinh_test_data): Likewise.
42398         (tan_test_data): Likewise.
42399         (tanh_test_data): Likewise.
42400         (tgamma_test_data): Likewise.
42401         (y0_test_data): Likewise.
42402         (y1_test_data): Likewise.
42403         (yn_test_data): Likewise.
42405         [BZ #16167]
42406         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
42407         argument being NaN and avoid computations with second argument in
42408         that case.
42409         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
42410         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
42411         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
42413 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
42415         * locale/iso-639.def: Add Chitwani Tharu (the).
42417 2013-11-14  Andreas Schwab  <schwab@suse.de>
42419         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
42420         word instead of empty string.
42422 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
42425         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
42426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
42427         (__fe_nomask_env): Likewise.
42429 2013-11-13  Steve Ellcey  <sellcey@mips.com>
42431         * benchtests/bench-timing.h: Include time.h.
42433 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
42435         [BZ #15997]
42436         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
42437         to 3.4.0 for x32.
42438         * sysdeps/unix/sysv/linux/configure: Regenerated.
42440 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
42442         [BZ #16151]
42443         * stdlib/strtod_l.c (round_and_return): Do not consider
42444         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
42445         exponent one less than half the least subnormal exponent.
42446         * stdlib/test-strtod-round-data: Add more tests.
42447         * stdlib/tst-strtod-round.c (tests): Regenerated.
42449 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42451         [BZ #14143]
42452         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
42453         (__fe_mask_env): Likewise.
42454         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
42455         libm_hidden_proto and add function prototype.
42456         (__fe_mask_env): Add function prototype.
42457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
42458         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
42459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
42460         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
42461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
42462         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
42464 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42466         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
42467         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
42469 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42471         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
42472         of htab_find_slot().
42474 2013-11-11  David S. Miller  <davem@davemloft.net>
42476         [BZ #16150]
42477         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
42478         symbol in the non-vis3 case in static builds.
42479         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
42480         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
42481         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
42482         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
42484 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
42486         [BZ #387]
42487         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
42488         it is empty.
42490 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42492         * benchtests/Makefile: Add bench-strtod.
42493         * benchtests/bench-strtod.c: New file: strtod benchtest
42495 2013-11-11  Andreas Schwab  <schwab@suse.de>
42497         [BZ #16153]
42498         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
42499         terminating NUL in key length.
42501 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42503         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
42504         Add artificial ODP entry for vDSO symbol for PPC64.
42505         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
42506         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
42508 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
42510         [BZ #15374]
42511         * nss/getent.c (services_keys): Recognize services starting with digit.
42513 2013-11-06  David S. Miller  <davem@davemloft.net>
42515         [BZ #15985]
42516         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
42517         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
42519 2013-11-06  Will Newton  <will.newton@linaro.org>
42521         * manual/memory.texi (Malloc Examples): Remove register
42522         keyword from examples.
42524 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
42526         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
42528 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
42530         [BZ #6981]
42531         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
42532         depending on [__GCC_IEC_559 > 0].
42533         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
42534         depending on [__GCC_IEC_559_COMPLEX > 0].
42536 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
42538         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
42539         to iso-639.def.
42541 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
42543         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
42545 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
42547         [BZ #16112]
42548         * malloc/malloc (malloc_info): Do not handle first bin as
42549         special case.
42551 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
42553         * locale/iso-639.def: Add Central Nahuatl (nhn).
42555 2013-11-01  Bruno Haible  <bruno@clisp.org>
42557         [BZ #7003]
42558         * manual/math.texi (BSD Random): Specify range upper bound as
42559         in POSIX.
42561 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
42563         * locale/iso-639.def: Add Meadow Mari (mhr).
42565 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
42567         [BZ #14752], [BZ #15763]
42568         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
42569         Validate name.
42570         * rt/tst_shm.c: Add test for escaping directory.
42572 2013-10-31  Andreas Schwab  <schwab@suse.de>
42574         [BZ #15917]
42575         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
42576         followed by 'x' as part of digit sequence.
42577         * stdio-common/tst-sscanf.c (double_tests2): New tests.
42579 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
42581         [BZ #16037]
42582         * configure.ac: allow GNU Make 4.0 and greater.
42583         * configure: Regenerated.
42585 2013-10-30  Will Newton  <will.newton@linaro.org>
42587         [BZ #16038]
42588         * malloc/hooks.c (memalign_check): Limit alignment to the
42589         maximum representable power of two.
42590         * malloc/malloc.c (__libc_memalign): Likewise.
42591         * malloc/tst-memalign.c (do_test): Add test for very
42592         large alignment values.
42593         * malloc/tst-posix_memalign.c (do_test): Likewise.
42595 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
42597         [BZ #11087]
42598         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
42599         (munmap_chunk): Likewise.
42600         (mremap_chunk): Likewise.
42602 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
42604         [BZ #15799]
42605         * stdlib/div.c (div): Remove obsolete code.
42606         * stdlib/ldiv.c (ldiv): Likewise.
42607         * stdlib/lldiv.c (lldiv): Likewise.
42609 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
42611         [BZ #16071]
42612         * nss/nss_files/files-XXX.c (get_contents_ret): New
42613         enumerator.
42614         (get_contents): New function.
42615         (internal_getent): Use it.  Expand size of LINEBUFLEN.
42617 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
42619         * configure.in: Moved to ...
42620         * configure.ac: ... here. Change reference to configure.in
42621         to configure.ac.
42622         * sysdeps/arm/preconfigure.ac: ... here.
42623         configure.in to configure.ac.
42624         * sysdeps/gnu/configure.in: Moved to ...
42625         * sysdeps/gnu/configure.ac: ... here.
42626         * sysdeps/i386/configure.in: Moved to ...
42627         * sysdeps/i386/configure.ac: ... here.
42628         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
42629         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
42630         * sysdeps/mach/configure.in: Moved to ...
42631         * sysdeps/mach/configure.ac: ... here.
42632         * sysdeps/mach/hurd/configure.in: Moved to ...
42633         * sysdeps/mach/hurd/configure.ac: ... here.
42634         * sysdeps/powerpc/configure.in: Moved to ...
42635         * sysdeps/powerpc/configure.ac: ... here.
42636         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
42637         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
42638         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
42639         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
42640         * sysdeps/s390/s390-32/configure.in: Moved to ...
42641         * sysdeps/s390/s390-32/configure.ac: ... here.
42642         * sysdeps/s390/s390-64/configure.in: Moved to ...
42643         * sysdeps/s390/s390-64/configure.ac: ... here.
42644         * sysdeps/sh/configure.in: Moved to ...
42645         * sysdeps/sh/configure.ac: ... here.
42646         * sysdeps/sparc/configure.in: Moved to ...
42647         * sysdeps/sparc/configure.ac: ... here.
42648         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
42649         * sysdeps/unix/sysv/linux/configure.ac: ... here.
42650         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
42651         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
42652         * sysdeps/x86_64/configure.in: Moved to ...
42653         * sysdeps/x86_64/configure.ac: ... here.
42654         * sysdeps/x86_64/preconfigure.in: Moved to ...
42655         * sysdeps/x86_64/preconfigure.ac: ... here.
42656         * aclocal.m4: Change reference to configure.in to configure.ac.
42657         * config.h.in: Likewise.
42658         * manual/install.texi: Likewise.
42659         * manual/maint.texi: Likewise.
42660         * Makefile: Likewise.
42661         * malloc/Makefile: Likewise.
42662         * nscd/Makefile: Likewise.
42663         * Makeconfig: Change reference to configure.in and
42664         preconfigure.in to configure.ac and preconfigure.ac
42665         respectively.
42666         * INSTALL: Regenerated.
42667         * configure: Likewise.
42668         * sysdeps/gnu/configure: Likewise.
42669         * sysdeps/i386/configure: Likewise.
42670         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
42671         * sysdeps/mach/configure: Likewise.
42672         * sysdeps/mach/hurd/configure: Likewise.
42673         * sysdeps/powerpc/configure: Likewise.
42674         * sysdeps/powerpc/powerpc32/configure: Likewise.
42675         * sysdeps/powerpc/powerpc64/configure: Likewise.
42676         * sysdeps/s390/s390-32/configure: Likewise.
42677         * sysdeps/s390/s390-64/configure: Likewise.
42678         * sysdeps/sh/configure: Likewise.
42679         * sysdeps/sparc/configure: Likewise.
42680         * sysdeps/unix/sysv/linux/configure: Likewise.
42681         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
42682         * sysdeps/x86_64/configure: Likewise.
42683         * sysdeps/x86_64/preconfigure: Likewise.
42685 2013-10-29  Andreas Schwab  <schwab@suse.de>
42687         * stdio-common/Makefile (tst-swscanf-ENV): Define.
42689 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
42691         * benchtests/pow-inputs: Add new inputs.
42693         * benchtests/exp-inputs: Add new inputs.
42695         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
42696         conditional check for return value.
42697         (__cos32): Likewise.
42699 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42701         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
42702         to provide a boost for large inputs with word alignment.
42703         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
42704         implementation based on optimized PPC64 strcpy.
42705         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
42706         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
42707         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
42708         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
42710 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
42712         [BZ #2801]
42713         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
42715 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
42717         [BZ #14876]
42718         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
42719         * time/tst-strptime.c (day_tests): Add testcase.
42721 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
42723         [BZ #14029]
42724         * manual/pattern.texi: Acknowledge that fnmatch can fail.
42726 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
42728         [BZ #16074]
42729         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
42730         MAP_FAILED on error.
42732 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
42734         [BZ #16072]
42735         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
42736         heap for large requests.
42738 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
42740         [BZ #9954]
42741         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
42742         result if the result has no associated interface.
42743         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
42744         interface for all 127.X.Y.Z addresses.
42746 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
42748         * locale/iso-639.def: Add Ligurian (lij)
42750 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
42752         [BZ #15825]
42753         * sunrpc/rpc_main.c: Document rpcgen -5.
42755 2013-10-19  Michael Stahl  <mstahl@redhat.com>
42757         * elf/rtld.c (do_preload): Print the reason why preloading failed.
42759 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
42761         [BZ #10278]
42762         * posix/glob.c: Match only directories when trailing slash is present.
42763         * posix/tst-gnuglob.c (my_opendir): Do not open files.
42764         (main): Add testcase.
42766 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
42768         [BZ #15670]
42769         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
42771 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
42773         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
42774         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
42775         AUTH_DES and cindex for FIPS 140-2.
42776         (DES Encryption): Add cindex FIPS 46-3.
42778         * locale/locarchive.h (struct locarhandle): Add fname.
42779         * locale/programs/localedef.c (main): Pass ARGV[remaining]
42780         if an optional argument was specified to --list-archive,
42781         otherwise NULL.
42782         * locale/programs/locarchive.c (show_archive_content): Take new
42783         argument fname and pass it via ah.fname to open_archive.
42784         * locale/programs/localedef.h: Update decl.
42785         (open_archive): If AH->fname is non-null, open that file
42786         rather than the default file name, and don't ignore ENOENT.
42787         (create_archive): Set AH.fname to NULL.
42788         (delete_locales_from_archive): Likewise.
42789         (add_locales_to_archive): Likewise.
42790         * locale/programs/locfile.c (write_all_categories): Likewise.
42792 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
42793             Aldy Hernandez  <aldyh@redhat.com>
42795         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
42796         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
42797         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
42798         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
42799         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
42800         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
42801         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
42802         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
42803         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
42804         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
42805         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
42806         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
42807         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
42808         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
42809         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
42810         Likewise.
42811         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
42812         Likewise.
42813         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
42814         Likewise.
42815         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
42816         Likewise.
42817         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
42818         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
42819         Likewise.
42820         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
42821         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
42822         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
42823         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
42824         Likewise.
42825         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
42826         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
42827         * sysdeps/powerpc/preconfigure: Likewise.
42828         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
42829         Likewise.
42830         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
42831         Replace contents of file by #include of <fenv_libc.h>.
42832         * sysdeps/powerpc/soft-fp/sfp-machine.h
42833         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
42834         and <sys/prctl.h>.
42835         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
42836         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
42837         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
42838         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
42839         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
42840         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
42841         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
42842         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
42843         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
42844         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
42845         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
42846         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
42847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
42848         Allow copysignl PLT reference to be missing.
42850 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
42851             Joseph Myers  <joseph@codesourcery.com
42853         [BZ #15948]
42854         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
42855         single character.
42856         (add_to_tablewc): Assert sequence of wide characters is nonempty.
42858 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
42860         * elf/tst-tls-dlinfo.c: Don't include tls.h.
42861         * elf/tst-tls1.c: Likewise.
42862         * elf/tst-tls10.h: Likewise.
42863         * elf/tst-tls14.c: Likewise.
42864         * elf/tst-tls2.c: Likewise.
42865         * elf/tst-tls3.c: Likewise.
42866         * elf/tst-tls4.c: Likewise.
42867         * elf/tst-tls5.c: Likewise.
42868         * elf/tst-tls6.c: Likewise.
42869         * elf/tst-tls7.c: Likewise.
42870         * elf/tst-tls8.c: Likewise.
42871         * elf/tst-tls9.c: Likewise.
42872         * elf/tst-tlsmod1.c: Likewise.
42873         * elf/tst-tlsmod13.c: Likewise.
42874         * elf/tst-tlsmod13a.c: Likewise.
42875         * elf/tst-tlsmod14a.c: Likewise.
42876         * elf/tst-tlsmod16a.c: Likewise.
42877         * elf/tst-tlsmod16b.c: Likewise.
42878         * elf/tst-tlsmod2.c: Likewise.
42879         * elf/tst-tlsmod3.c: Likewise.
42880         * elf/tst-tlsmod4.c: Likewise.
42881         * elf/tst-tlsmod5.c: Likewise.
42882         * elf/tst-tlsmod6.c: Likewise.
42884 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
42886         [BZ #12486]
42887         * malloc/malloc.c: remove checks for statistics.
42889 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
42891         [BZ #15277]
42892         * inet/inet_net.c (inet_network): Detect additional invalid strings.
42893         * inet/tst-network.c: Add testcase.
42895 2013-10-17  Andreas Schwab  <schwab@suse.de>
42897         [BZ #15218]
42898         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
42899         to determine canonical name.
42901 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
42903         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
42904         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
42905         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42906         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
42907         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42908         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
42909         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
42910         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
42911         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
42912         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
42913         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
42914         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42915         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42916         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
42917         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
42918         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
42919         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42920         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42921         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
42922         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
42923         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42924         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42925         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42926         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
42927         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
42928         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
42929         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
42930         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
42931         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
42932         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
42933         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
42934         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42935         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
42936         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
42937         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42938         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42939         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42940         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42941         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42942         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42943         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42944         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
42945         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
42946         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42947         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
42948         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42949         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42950         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
42951         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
42952         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42953         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
42954         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
42955         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
42956         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
42957         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42958         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
42959         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42960         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42962 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
42964         [BZ #16041]
42965         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
42966         make result into a quiet NaN.
42968 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
42970         * soft-fp/adddf3.c: Fix horizontal whitespace.
42971         * soft-fp/addsf3.c: Likewise.
42972         * soft-fp/addtf3.c: Likewise.
42973         * soft-fp/divdf3.c: Likewise.
42974         * soft-fp/divsf3.c: Likewise.
42975         * soft-fp/divtf3.c: Likewise.
42976         * soft-fp/double.h: Likewise.
42977         * soft-fp/eqdf2.c: Likewise.
42978         * soft-fp/eqsf2.c: Likewise.
42979         * soft-fp/eqtf2.c: Likewise.
42980         * soft-fp/extenddftf2.c: Likewise.
42981         * soft-fp/extended.h: Likewise.
42982         * soft-fp/extendsfdf2.c: Likewise.
42983         * soft-fp/extendsftf2.c: Likewise.
42984         * soft-fp/extendxftf2.c: Likewise.
42985         * soft-fp/fixdfdi.c: Likewise.
42986         * soft-fp/fixdfsi.c: Likewise.
42987         * soft-fp/fixdfti.c: Likewise.
42988         * soft-fp/fixsfdi.c: Likewise.
42989         * soft-fp/fixsfsi.c: Likewise.
42990         * soft-fp/fixsfti.c: Likewise.
42991         * soft-fp/fixtfdi.c: Likewise.
42992         * soft-fp/fixtfsi.c: Likewise.
42993         * soft-fp/fixtfti.c: Likewise.
42994         * soft-fp/fixunsdfdi.c: Likewise.
42995         * soft-fp/fixunsdfsi.c: Likewise.
42996         * soft-fp/fixunsdfti.c: Likewise.
42997         * soft-fp/fixunssfdi.c: Likewise.
42998         * soft-fp/fixunssfsi.c: Likewise.
42999         * soft-fp/fixunssfti.c: Likewise.
43000         * soft-fp/fixunstfdi.c: Likewise.
43001         * soft-fp/fixunstfsi.c: Likewise.
43002         * soft-fp/fixunstfti.c: Likewise.
43003         * soft-fp/floatdidf.c: Likewise.
43004         * soft-fp/floatdisf.c: Likewise.
43005         * soft-fp/floatditf.c: Likewise.
43006         * soft-fp/floatsidf.c: Likewise.
43007         * soft-fp/floatsisf.c: Likewise.
43008         * soft-fp/floatsitf.c: Likewise.
43009         * soft-fp/floattidf.c: Likewise.
43010         * soft-fp/floattisf.c: Likewise.
43011         * soft-fp/floattitf.c: Likewise.
43012         * soft-fp/floatundidf.c: Likewise.
43013         * soft-fp/floatundisf.c: Likewise.
43014         * soft-fp/floatunditf.c: Likewise.
43015         * soft-fp/floatunsidf.c: Likewise.
43016         * soft-fp/floatunsisf.c: Likewise.
43017         * soft-fp/floatunsitf.c: Likewise.
43018         * soft-fp/floatuntidf.c: Likewise.
43019         * soft-fp/floatuntisf.c: Likewise.
43020         * soft-fp/floatuntitf.c: Likewise.
43021         * soft-fp/fmadf4.c: Likewise.
43022         * soft-fp/fmasf4.c: Likewise.
43023         * soft-fp/fmatf4.c: Likewise.
43024         * soft-fp/gedf2.c: Likewise.
43025         * soft-fp/gesf2.c: Likewise.
43026         * soft-fp/getf2.c: Likewise.
43027         * soft-fp/ledf2.c: Likewise.
43028         * soft-fp/lesf2.c: Likewise.
43029         * soft-fp/letf2.c: Likewise.
43030         * soft-fp/muldf3.c: Likewise.
43031         * soft-fp/mulsf3.c: Likewise.
43032         * soft-fp/multf3.c: Likewise.
43033         * soft-fp/negdf2.c: Likewise.
43034         * soft-fp/negsf2.c: Likewise.
43035         * soft-fp/negtf2.c: Likewise.
43036         * soft-fp/op-1.h: Likewise.
43037         * soft-fp/op-2.h: Likewise.
43038         * soft-fp/op-4.h: Likewise.
43039         * soft-fp/op-8.h: Likewise.
43040         * soft-fp/op-common.h: Likewise.
43041         * soft-fp/quad.h: Likewise.
43042         * soft-fp/single.h: Likewise.
43043         * soft-fp/soft-fp.h: Likewise.
43044         * soft-fp/sqrtdf2.c: Likewise.
43045         * soft-fp/sqrtsf2.c: Likewise.
43046         * soft-fp/sqrttf2.c: Likewise.
43047         * soft-fp/subdf3.c: Likewise.
43048         * soft-fp/subsf3.c: Likewise.
43049         * soft-fp/subtf3.c: Likewise.
43050         * soft-fp/truncdfsf2.c: Likewise.
43051         * soft-fp/trunctfdf2.c: Likewise.
43052         * soft-fp/trunctfsf2.c: Likewise.
43053         * soft-fp/trunctfxf2.c: Likewise.
43054         * soft-fp/unorddf2.c: Likewise.
43055         * soft-fp/unordsf2.c: Likewise.
43056         * soft-fp/unordtf2.c: Likewise.
43058 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
43060         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
43061         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
43063 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
43065         * elf/dl-libc.c: Clear initfini list after freeing.
43067 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
43069         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
43070         * soft-fp/addsf3.c: Likewise.
43071         * soft-fp/addtf3.c: Likewise.
43072         * soft-fp/divdf3.c: Likewise.
43073         * soft-fp/divsf3.c: Likewise.
43074         * soft-fp/divtf3.c: Likewise.
43075         * soft-fp/double.h: Likewise.
43076         * soft-fp/eqdf2.c: Likewise.
43077         * soft-fp/eqsf2.c: Likewise.
43078         * soft-fp/eqtf2.c: Likewise.
43079         * soft-fp/extenddftf2.c: Likewise.
43080         * soft-fp/extended.h: Likewise.
43081         * soft-fp/extendsfdf2.c: Likewise.
43082         * soft-fp/extendsftf2.c: Likewise.
43083         * soft-fp/extendxftf2.c: Likewise.
43084         * soft-fp/fixdfdi.c: Likewise.
43085         * soft-fp/fixdfsi.c: Likewise.
43086         * soft-fp/fixdfti.c: Likewise.
43087         * soft-fp/fixsfdi.c: Likewise.
43088         * soft-fp/fixsfsi.c: Likewise.
43089         * soft-fp/fixsfti.c: Likewise.
43090         * soft-fp/fixtfdi.c: Likewise.
43091         * soft-fp/fixtfsi.c: Likewise.
43092         * soft-fp/fixtfti.c: Likewise.
43093         * soft-fp/fixunsdfdi.c: Likewise.
43094         * soft-fp/fixunsdfsi.c: Likewise.
43095         * soft-fp/fixunsdfti.c: Likewise.
43096         * soft-fp/fixunssfdi.c: Likewise.
43097         * soft-fp/fixunssfsi.c: Likewise.
43098         * soft-fp/fixunssfti.c: Likewise.
43099         * soft-fp/fixunstfdi.c: Likewise.
43100         * soft-fp/fixunstfsi.c: Likewise.
43101         * soft-fp/fixunstfti.c: Likewise.
43102         * soft-fp/floatdidf.c: Likewise.
43103         * soft-fp/floatdisf.c: Likewise.
43104         * soft-fp/floatditf.c: Likewise.
43105         * soft-fp/floatsidf.c: Likewise.
43106         * soft-fp/floatsisf.c: Likewise.
43107         * soft-fp/floatsitf.c: Likewise.
43108         * soft-fp/floattidf.c: Likewise.
43109         * soft-fp/floattisf.c: Likewise.
43110         * soft-fp/floattitf.c: Likewise.
43111         * soft-fp/floatundidf.c: Likewise.
43112         * soft-fp/floatundisf.c: Likewise.
43113         * soft-fp/floatunsidf.c: Likewise.
43114         * soft-fp/floatunsisf.c: Likewise.
43115         * soft-fp/floatuntidf.c: Likewise.
43116         * soft-fp/floatuntisf.c: Likewise.
43117         * soft-fp/floatuntitf.c: Likewise.
43118         * soft-fp/fmadf4.c: Likewise.
43119         * soft-fp/fmasf4.c: Likewise.
43120         * soft-fp/fmatf4.c: Likewise.
43121         * soft-fp/gedf2.c: Likewise.
43122         * soft-fp/gesf2.c: Likewise.
43123         * soft-fp/getf2.c: Likewise.
43124         * soft-fp/ledf2.c: Likewise.
43125         * soft-fp/lesf2.c: Likewise.
43126         * soft-fp/letf2.c: Likewise.
43127         * soft-fp/muldf3.c: Likewise.
43128         * soft-fp/mulsf3.c: Likewise.
43129         * soft-fp/multf3.c: Likewise.
43130         * soft-fp/negdf2.c: Likewise.
43131         * soft-fp/negsf2.c: Likewise.
43132         * soft-fp/negtf2.c: Likewise.
43133         * soft-fp/op-1.h: Likewise.
43134         * soft-fp/op-2.h: Likewise.
43135         * soft-fp/op-4.h: Likewise.
43136         * soft-fp/op-8.h: Likewise.
43137         * soft-fp/op-common.h: Likewise.
43138         * soft-fp/quad.h: Likewise.
43139         * soft-fp/single.h: Likewise.
43140         * soft-fp/soft-fp.h: Likewise.
43141         * soft-fp/sqrtdf2.c: Likewise.
43142         * soft-fp/sqrtsf2.c: Likewise.
43143         * soft-fp/sqrttf2.c: Likewise.
43144         * soft-fp/subdf3.c: Likewise.
43145         * soft-fp/subsf3.c: Likewise.
43146         * soft-fp/subtf3.c: Likewise.
43147         * soft-fp/truncdfsf2.c: Likewise.
43148         * soft-fp/trunctfdf2.c: Likewise.
43149         * soft-fp/trunctfsf2.c: Likewise.
43150         * soft-fp/trunctfxf2.c: Likewise.
43151         * soft-fp/unorddf2.c: Likewise.
43152         * soft-fp/unordsf2.c: Likewise.
43153         * soft-fp/unordtf2.c: Likewise.
43155 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
43157         [BZ #15672]
43158         * misc/error.c (error_tail): Fix possible buffer overflow.
43160 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
43162         [BZ #13028]
43163         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
43164         address.
43166 2013-10-14  P. J. McDermott  <pj@pehjota.net>
43168         [BZ #832]
43169         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
43170         testing pipefail option.
43172 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
43174         * soft-fp/double.h: Indent preprocessor directives inside #if.
43175         * soft-fp/extended.h: Likewise.
43176         * soft-fp/op-2.h: Likewise.
43177         * soft-fp/op-4.h: Likewise.
43178         * soft-fp/op-common.h: Likewise.
43179         * soft-fp/quad.h: Likewise.
43180         * soft-fp/single.h: Likewise.
43181         * soft-fp/soft-fp.h: Likewise.
43183 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
43185         * iconv/iconv_prog.c: Fix typos.
43186         * stdio-common/psiginfo-data.h: Likewise.
43188 2013-10-12   Reuben Thomas <rrt@sc3d.org>
43190         [BZ #15764]
43191         * locale/setlocale.c: Fix typo.
43193 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
43195         [BZ #16036]
43196         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
43197         signaling NaN arguments.
43198         * soft-fp/unordsf2.c (__unordsf2): Likewise.
43199         * soft-fp/unordtf2.c (__unordtf2): Likewise.
43201         [BZ #14910]
43202         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
43203         unordered operands.
43204         * soft-fp/gesf2.c (__gesf2): Likewise.
43205         * soft-fp/getf2.c (__getf2): Likewise.
43206         * soft-fp/ledf2.c (__ledf2): Likewise.
43207         * soft-fp/lesf2.c (__lesf2): Likewise.
43208         * soft-fp/letf2.c (__letf2): Likewise.
43210         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
43211         * soft-fp/eqsf2.c (__eqsf2): Likewise.
43212         * soft-fp/eqtf2.c (__eqtf2): Likewise.
43213         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
43214         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
43215         * soft-fp/fixdfti.c (__fixdfti): Likewise.
43216         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
43217         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
43218         * soft-fp/fixsfti.c (__fixsfti): Likewise.
43219         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
43220         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
43221         * soft-fp/fixtfti.c (__fixtfti): Likewise.
43222         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
43223         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
43224         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
43225         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
43226         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
43227         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
43228         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
43229         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
43230         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
43231         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
43232         * soft-fp/floatdisf.c (__floatdisf): Likewise.
43233         * soft-fp/floatsisf.c (__floatsisf): Likewise.
43234         * soft-fp/floattidf.c (__floattidf): Likewise.
43235         * soft-fp/floattisf.c (__floattisf): Likewise.
43236         * soft-fp/floattitf.c (__floattitf): Likewise.
43237         * soft-fp/floatundidf.c (__floatundidf): Likewise.
43238         * soft-fp/floatundisf.c (__floatundisf): Likewise.
43239         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
43240         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
43241         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
43242         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
43243         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
43244         * soft-fp/gesf2.c (__gesf2): Likewise.
43245         * soft-fp/getf2.c (__getf2): Likewise.
43246         * soft-fp/ledf2.c (__ledf2): Likewise.
43247         * soft-fp/lesf2.c (__lesf2): Likewise.
43248         * soft-fp/letf2.c (__letf2): Likewise.
43250         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
43251         Undefine and redefine.
43252         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
43253         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
43254         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
43255         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
43256         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43257         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
43258         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43259         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
43260         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43261         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
43262         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43263         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
43264         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43265         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
43266         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43268         [BZ #16032]
43269         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
43270         without decrementing exponent if mantissa >= that for the
43271         denominator, not >.
43272         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
43273         denominator, not >.  Decrement exponent in < case instead of
43274         incrementing in >= case.
43275         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
43276         without decrementing exponent if mantissa >= that for the
43277         denominator, not >.
43279         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
43280         computing saturated result for unsigned overflow.
43282 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
43283             Jeff Law  <law@redhat.com>
43285         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
43286         (atan2Mp): Add systemtap probe marker.
43287         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
43288         (__ieee754_log): Add systemtap probe marker.
43289         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
43290         (atanMp): Add systemtap probe marker.
43291         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
43292         (tanMp): Add systemtap probe marker.
43293         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
43294         (__slowexp): Add systemtap probe marker.
43295         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
43296         (__slowpow): Add systemtap probe marker.
43297         * manual/probes.texi: Document probes.
43299 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
43301         [BZ #15362]
43302         * libio/fileops.c (_IO_new_file_write): Return count of bytes
43303         written.
43304         (_IO_new_file_xsputn): Don't return EOF if nothing has been
43305         written.
43306         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
43307         written to buffer but not flushed.
43308         * libio/iofwrite_u.c:  Likewise.
43309         * libio/iopadn.c:  Return bytes returned even if EOF was
43310         encountered.
43311         * libio/iowpadn.c:  Likewise.
43312         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
43313         if _IO_padn does not write the whole buffer.
43314         [!COMPILE_WPRINTF] (PAD): Likewise.
43316 2013-10-10  David S. Miller  <davem@davemloft.net>
43318         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
43319         directory block.
43321 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
43323         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
43324         instead of FSF address.
43325         * soft-fp/fixdfti.c: Likewise.
43326         * soft-fp/fixsfti.c: Likewise.
43327         * soft-fp/fixtfti.c: Likewise.
43328         * soft-fp/fixunsdfti.c: Likewise.
43329         * soft-fp/fixunssfti.c: Likewise.
43330         * soft-fp/fixunstfti.c: Likewise.
43331         * soft-fp/floattidf.c: Likewise.
43332         * soft-fp/floattisf.c: Likewise.
43333         * soft-fp/floattitf.c: Likewise.
43334         * soft-fp/floatuntidf.c: Likewise.
43335         * soft-fp/floatuntisf.c: Likewise.
43336         * soft-fp/floatuntitf.c: Likewise.
43337         * soft-fp/trunctfxf2.c: Likewise.
43339         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
43340         * soft-fp/fixdfti.c: Likewise.
43341         * soft-fp/fixsfti.c: Likewise.
43342         * soft-fp/fixtfti.c: Likewise.
43343         * soft-fp/fixunsdfti.c: Likewise.
43344         * soft-fp/fixunssfti.c: Likewise.
43345         * soft-fp/fixunstfti.c: Likewise.
43346         * soft-fp/floattidf.c: Likewise.
43347         * soft-fp/floattisf.c: Likewise.
43348         * soft-fp/floattitf.c: Likewise.
43349         * soft-fp/floatuntidf.c: Likewise.
43350         * soft-fp/floatuntisf.c: Likewise.
43351         * soft-fp/floatuntitf.c: Likewise.
43352         * soft-fp/trunctfxf2.c: Likewise.
43354 2013-10-10  David S. Miller  <davem@davemloft.net>
43356         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43358 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
43360         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
43361         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
43362         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
43363         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
43364         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
43365         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
43366         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
43368         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
43369         for NaNs before doing comparisons on argument.
43370         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
43371         Likewise.
43373 2013-10-10  Will Newton  <will.newton@linaro.org>
43375         * malloc/hooks.c (memalign_check): Ensure the value of bytes
43376         passed to _int_memalign does not overflow.
43378 2013-10-10  Torvald Riegel  <triegel@redhat.com>
43380         * scripts/bench.pl: Add include-sources directive.
43381         * benchtests/README: Update documentation.
43383 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
43385         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
43386         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
43387         instead of FP_INIT_ROUNDMODE.
43388         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
43389         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
43391         [BZ #16034]
43392         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
43393         copy class of input value.
43394         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
43395         not handle exceptions.
43396         * soft-fp/negsf2.c (__negsf2): Likewise.
43397         * soft-fp/negtf2.c (__negtf2): Likewise.
43398         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
43400 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
43402         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
43403         semicolon.  From Linux kernel.
43405 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
43407         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
43409 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
43411         [BZ #156]
43412         * manual/socket.texi: Added statement about buffer
43413         for gethostbyname2_r.
43415 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
43417         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
43418         Use .p2align directive instead, throughout.
43419         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
43420         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
43421         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
43422         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
43423         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
43424         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
43425         * sysdeps/x86_64/strchr.S: Likewise.
43426         * sysdeps/x86_64/strrchr.S: Likewise.
43428 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
43430         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
43432         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
43434         * sysdeps/generic/math_private.h (__mpsin1): Remove
43435         declaration.
43436         (__mpcos1): Likewise.
43437         (__mpsin): New argument __range_reduce.
43438         (__mpcos): Likewise.
43439         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43440         (slow): Use __mpsin and __mpcos.
43441         (slow1): Likewise.
43442         (slow2): Likewise.
43443         (sloww): Likewise.
43444         (sloww1): Likewise.
43445         (sloww2): Likewise.
43446         (bsloww): Likewise.
43447         (bsloww1): Likewise.
43448         (bsloww2): Likewise.
43449         (cslow2): Likewise.
43450         (csloww): Likewise.
43451         (csloww1): Likewise.
43452         (csloww2): Likewise.
43453         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
43454         range_reduce.  Merge in __mpsin1.
43455         (__mpcos): Likewise.
43456         (__mpsin1): Remove.
43457         (__mpcos1): Likewise.
43459 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
43461         * locale/loadlocale.c (_nl_intern_locale_data): Use
43462         LOCFILE_ALIGNED_P.
43463         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
43464         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
43465         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
43466         obstack data is appropriately aligned.
43467         (obstack_int32_grow_fast): Likewise.
43468         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
43469         * locale/programs/locfile.c (add_locale_uint32): Likewise.
43470         (add_locale_uint32_array): Likewise.
43472 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
43474         * benchtests/Makefile: Remove ARGLIST and RET variables.
43475         ($(objpfx)bench-%.c): Pass only function name to the script.
43476         * benchtests/README: Update documentation.
43477         * benchtests/acos-inputs: Add new directives.
43478         * benchtests/acosh-inputs: Likewise.
43479         * benchtests/asin-inputs: Likewise.
43480         * benchtests/asinh-inputs: Likewise.
43481         * benchtests/atan-inputs: Likewise.
43482         * benchtests/atanh-inputs: Likewise.
43483         * benchtests/cos-inputs: Likewise.
43484         * benchtests/cosh-inputs: Likewise.
43485         * benchtests/exp-inputs: Likewise.
43486         * benchtests/log-inputs: Likewise.
43487         * benchtests/pow-inputs: Likewise.
43488         * benchtests/rint-inputs: Likewise.
43489         * benchtests/sin-inputs: Likewise.
43490         * benchtests/sinh-inputs: Likewise.
43491         * benchtests/tan-inputs: Likewise.
43492         * benchtests/tanh-inputs: Likewise.
43493         * scripts/bench.pl: Add support for new directives.
43495 2013-10-07  Alan Modra  <amodra@gmail.com>
43497         * README: Fix careless merge.
43499 2013-10-05  Alan Modra  <amodra@gmail.com>
43501         * NEWS: Mention powerpc64le support and bugs fixed.
43502         * README: Both big-endian and little-endian powerpc64 supported.
43504 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43506         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
43507         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
43508         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
43509         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
43511 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
43513         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
43514         match prototype.
43516 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
43518         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
43519         Move -mhard-float appending from
43520         ports/sysdeps/powerpc/powerpc32/Makefile.
43521         [$(with-fp) = yes] (ASFLAGS): Likewise.
43522         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
43523         * sysdeps/powerpc/nofpu: Move directory from
43524         ports/sysdeps/powerpc/nofpu.
43525         * sysdeps/powerpc/soft-fp: Move directory from
43526         ports/sysdeps/powerpc/soft-fp.
43527         * sysdeps/powerpc/powerpc32/405: Move directory from
43528         ports/sysdeps/powerpc/powerpc32/405.
43529         * sysdeps/powerpc/powerpc32/440: Move directory from
43530         ports/sysdeps/powerpc/powerpc32/440.
43531         * sysdeps/powerpc/powerpc32/464: Move directory from
43532         ports/sysdeps/powerpc/powerpc32/464.
43533         * sysdeps/powerpc/powerpc32/476: Move directory from
43534         ports/sysdeps/powerpc/powerpc32/476.
43535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
43536         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
43537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
43538         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
43539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
43540         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
43541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
43542         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
43543         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
43544         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
43545         * README: Update for powerpc-*-linux-gnu software floating point
43546         support in libc.
43548         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
43549         case to powerpc/powerpc32*.
43550         * sysdeps/unix/sysv/linux/configure: Regenerated.
43552         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
43553         (_FPU_MASK_OM): Define as 0x04.
43554         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
43555         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
43556         0x00c10080.
43557         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
43558         0x0000003c.
43559         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
43561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
43562         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
43563         getcontext_e500.
43564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
43565         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
43566         setcontext_e500.
43567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
43568         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
43569         and setcontext_e500.
43571 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
43573         * locale/iso-3166.def: Update iso-1366.def and related occurrences
43575 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
43577         * manual/threads.texi (Default Thread Attributes): Fix typo.
43579 2013-10-04  Will Newton  <will.newton@linaro.org>
43581         * malloc/Makefile: Add tst-memalign.
43582         * malloc/tst-memalign.c: New file.
43584         * malloc/tst-posix_memalign.c: Add comments.
43585         (do_test): Add comments and call free on all potentially
43586         allocated pointers. Add space after cast.
43588         * malloc/tst-pvalloc.c: Add comments.
43589         (do_test): Add comments and call free on all potentially
43590         allocated pointers. Remove duplicate check for NULL pointer.
43591         Add space after cast.
43593         * malloc/tst-valloc.c: Add comments.
43594         (do_test): Add comments and call free on all potentially
43595         allocated pointers. Remove duplicate check for NULL pointer.
43596         Add space after cast.
43598 2013-10-04  Alan Modra  <amodra@gmail.com>
43600         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
43601         Use stdint types in rather than __attribute__((mode())).
43602         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
43604 2013-10-04  Alan Modra  <amodra@gmail.com>
43606         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
43607         Correct handling of unaligned relocs for little-endian.
43608         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
43610 2013-10-04  Alan Modra  <amodra@gmail.com>
43612         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
43613         * configure: Regenerate.
43614         * nptl/shlib-versions: Powerpc*le starts at 2.18.
43615         * shlib-versions: Likewise.
43617 2013-10-04  Alan Modra  <amodra@gmail.com>
43619         * string/tester.c (test_memrchr): Increment reported test cycle.
43621 2013-10-04  Alan Modra  <amodra@gmail.com>
43623         * string/test-memcpy.c (do_one_test): When reporting errors, print
43624         string address and don't overrun end of string.
43626 2013-10-04  Alan Modra  <amodra@gmail.com>
43628         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
43629         insrdi.  Make better use of reg selection to speed exit slightly.
43630         Schedule entry path a little better.  Remove useless "are we done"
43631         checks on entry to main loop.  Handle wrapping around zero address.
43632         Correct main loop count.  Handle single left-over word from main
43633         loop inline rather than by using loop_small.  Remove extra word
43634         case in loop_small caused by wrong loop count.  Add little-endian
43635         support.
43636         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
43637         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
43638         cache hint.
43639         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
43640         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
43641         support.  Avoid rlwimi.
43642         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
43644 2013-10-04  Alan Modra  <amodra@gmail.com>
43646         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
43647         insrdi.  Formatting.
43648         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
43649         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
43650         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
43651         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
43652         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
43653         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
43655 2013-10-04  Alan Modra  <amodra@gmail.com>
43657         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
43658         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
43659         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
43660         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
43661         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
43662         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
43663         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
43664         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
43665         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
43666         use of regs.  Use power7 mtocrf.  Tidy function tails.
43668 2013-10-04  Alan Modra  <amodra@gmail.com>
43670         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
43671         Formatting.  Consistently use rXXX register defines or rN defines.
43672         Use early exit labels that avoid restoring unused non-volatile regs.
43673         Make cr field use more consistent with rWORDn compares.  Rename
43674         regs used as shift registers for unaligned loop, using rN defines
43675         for short lifetime/multiple use regs.
43676         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
43677         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
43678         addi 1,1,64 to pop stack frame.  Simplify return value code.
43679         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
43681 2013-10-04  Alan Modra  <amodra@gmail.com>
43683         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
43684         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
43685         rather than rlwimi.
43686         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
43687         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
43688         little-endian support.  Correct typos.
43689         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
43690         rather than rlwimi.
43691         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
43692         in loop and entry code to keep "and." results.
43693         (strchr): Add little-endian support.  Comment.  Move cntlzd
43694         earlier in tail.
43695         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
43697 2013-10-04  Alan Modra  <amodra@gmail.com>
43699         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
43700         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
43701         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
43702         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
43704 2013-10-04  Alan Modra  <amodra@gmail.com>
43706         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
43707         (rTMP): Define as r11.
43708         (strcmp): Add little-endian support.  Optimise tail.
43709         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
43710         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
43711         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
43712         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
43713         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
43714         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
43715         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
43717 2013-10-04  Alan Modra  <amodra@gmail.com>
43719         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
43720         little-endian support.  Remove unnecessary "are we done" tests.
43721         Handle "s" wrapping around zero and extremely large "size".
43722         Correct main loop count.  Handle single left-over word from main
43723         loop inline rather than by using small_loop.  Correct comments.
43724         Delete "zero" tail, use "end_max" instead.
43725         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
43727 2013-10-04  Alan Modra  <amodra@gmail.com>
43729         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
43730         support.  Don't branch over align.
43731         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
43732         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
43733         support.  Rearrange tmp reg use to suit.  Comment.
43734         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
43736 2013-10-04  Alan Modra  <amodra@gmail.com>
43738         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
43740 2013-10-04  Alan Modra  <amodra@gmail.com>
43742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
43743         conditional form of branch and link when obtaining pc.
43744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
43746 2013-10-04  Alan Modra  <amodra@gmail.com>
43748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
43749         HIWORD/LOWORD.
43750         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
43751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
43753 2013-10-04  Alan Modra  <amodra@gmail.com>
43755         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
43756         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
43757         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
43758         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
43759         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
43760         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
43761         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
43762         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
43763         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
43764         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
43766 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
43767             Alistair Popple <alistair@ozlabs.au.ibm.com>
43768             Alan Modra <amodra@gmail.com>
43770         [BZ #15723]
43771         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
43772         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
43773         _dl_hwcap access for little-endian.
43774         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
43775         destroy vmx regs when saving unaligned.
43776         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
43777         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
43778         destroy vmx regs when saving unaligned.
43780 2013-10-04  Alan Modra  <amodra@gmail.com>
43782         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
43783         Don't use a union to pack hi/low value.
43785 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
43787         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
43788         for little-endian.
43789         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
43790         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
43791         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
43792         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
43793         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
43795 2013-10-04  Alan Modra  <amodra@gmail.com>
43797         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
43798         constants to usual value for .cst8 section, and remove redundant
43799         high address load.
43800         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
43801         constant for 0x1p52.  Load little-endian words of double from
43802         correct stack offsets.
43804 2013-10-04  Alan Modra  <amodra@gmail.com>
43806         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
43807         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
43808         words of double from correct stack offsets.
43809         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
43810         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
43811         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
43812         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
43813         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
43814         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
43815         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
43816         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
43817         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
43818         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
43819         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
43820         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
43821         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
43822         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
43823         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
43824         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
43825         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
43827 2013-10-04  Alan Modra  <amodra@gmail.com>
43829         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
43830         64-bit int/double union.
43831         (_FPU_SETCW): Likewise.
43832         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
43833         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
43835 2013-10-04  Alan Modra  <amodra@gmail.com>
43837         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
43838         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
43840 2013-10-04  Alan Modra  <amodra@gmail.com>
43842         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
43843         use vector int constants.
43844         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
43846 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
43848         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
43849         array with long long.
43850         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
43851         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
43852         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
43853         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
43854         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
43855         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
43856         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
43857         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
43858         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
43859         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
43860         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
43861         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
43862         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
43864 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
43866         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
43867         (__signbit): Likewise.  Correct for little-endian.
43868         (__signbitl): Call __signbit.
43869         (lrint): Correct for little-endian.
43870         (lrintf): Call lrint.
43872 2013-10-04  Alan Modra  <amodra@gmail.com>
43874         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
43875         union 32-bit int array member with 64-bit int array.
43876         (t515, tm256): Double rather than long double.
43877         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
43879 2013-10-04  Alan Modra  <amodra@gmail.com>
43881         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
43882         Delete.
43883         (IEEE854_LONG_DOUBLE_BIAS): Delete.
43884         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
43885         version of math_ldbl.h.
43887 2013-10-04  Alan Modra  <amodra@gmail.com>
43889         [BZ #15734], [BZ #15735]
43890         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
43891         all uses of ieee875 long double macros and unions.  Simplify test
43892         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
43893         ldbl_extract_mantissa value for ix,iy exponents.  Properly
43894         normalize after ldbl_extract_mantissa, and don't add hidden bit
43895         already handled.  Don't treat low word of ieee854 mantissa like
43896         low word of IBM long double and mask off bit when testing for
43897         zero.
43898         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
43899         all uses of ieee875 long double macros and unions.  Simplify tests
43900         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
43901         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
43902         two1022, instead use their values.  Recognise that tests for large
43903         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
43904         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
43905         Rewrite all uses of ieee875 long double macros and unions.  Simplify
43906         test for 0.0L and nan.  Correct negation.
43907         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
43908         ieee875 long double macros and unions.  Correct output for large
43909         magnitude x.  Correct absolute value calculation.
43910         (__erfcl): Likewise.
43911         * math/libm-test.inc: Add tests for errors discovered in IBM long
43912         double versions of fmodl, remainderl, erfl and erfcl.
43914 2013-10-04  Alan Modra  <amodra@gmail.com>
43916         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
43917         all uses of ieee854 long double macros and unions.  Simplify tests
43918         for long doubles that are fully specified by the high double.
43919         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
43920         Likewise.
43921         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
43922         Remove dead code too.
43923         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
43924         (__ieee754_ynl): Likewise.
43925         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
43926         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
43927         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
43928         Remove dead code too.
43929         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
43930         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
43931         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
43932         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
43933         Simplify.
43934         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
43935         Simplify.
43936         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
43937         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
43938         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
43939         Comment on variable precision.
43940         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
43941         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
43942         Likewise.
43943         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
43944         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
43945         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
43946         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
43947         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
43949 2013-10-04  Alan Modra  <amodra@gmail.com>
43951         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
43952         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
43953         all uses of ieee854 long double macros and unions.
43954         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
43955         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
43956         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
43957         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
43958         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
43959         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
43960         Likewise.
43961         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
43962         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
43963         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
43964         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
43965         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
43966         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
43967         Simplify sign and nan test too.
43968         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
43969         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
43970         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
43971         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
43972         Likewise.
43973         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
43974         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
43975         Likewise.
43976         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
43977         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
43978         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
43979         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
43980         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
43981         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
43983 2013-10-04  Alan Modra  <amodra@gmail.com>
43985         * stdio-common/printf_size.c (__printf_size): Don't use
43986         union ieee854_long_double in fpnum union.
43987         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
43988         signbit macro to retrieve sign from long double.
43989         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
43990         retrieve sign from long double.
43991         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
43992         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
43993         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
43994         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
43995         * math/test-misc.c (main): Don't use union ieee854_long_double.
43997 2013-10-04  Alan Modra  <amodra@gmail.com>
43999         [BZ #15680]
44000         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
44001         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
44002         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
44003         calculation.  Remove unnecessary test for denormal exponent.
44004         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
44005         Correct handling of denormals.  Avoid undefined shift behaviour.
44006         Correct normalisation of low mantissa when low double is denormal.
44007         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
44008         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
44009         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
44010         Correct normalisation of low mantissa.  Test for overflow of high
44011         mantissa and normalise.
44012         (ldbl_nearbyint): Use more readable constant for two52.
44013         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
44014         (__mpn_construct_long_double): Fix test for overflow of high
44015         mantissa and correct normalisation.  Avoid undefined shift.
44017 2013-10-04  Alan Modra  <amodra@gmail.com>
44019         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
44020         (union ibm_extended_long_double): Define as an array of ieee754_double.
44021         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
44022         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
44023         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
44024         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
44025         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
44026         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
44027         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
44028         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
44029         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
44030         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
44031         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
44033 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
44035         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
44036         page size instead of calling getpagesize.
44038         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
44039         (LOCFILE_ALIGN_MASK): Likewise.
44040         (LOCFILE_ALIGN_UP): Likewise.
44041         (LOCFILE_ALIGNED_P): Likewise.
44042         * locale/programs/ld-collate.c (collate_output): Use the new
44043         macros instead of __alignof__ (int32_t).
44044         * locale/weight.h (findidx): Likewise.
44046 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
44048         [BZ #431]
44049         * manual/string.texi: Fix strncat and wcsncat.
44051 2013-10-03  Brooks Moses  <bmoses@google.com>
44053         [BZ #15915]
44054         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
44055         * Makerules: ...here, and adjust associated comments.
44057 2013-10-02  Will Newton  <will.newton@linaro.org>
44059         * malloc/Makefile: Add tst-pvalloc.
44060         * malloc/tst-pvalloc.c: New file.
44062 2013-10-02  Will Newton  <will.newton@linaro.org>
44064         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
44065         improve test coverage.
44067 2013-10-02  Will Newton  <will.newton@linaro.org>
44069         * malloc/Makefile: Add tst-posix_memalign.
44070         * malloc/tst-posix_memalign.c: New file.
44072 2013-10-01  Eric Blake  <eblake@redhat.com>
44074         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
44075         Use __THROWNL rather than __THROW on static functions.
44077 2013-09-30  Petr Machata  <pmachata@redhat.com>
44079         * elf/elf.h (R_AARCH64_ABS16): New macro.
44080         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
44081         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
44082         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
44083         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
44084         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
44085         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
44086         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
44087         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
44088         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
44089         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
44090         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
44091         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
44092         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
44093         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
44094         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
44095         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
44096         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
44097         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
44098         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
44099         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
44100         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
44101         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
44102         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
44103         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
44104         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
44105         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
44106         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
44107         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
44108         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
44109         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
44110         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
44111         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
44112         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
44113         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
44114         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
44115         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
44116         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
44117         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
44118         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
44119         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
44120         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
44121         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
44122         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
44123         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
44124         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
44125         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
44126         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
44127         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
44128         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
44129         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
44130         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
44131         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
44132         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
44133         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
44134         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
44135         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
44136         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
44137         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
44138         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
44139         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
44140         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
44141         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
44142         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
44143         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
44144         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
44145         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
44146         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
44147         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
44148         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
44149         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
44150         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
44151         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
44152         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
44153         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
44154         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
44155         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
44156         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
44157         (R_AARCH64_TLSDESC_LDR): Likewise.
44158         (R_AARCH64_TLSDESC_ADD): Likewise.
44159         (R_AARCH64_TLSDESC_CALL): Likewise.
44161 2013-09-30  Andreas Schwab  <schwab@suse.de>
44163         [BZ #15048]
44164         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
44165         the nss database lookup.
44166         * nscd/initgrcache.c (addinitgroupsX): Likewise.
44167         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
44169 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
44171         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
44173 2013-09-28  P. J. McDermott  <pj@pehjota.net>
44175         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
44176         ${Bash-specific parameter/pattern/string} parameter expansion.
44177         * sysdeps/unix/make-syscalls.sh: Likewise.
44179 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44181         * sysdeps/sh/stackguard-macros.h: New file.
44183 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
44185         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
44186         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
44187         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
44188         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
44189         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
44190         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
44192 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44194         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
44195         Fix thread ID register.
44197 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
44199         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
44200         [POSIX || UNIX98]: Require rather than permitting all symbols from
44201         <time.h>.
44202         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
44203         element of struct sched_param.
44204         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
44205         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
44206         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
44207         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
44208         constant.
44210 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
44212         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
44213         argument calculation.
44215 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
44217         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
44218         Expect macro.
44219         [POSIX] (pthread_attr_t): Do not require type.
44220         [POSIX] (pthread_cond_t): Likewise.
44221         [POSIX] (pthread_condattr_t): Likewise.
44222         [POSIX] (pthread_key_t): Likewise.
44223         [POSIX] (pthread_mutex_t): Likewise.
44224         [POSIX] (pthread_mutexattr_t): Likewise.
44225         [POSIX] (pthread_once_t): Likewise.
44226         [POSIX] (pthread_t): Likewise.
44227         [POSIX-based standards] (pthread_atfork): Expect function.
44229 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
44230             Richard Sandiford  <richard@codesourcery.com>
44232         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
44233         (swap_endianness_p): New extern variable.
44234         (set_big_endian): New inline function.
44235         (maybe_swap_uint32): Likewise.
44236         (maybe_swap_uint32_array): Likewise.
44237         (maybe_swap_uint32_obstack): Likewise.
44238         * locale/programs/locfile.c: Include <stdbool.h>.
44239         (swap_endianness_p): New variable.
44240         (add_locale_uint32): Call maybe_swap_uint32.
44241         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
44242         (write_locale_data): Call maybe_swap_uint32_array.
44243         * locale/programs/ld-collate.c (obstack_int32_grow): Call
44244         maybe_swap_uint32.
44245         (obstack_int32_grow_fast): Likewise.
44246         (output_weightwc): Call maybe_swap_uint32_obstack.
44247         (collate_output): Likewise.
44248         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
44249         (OPT_LITTLE_ENDIAN): Likewise.
44250         (options): Add --little-endian and --big-endian options.
44251         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
44252         * locale/programs/locarchive.c: Include "locfile.h".
44253         (GET): New macro.
44254         (SET): Likewise.
44255         (INC): Likewise.
44256         (create_archive): Use the new macros to access fields of
44257         structures directly mapped from or written to locale archives.
44258         (oldlocrecentcmp): Likewise.
44259         (enlarge_archive): Likewise.
44260         (insert_name): Likewise.
44261         (add_alias): Likewise.
44262         (add_locale): Likewise.
44263         (delete_locales_from_archive): Likewise.
44264         (show_archive_content): Likewise.
44265         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
44266         locale data.
44268 2013-09-24  Roland McGrath  <roland@hack.frob.com>
44270         * manual/freemanuals.texi: Updated from (newly) canonical copy at
44271         http://www.gnu.org/doc/freemanuals.texi.
44272         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
44274 2013-09-24  Will Newton  <will.newton@linaro.org>
44276         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
44277         macro.
44279 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
44281         * locale/hashval.h (compute_hashval): Interpret bytes of key as
44282         unsigned char.
44284 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
44286         * manual/threads.texi (POSIX Threads): Fix a typo.
44288 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
44290         [BZ #14547]
44291         * string/tst-strcoll-overflow.c: New test case.
44292         * string/Makefile (xtests): Add tst-strcoll-overflow.
44293         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
44294         cache if string sizes may cause integer overflow.
44296         [BZ #14547]
44297         * string/strcoll_l.c (coll_seq): New members rule, idx,
44298         save_idx and back_us.
44299         (get_next_seq_nocache): New function.
44300         (do_compare_nocache): New function.
44301         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
44302         when malloc fails.
44304 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
44306         [BZ #15754]
44307         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
44308         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
44309         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
44311         [BZ #15754]
44312         * elf/Makefile (tests): Add tst-ptrguard1.
44313         (tests-static): Add tst-ptrguard1-static.
44314         (tst-ptrguard1-ARGS): Define.
44315         (tst-ptrguard1-static-ARGS): Define.
44316         * elf/tst-ptrguard1.c: New file.
44317         * elf/tst-ptrguard1-static.c: New file.
44318         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
44319         * sysdeps/i386/stackguard-macros.h: Likewise.
44320         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
44321         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
44322         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
44323         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
44324         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
44325         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
44327 2013-09-23  Hector Marco  <hecmargi@upv.es>
44328             Ismael Ripoll  <iripoll@disca.upv.es>
44329             Carlos O'Donell  <carlos@redhat.com>
44331         [BZ #15754]
44332         * sysdeps/generic/stackguard-macros.h: Define
44333         __pointer_chk_guard_local and POINTER_CHK_GUARD.
44334         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
44335         Define __pointer_chk_guard_local.
44336         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
44337         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
44339 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
44341         [BZ #15859]
44342         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
44344 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
44346         * include/string.h (__ffs): Declare as hidden.
44347         * string/ffs.c (__ffs): Define as hidden.
44348         * sysdeps/i386/ffs.c (__ffs): Likewise.
44349         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
44350         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
44351         * sysdeps/s390/ffs.c (__ffs): Likewise.
44352         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
44354 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
44356         * NEWS: Mention malloc probes.
44358         * malloc/arena.c (new_heap): New memory_heap_new probe.
44359         (grow_heap): New memory_heap_more probe.
44360         (shrink_heap): New memory_heap_less probe.
44361         (heap_trim): New memory_heap_free probe.
44362         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
44363         (systrim): New memory_sbrk_less probe.
44364         * manual/probes.texi: Document them.
44366         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
44367         * manual/probes.texi: Document it.
44369         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
44370         (__libc_realloc): Add memory_realloc_retry probe.
44371         (__libc_memalign): Add memory_memalign_retry probe.
44372         (__libc_valloc): Add memory_valloc_retry probe.
44373         (__libc_pvalloc): Add memory_pvalloc_retry probe.
44374         (__libc_calloc): Add memory_calloc_retry probe.
44375         * manual/probes.texi: Document them.
44377         * malloc/arena.c (get_free_list): Add probe
44378         memory_arena_reuse_free_list.
44379         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
44380         and memory_arena_reuse.
44381         (arena_get2) [!PER_THREAD]: Likewise.
44382         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
44383         memory_arena_reuse_realloc.
44384         * manual/probes.texi: Document them.
44386         * malloc/malloc.c (__libc_free): Add
44387         memory_mallopt_free_dyn_thresholds probe.
44388         (__libc_mallopt): Add multiple memory_mallopt probes.
44389         * manual/probes.texi: Document them.
44391         * malloc/malloc.c: Include stap-probe.h.
44392         (__libc_mallopt): Add memory_mallopt probe.
44393         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
44394         * manual/probes.texi: New.
44395         * manual/Makefile (chapters): Add probes.
44396         * manual/threads.texi: Set next node.
44398 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
44400         [BZ #15963, #13985]
44401         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
44402         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
44403         Add `Chinese' to `nan' entry name.
44405 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
44407         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
44408         (POLYNOMIAL): Likewise.
44409         (TAYLOR_SINCOS): Likewise.
44410         (TAYLOR_SLOW): Likewise.
44411         (__sin): Use TAYLOR_SINCOS.
44412         (__cos): Likewise.
44413         (slow): Use TAYLOR_SLOW.
44414         (sloww): Likewise.
44415         (bsloww): Likewise.
44416         (csloww): Likewise.
44418 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44420         * stdlib/strtod_l.c: Fix buffer overrun.
44422 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
44424         * benchtests/Makefile (bench): Add sincos.
44425         * benchtests/bench-sincos.c: New file.
44427         * math/libm-test.inc (cos_test_data): New test inputs.
44428         (sin_test_data): Likewise.
44430         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
44431         macro.
44432         (__sin): Use it.
44433         (__cos): Likewise.
44434         (slow1): Likewise.
44435         (slow2): Likewise.
44436         (sloww1): Likewise.
44437         (sloww2): Likewise.
44438         (bsloww1): Likewise.
44439         (bsloww2): Likewise.
44440         (cslow2): Likewise.
44441         (csloww1): Likewise.
44442         (csloww2): Likewise.
44444         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
44445         function.
44446         (__sin): Use it.
44447         (__cos): Likewise.
44449         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
44450         gotos.
44451         (__cos): Likewise.
44453 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
44455         * config.h.in (HAVE_MIPS_NAN2008): New macro.
44456         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
44457         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
44458         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
44459         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
44460         * elf/cache.c (print_entry): Handle the new cache flags.
44462 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
44463             Aldy Hernandez  <aldyh@redhat.com>
44465         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
44466         Change condition to [_SOFT_FLOAT].
44467         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
44468         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
44469         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
44470         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
44471         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
44472         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
44473         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
44474         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
44475         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
44476         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
44477         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
44478         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
44479         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
44480         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
44481         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
44482         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
44483         declaration.
44485 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
44487         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
44488         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
44489         (__longjmp): Use LOAD_GP to load saved GPRs.
44490         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
44491         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
44492         (__sigsetjmp): Use SAVE_GP to save GPRs.
44494         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
44495         Do not append -msoft-float.
44496         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
44498 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
44500         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
44502 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
44504         [BZ #15966]
44505         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
44506         (_FPU_GETCW): Use initial "__" on variable and field names but not
44507         on macro parameter name.
44508         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
44509         parentheses around reference to macro parameter.
44511 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
44513         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
44514         prototype.
44515         (ctype_startup): Use uint32_t in cast and sizeof for
44516         ctype->charnames.
44518 2013-09-11  Jia Liu  <proljc@gmail.com>
44520         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
44521         __daddr_t_defined.
44522         [__FreeBSD__]: Likewise.
44524 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
44526         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
44527         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
44528         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
44529         (strchr): Remove __strchr_sse42 ifunc selection.
44530         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
44531         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
44533 2013-09-11  Will Newton  <will.newton@linaro.org>
44535         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
44536         parameter to RES. Remove hardcoded 1000 value.
44537         * benchtests/bench-skeleton.c (main): Pass RES parameter
44538         to TIMING_INIT and multiply result by 1000.
44540 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44542         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44544 2013-09-11  Andreas Schwab  <schwab@suse.de>
44546         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
44547         if not defined.
44548         (O_TMPFILE) [__USE_GNU]: Define.
44549         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
44550         Define.
44552 2013-09-11  Will Newton  <will.newton@linaro.org>
44554         [BZ #15857]
44555         * malloc/malloc.c (__libc_memalign): Check the value of bytes
44556         does not overflow.
44558 2013-09-11  Will Newton  <will.newton@linaro.org>
44560         [BZ #15856]
44561         * malloc/malloc.c (__libc_valloc): Check the value of bytes
44562         does not overflow.
44564 2013-09-11  Will Newton  <will.newton@linaro.org>
44566         [BZ #15855]
44567         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
44568         does not overflow.
44570 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
44572         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
44573         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44574         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
44575         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
44576         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
44578 2013-09-10  Allan McRae  <allan@archlinux.org>
44580         [BZ #15748]
44581         * manual/arith.texi (Parsing of Floats): Clarify
44582         cross-reference.
44584         [BZ #15849]
44585         * manual/install.texi (Running make install): Mention
44586         --enable-pt-chown.
44587         * INSTALL: Regenerated.
44589 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
44591         * csu/init-first.c (_init): Remove the !SHARED condition around
44592         FPU control word initialization.
44593         * elf/dl-support.c (_dl_fpu_control): New variable.
44594         (_dl_aux_init) <AT_FPUCW>: Initialize it.
44595         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
44596         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
44597         * math/test-fpucw-static.c: New file.
44598         * math/test-fpucw-ieee.c: New file.
44599         * math/test-fpucw-ieee-static.c: New file.
44600         * math/Makefile (tests): Add `test-fpucw-ieee' and
44601         `$(tests-static)'.
44602         (tests-static): New variable.
44603         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
44604         dependency to...
44605         [($(build-shared),yes)]
44606         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
44607         ... this.
44608         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
44609         New dependency.
44611 2013-09-09  Allan McRae  <allan@archlinux.org>
44613         [BZ #15939]
44614         * manual/string.texi (Collation Functions): Fix typo in
44615         strcoll example.
44616         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
44618         [BZ #15893]
44619         * stdlib/isomac.c (get_null_defines): Fix memory leak.
44621         [BZ #15892]
44622         * libio/memstream.c (open_memstream): Fix memory leak.
44623         * libio/wmemstream.c (open_wmemstream): Likewise.
44625         [BZ #15895]
44626         * nscd/netgroupcache.c: Fix nesting of ifdefs.
44628 2013-09-09  Will Newton  <will.newton@linaro.org>
44630         * malloc/Makefile: Add tst-realloc to tests.
44631         * malloc/tst-realloc.c: New file.
44633 2013-09-09  Allan McRae  <allan@archlinux.org>
44635         [BZ #15844]
44636         * COPYING: Update from GNU website to fix FSF address.
44637         * COPYING.LIB: Likewise.
44639 2013-09-06  David S. Miller  <davem@davemloft.net>
44641         * po/zh_TW.po: Update Chinese (traditional) translation from
44642         translation project.
44644 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
44645             Joseph Myers  <joseph@codesourcery.com>
44647         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
44648         "localeinfo.h".
44649         (obstack_chunk_alloc): New macro.
44650         (obstack_chunk_free): Likewise.
44651         (record_offset): New function.
44652         (init_locale_data): Likewise.
44653         (align_locale_data): Likewise.
44654         (add_locale_empty): Likewise.
44655         (add_locale_raw_data): Likewise.
44656         (add_locale_raw_obstack): Likewise.
44657         (add_locale_string): Likewise.
44658         (add_locale_wstring): Likewise.
44659         (add_locale_uint32): Likewise.
44660         (add_locale_uint32_array): Likewise.
44661         (add_locale_char): Likewise.
44662         (start_locale_structure): Likewise.
44663         (end_locale_structure): Likewise.
44664         (start_locale_prelude): Likewise.
44665         (end_locale_prelude): Likewise.
44666         (write_locale_data): Take locale_file structure rather than an
44667         iovec.
44668         * locale/programs/locfile.h: Include "obstack.h".
44669         (struct locale_file): Change to store locale file contents instead
44670         of header.
44671         (init_locale_data): New prototype.
44672         (align_locale_data): Likewise.
44673         (add_locale_empty): Likewise.
44674         (add_locale_raw_data): Likewise.
44675         (add_locale_raw_obstack): Likewise.
44676         (add_locale_string): Likewise.
44677         (add_locale_wstring): Likewise.
44678         (add_locale_uint32): Likewise.
44679         (add_locale_uint32_array): Likewise.
44680         (add_locale_char): Likewise.
44681         (start_locale_structure): Likewise.
44682         (end_locale_structure): Likewise.
44683         (start_locale_prelude): Likewise.
44684         (end_locale_prelude): Likewise.
44685         (write_locale_data): Update prototype.
44686         * locale/programs/3level.h (struct TABLE): Remove result field.
44687         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
44688         Use new locale_file interface.
44689         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
44690         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
44691         * locale/programs/ld-address.c (address_output): Use new
44692         locale_file interface.
44693         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
44694         NO_ADD_LOCALE.
44695         (collate_finish): Don't call collseq_table_finalize.
44696         (collate_output): Use new locale_file interface.
44697         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
44698         in file.
44699         (NO_FINALIZE): Change to NO_ADD_LOCALE.
44700         (TABLE): Move defines earlier in file.
44701         (ELEMENT): Likewise.
44702         (DEFAULT): Likewise.
44703         (wctrans_table_add): Move macro and inline function earlier in
44704         file.
44705         (struct wctype_table): Move type earlier in file.
44706         (add_locale_wctype_table): New static prototype.
44707         (struct locale_ctype_t): Use logical types instead of struct iovec
44708         pointers for members.
44709         (ctype_output): Use new locale_file interface.
44710         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
44711         new locale_file interface.
44712         (allocate_arrays): Update for use of new locale_file interface.
44713         * locale/programs/ld-identification.c (identification_output): Use
44714         new locale_file interface.
44715         * locale/programs/ld-measurement.c (measurement_output): Likewise.
44716         * locale/programs/ld-messages.c (messages_output): Likewise.
44717         * locale/programs/ld-monetary.c (monetary_output): Likewise.
44718         * locale/programs/ld-name.c (name_output): Likewise.
44719         * locale/programs/ld-numeric.c (numeric_output): Likewise.
44720         * locale/programs/ld-paper.c (paper_output): Likewise.
44721         * locale/programs/ld-telephone.c (telephone_output): Likewise.
44722         * locale/programs/ld-time.c (time_output): Likewise.
44724 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44726         * benchtests/Makefile: Add memrchr benchmark.
44727         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
44728         benchmark as memrchr.
44729         * benchtests/bench-memrchr-ifunc.c: New file.
44730         * benchtests/bench-memrchr.c: New file.
44732 2013-09-06   Will Newton  <will.newton@linaro.org>
44734         * benchtests/Makefile (string-bench): Add memcpy.
44736 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
44737             Cong Wang  <amwang@redhat.com>
44739         [BZ #15850]
44740         * sysdeps/unix/sysv/linux/bits/in.h
44741         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
44742         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
44743         before __USE_KERNEL_IPV6_DEFS uses.
44744         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
44745         IPPROTO_BEETPH.
44746         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
44747         sockaddr_in6, or ipv6_mreq.
44749 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44751         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
44752         memory access for final bytes in some large inputs.
44753         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
44755 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44757         * string/test-memrchr.c: New file.
44758         * string/test-memrchr-ifunc.c: New file.
44759         * string/Makefile: Add new memrchr testcase.
44761 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
44763         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
44764         fanotify_init returns EPERM.
44766 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
44768         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
44769         errors.
44770         (top level): Treat second token from macro or constant entries for
44771         allowed headers as allowed.
44772         * include/complex.h: Condition internal declarations on
44773         [!_ISOMAC].
44774         * include/fenv.h: Condition include of <stdbool.h> and internal
44775         declarations on [!_ISOMAC].
44777 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
44779         [BZ #15923]
44780         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
44782 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
44784         * configure.in (--enable-versioning): Remove configure option.
44785         (libc_cv_asm_symver_directive): Remove configure test.
44786         (libc_cv_ld_version_script_option): Likewise.
44787         (VERSIONING): Remove variable and AC_SUBST.
44788         (DO_VERSIONING): Remove AC_DEFINE.
44789         * configure: Regenerated.
44790         * config.h.in (DO_VERSIONING): Remove macro.
44791         * Makerules [$(versioning) = yes]: Change conditionals to
44792         [$(build-shared) = yes].
44793         * config.make.in (versioning): Remove variable.
44794         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
44795         [$(build-shared) = yes].
44796         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
44797         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
44798         * elf/Makefile [$(versioning) = yes]: Change conditionals to
44799         [$(build-shared) = yes].
44800         * extra-lib.mk [$(versioning) = yes]: Likewise.
44801         * hurd/Makefile [$(versioning) = yes]: Likewise.
44802         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
44803         [SHARED].
44804         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
44805         [SHARED].
44806         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
44807         [SHARED && !NO_HIDDEN].
44808         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
44809         [SHARED].
44810         [SHARED && DO_VERSIONING]: Likewise..
44811         * libio/Makefile [$(versioning) = yes]: Change conditionals to
44812         [$(build-shared) = yes].
44813         * manual/install.texi (--disable-versioning): Remove
44814         documentation.
44815         * INSTALL: Regenerated.
44816         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
44817         to [SHARED].
44818         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
44819         [$(build-shared) = yes].
44820         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
44821         * sysdeps/i386/i686/multiarch/strstr-c.c
44822         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
44823         [SHARED && !NO_HIDDEN].
44824         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
44825         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
44826         * sysdeps/powerpc/powerpc32/dl-machine.c
44827         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
44828         * sysdeps/powerpc/powerpc32/sysdep.h
44829         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
44830         to [SHARED && PIC && !NO_HIDDEN].
44831         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
44832         conditional to [SHARED].
44834 2013-09-04   Will Newton  <will.newton@linaro.org>
44836         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
44837         * benchtests/bench-string.h: Include bench-timing.h instead
44838         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
44839         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
44840         call to HP_TIMING_DIFF_INIT.
44841         * benchtests/bench-memccpy.c: Use bench-timing.h macros
44842         instead of hp-timing.h macros.
44843         * benchtests/bench-memchr.c: Likewise.
44844         * benchtests/bench-memcmp.c: Likewise.
44845         * benchtests/bench-memcpy.c: Likewise.
44846         * benchtests/bench-memmem.c: Likewise.
44847         * benchtests/bench-memmove.c: Likewise.
44848         * benchtests/bench-memset.c: Likewise.
44849         * benchtests/bench-rawmemchr.c: Likewise.
44850         * benchtests/bench-strcasecmp.c: Likewise.
44851         * benchtests/bench-strcasestr.c: Likewise.
44852         * benchtests/bench-strcat.c: Likewise.
44853         * benchtests/bench-strchr.c: Likewise.
44854         * benchtests/bench-strcmp.c: Likewise.
44855         * benchtests/bench-strcpy.c: Likewise.
44856         * benchtests/bench-strcpy_chk.c: Likewise.
44857         * benchtests/bench-strlen.c: Likewise.
44858         * benchtests/bench-strncasecmp.c: Likewise.
44859         * benchtests/bench-strncat.c: Likewise.
44860         * benchtests/bench-strncmp.c: Likewise.
44861         * benchtests/bench-strncpy.c: Likewise.
44862         * benchtests/bench-strnlen.c: Likewise.
44863         * benchtests/bench-strpbrk.c: Likewise.
44864         * benchtests/bench-strrchr.c: Likewise.
44865         * benchtests/bench-strspn.c: Likewise.
44866         * benchtests/bench-strstr.c: Likewise.
44868 2013-09-04  Will Newton  <will.newton@linaro.org>
44870         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
44872 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
44874         [BZ #15427]
44875         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
44876         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
44877         * math/libm-test.inc (lgamma_test_data): Add more tests.
44878         * sysdeps/i386/fpu/libm-test-ulps: Update.
44879         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44881 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
44883         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
44884         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
44885         Add ifunc.
44886         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
44887         Add strcmp-sse2-unaligned
44888         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
44890 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
44892         * Versions.def (libc): Add GLIBC_2.19.
44894 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
44896         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
44897         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
44899 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
44901         [BZ #14155]
44902         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
44903         intermediate calculations in recurrence.
44904         (__ieee754_ynf): Likewise.
44905         * math/libm-test.inc (jn_test_data): Do not allow spurious
44906         underflow exception.  Add more tests.
44907         (yn_test_data): Add more tests.
44908         * sysdeps/i386/fpu/libm-test-ulps: Update.
44909         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44911 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
44913         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
44915 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
44917         * csu/init-first.c: Fix then/than typos.
44918         * locale/programs/ld-collate.c: Likewise.
44919         * locale/programs/linereader.h: Likewise.
44920         * manual/charset.texi: Likewise.
44921         * manual/filesys.texi: Likewise.
44922         * manual/stdio.texi: Likewise.
44923         * manual/string.texi: Likewise.
44924         * stdlib/fmtmsg.c: Likewise.
44925         * sysdeps/i386/stpncpy.S: Likewise.
44926         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
44927         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
44928         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
44929         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
44931 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
44933         * elf/dl-open.c: Fix typos.
44934         * iconvdata/gbbig5.c: Likewise.
44935         * iconvdata/iso-2022-jp.c: Likewise.
44936         * iconv/gconv_int.h: Likewise.
44937         * iconv/loop.c: Likewise.
44938         * nis/rpcsvc/nis.h: Likewise.
44939         * resolv/ns_name.c: Likewise.
44940         * stdio-common/vfscanf.c: Likewise.
44941         * streams/stropts.h: Likewise.
44942         * sunrpc/rpc_thread.c: Likewise.
44943         * sysdeps/i386/strpbrk.S: Likewise.
44944         * sysdeps/ieee754/k_standard.c: Likewise.
44945         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
44946         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
44947         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
44948         * sysdeps/mach/hurd/profil.c: Likewise.
44949         * sysdeps/s390/dl-procinfo.h: Likewise.
44950         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
44951         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
44952         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
44953         * sysdeps/x86_64/dl-trampoline.S: Likewise.
44954         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
44956 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
44958         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
44959         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
44961 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
44963         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
44964         aix specific files.
44965         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
44966         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
44967         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
44968         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
44969         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
44970         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
44971         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
44972         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
44974 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
44975             Roland McGrath  <roland@hack.frob.com>
44977         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
44978         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
44980 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44982         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
44983         __executable_start symbol instead of _start.
44985 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
44987         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
44988         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
44989         Move macros to...
44990         * sysdeps/gnu/ldsodefs.h: ... this new file.
44992         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
44993         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
44994         instead of ELFOSABI_LINUX.
44996         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
44997         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
44998         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
44999         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
45000         Likewise.
45001         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
45002         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
45003         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
45004         Likewise.
45005         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
45006         (ibm_extended_long_double): Add ieee_nan member.
45007         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
45008         (do_test): New function.
45010         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
45011         TEST_TRUNC.
45012         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
45013         functions, renamed from truncdfsf_test, trunctfsf_test,
45014         trunctfdf_test.
45015         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
45016         functions.
45017         (do_test): Run all these.
45019 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
45021         * argp/argp-help.c: Fix typos.
45022         * argp/argp-parse.c: Likewise.
45023         * debug/backtracesyms.c: Likewise.
45024         * elf/elf.h: Likewise.
45025         * malloc/malloc.c: Likewise.
45026         * nis/nis_print.c: Likewise.
45027         * resolv/res_comp.c: Likewise.
45028         * stdlib/stdlib.h: Likewise.
45029         * sunrpc/clnt_tcp.c: Likewise.
45030         * sunrpc/clnt_udp.c: Likewise.
45031         * sunrpc/clnt_unix.c: Likewise.
45032         * sysdeps/unix/bsd/ptsname.c: Likewise.
45033         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
45034         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
45035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
45036         Likewise.
45037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
45038         Likewise.
45039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
45040         Likewise.
45041         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
45043 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45045         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
45046         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
45048 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
45050         [BZ #15897]
45051         * dlfcn/Makefile (tests): Add bug-dl-leaf.
45052         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
45053         ($(objpfx)bug-dl-leaf): New rule.
45054         ($(objpfx)bug-dl-leaf.so): Likewise.
45055         ($(objpfx)bug-dl-leaf.out): Likewise.
45056         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
45057         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
45058         * dlfcn/bug-dl-leaf.c: New test.
45059         * dlfcn/bug-dl-leaf-lib.c: Likewise.
45060         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
45061         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
45062         (dlclose): Likewise.
45063         (dlmopen): Likewise.
45065 2013-08-27  Roland McGrath  <roland@hack.frob.com>
45067         * include/netdb.h [!_ISOMAC]:
45068         Don't include <tls.h>.
45069         (h_errno, __libc_h_errno): Move declaration and macros out of
45070         [_LIBC_REENTRANT].
45072         * include/resolv.h [_RESOLV_H_]:
45073         Don't include <tls.h>.
45074         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
45075         * resolv/res_libc.c: Don't include <tls.h>.
45076         (_res): Use __attribute__ ((nocommon)) in place of
45077         __attribute__ ((section (".bss"))).
45079         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
45080         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
45082         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
45084         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
45085         only under [SIOCGIFCONF && SIOCGIFNETMASK].
45087         * resolv/res_mkquery.c: Include <sys/time.h>.
45089         * inet/ifreq.c: Moved to ...
45090         * sysdeps/unix/ifreq.c: ... here.
45091         * inet/ifreq.c: New file, true stub version.
45093         * socket/sa_len.c: New file.
45094         * socket/Makefile (aux): Add it.
45095         * sysdeps/unix/sysv/linux/Makefile
45096         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
45097         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
45098         and #include <socket/sa_len.c>.
45099         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
45100         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
45102         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
45103         * bits/socket.h: ... here.
45105         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
45106         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
45107         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
45109 2013-08-27  Andreas Schwab  <schwab@suse.de>
45111         [BZ #15736]
45112         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
45113         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
45114         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
45115         * string/test-strcasecmp.c (test_main): Run tests in several
45116         locales.
45117         * string/test-strncasecmp.c (test_main): Likewise.
45119         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
45120         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
45121         to __strcasecmp_nonascii and __strncasecmp_nonascii.
45122         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
45123         (__strncasecmp_ssse3) [PIC]: Likewise.
45125 2013-08-26  Roland McGrath  <roland@hack.frob.com>
45127         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
45129         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
45130         instead of explicitly declaring xdecrypt.
45131         * nis/nss_nis/nis-publickey.c: Likewise.
45133 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45135         [BZ #15890]
45136         * nscd/aicache.c: Include res_hconf.h.
45137         (addhstaiX): Initialize res_hconf.
45139 2013-08-26  Andreas Schwab  <schwab@suse.de>
45141         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
45142         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
45144 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45146         * nscd/aicache.c (addhstaiX): Fix indentation.
45148 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
45150         * configure.ac: Quote $build_pt_chown test.
45151         * configure: Regenerated.
45153 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
45155         [BZ #15532]
45156         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
45157         * math/s_cexpf.c (__cexpf): Likewise.
45158         * math/s_cexpl.c (__cexpl): Likewise.
45159         * math/libm-test.inc (cexp_test_data): Correct expected return
45160         value for NaN + i0.  Add another test.
45162 2013-08-22  David S. Miller  <davem@davemloft.net>
45164         * po/ca.po: Update Catalan translation from translation project.
45165         * po/uk.po: Add Ukrainian translations from translation project.
45167 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
45169         [BZ #15797]
45170         * math/s_fdim.c (__fdim): Check for infinite arguments if result
45171         is infinite, not alongside NaN test.
45172         * math/s_fdimf.c (__fdimf): Likewise.
45173         * math/s_fdiml.c (__fdiml): Likewise.
45174         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
45175         errno is unchanged.
45177 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
45179         * argp/argp-help.c: Fix typos.
45180         * crypt/speeds.c: Likewise.
45181         * csu/check_fds.c: Likewise.
45182         * elf/dl-load.c: Likewise.
45183         * elf/dl-open.c: Likewise.
45184         * elf/reldep3.c: Likewise.
45185         * elf/reldep.c: Likewise.
45186         * elf/sprof.c: Likewise.
45187         * iconv/iconv_charmap.c: Likewise.
45188         * iconv/skeleton.c: Likewise.
45189         * iconv/strtab.c: Likewise.
45190         * io/lockf64.c: Likewise.
45191         * libio/libioP.h: Likewise.
45192         * resolv/gai_notify.c: Likewise.
45193         * resolv/ns_name.c: Likewise.
45194         * resolv/ns_samedomain.c: Likewise.
45195         * resolv/res_send.c: Likewise.
45196         * stdlib/random.c: Likewise.
45197         * sunrpc/rpc/xdr.h: Likewise.
45198         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
45199         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
45200         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
45201         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
45202         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
45203         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
45204         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
45205         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
45206         * sysdeps/mach/hurd/check_fds.c: Likewise.
45207         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
45208         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
45209         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
45210         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
45211         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
45212         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
45213         * sysdeps/pthread/aio_notify.c: Likewise.
45214         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
45215         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
45216         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
45217         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
45218         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
45220 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45222         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
45223         version if bit_Slow_SSE4_2 is set.
45224         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
45225         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
45227 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45229         [BZ #15867]
45230         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
45231         trampoline stack frame information.
45232         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
45233         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
45234         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
45235         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
45236         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
45237         * sysdeps/unix/sysv/linux/powerpc/init-first.c
45238         (_libc_vdso_platform_setup): Initialize the signal trampolines.
45239         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
45240         sa_flags value.
45241         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
45242         interrupting a syscall and set with option SA_SIGINFO.
45244 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
45246         [BZ #15531]
45247         * math/s_cproj.c (__cproj): Only return an infinity if one part of
45248         argument is infinite.
45249         * math/s_cprojf.c (__cprojf): Likewise.
45250         * math/s_cprojl.c (__cprojl): Likewise.
45251         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
45252         * math/libm-test.inc (cproj_test_data): Add more tests.
45254         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
45256         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
45257         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
45258         size.  Use __ffs to determine corresponding shift.
45260 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
45261             Roland McGrath  <roland@hack.frob.com>
45263         * Makefile (INSTALL): Remove trailing blank lines from output of
45264         makeinfo.
45266 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45268         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
45269         Align 32 bit compat elf_greg to 8 bytes.
45271 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
45273         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
45275 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
45277         * string/strcoll_l.c (coll_seq): New structure.
45278         (get_next_seq_cached): New function.
45279         (get_next_seq): New function.
45280         (do_compare): New function.
45281         (STRCOLL): Use GNU style definition.  Simplify implementation
45282         by using get_next_seq, get_next_seq_cached and do_compare.
45284 2013-08-16  Florian Weimer  <fweimer@redhat.com>
45286         [BZ #14699]
45287         CVE-2013-4237
45288         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
45289         member.
45290         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
45291         member.
45292         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
45293         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
45294         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
45295         conditional.
45296         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
45297         GETDENTS_64BIT_ALIGNED.
45298         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
45299         * manual/filesys.texi (Reading/Closing Directory): Document
45300         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
45301         strongly.
45302         * manual/conf.texi (Limits for Files): Add portability note to
45303         NAME_MAX, PATH_MAX.
45304         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
45306 2013-08-13  Andreas Schwab  <schwab@suse.de>
45308         [BZ #15749]
45309         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
45310         of fabs.
45311         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
45312         LDBL_MAX_EXP >= 16384]: Add tests for it.
45314 2013-08-12  David S. Miller  <davem@davemloft.net>
45316         * version.h (RELEASE): Set to "development".
45317         (VERSION): Set to "2.18.90".
45318         * NEWS: Add 2.19 section.
45320 2013-08-03  David S. Miller  <davem@davemloft.net>
45322         * po/ko.po: Update Korean translation from translation project.
45324 2013-08-01  David S. Miller  <davem@davemloft.net>
45326         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
45327         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
45328         Bilka.
45330 2013-07-30  David S. Miller  <davem@davemloft.net>
45332         * po/fr.po: Update French translation from translation project.
45334 2013-07-28  David S. Miller  <davem@davemloft.net>
45336         * po/cs.po: Update Czech translation from translation project.
45338         * po/sv.po: Update Swedish translation from translation project.
45340 2013-07-27  David S. Miller  <davem@davemloft.net>
45342         * po/eo.po: Update Esperanto translation from translation project.
45344         * po/vi.po: Update Vietnamese translation from translation project.
45346         * po/de.po: Update German translation from translation project.
45348 2013-07-26  David S. Miller  <davem@davemloft.net>
45350         * po/bg.po: Update Bulgarian translation from translation project.
45352         * po/nl.po: Update Dutch translation from translation project.
45353         * po/pl.po: Update Polish translation from translation project.
45354         * po/ru.po: Update Russian translation from translation project.
45356 2013-07-24  David S. Miller  <davem@davemloft.net>
45358         * po/libc.pot: Update.
45360 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45362         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
45363         variable page size.
45364         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
45365         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
45366         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
45368 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45370         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
45372 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
45373             Andreas Schwab  <schwab@suse.de>
45374             Roland McGrath  <roland@hack.frob.com>
45375             Joseph Myers  <joseph@codesourcery.com>
45376             Carlos O'Donell  <carlos@redhat.com>
45378         [BZ #15755]
45379         * config.h.in: Define HAVE_PT_CHOWN.
45380         * config.make.in (build-pt-chown): New variable.
45381         * configure.in (--enable-pt_chown): New configure option.
45382         * configure: Regenerate.
45383         * login/Makefile: Include Makeconfig.  Build pt_chown only if
45384         build-pt-chown is enabled.
45385         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
45386         pt_chown to fix pty ownership.
45387         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
45388         CLOSE_ALL_FDS.
45389         * manual/install.texi (Configuring and compiling): Mention
45390         --enable-pt_chown. Add @findex for grantpt.
45391         * INSTALL: Regenerate.
45393 2013-07-20  David S. Miller  <davem@davemloft.net>
45395         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
45396         difference between 32-bit and 64-bit.
45398 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
45400         [BZ #15711]
45401         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
45402         Avoid system header dependency with -ffreestanding.
45403         ($(objpfx)bits/syscall%d): Likewise.
45405 2013-07-13  David S. Miller  <davem@davemloft.net>
45407         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
45408         underflows from atanl/atan2l due to bug 15319.
45409         (casinh_test_data): Likewise.
45411 2013-07-07  David S. Miller  <davem@davemloft.net>
45413         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
45415 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
45417         * sysdeps/i386/fpu/libm-test-ulps: Update.
45418         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45420 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
45422         * configure.in (--enable-lock-elision): Fix message text.
45423         * INSTALL: Regenerate.
45424         * configure: Regenerate.
45426 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45428         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45430 2013-07-03  Andreas Jaeger  <aj@suse.de>
45432         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
45433         define.
45434         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
45435         (ptrace_peeksiginfo_args): Add.
45436         (__ptrace_peeksiginfo_flags): Add.
45437         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45438         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45439         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45441 2013-07-03  Allan McRae  <allan@archlinux.org>
45443         * sysdeps/i386/fpu/libm-test-ulps: Update.
45445 2013-07-02  David S. Miller  <davem@davemloft.net>
45447         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45449 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
45451         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45453 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
45455         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
45456         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45458 2013-07-02  Andi Kleen <ak@linux.intel.com>
45460         * config.h.in (ENABLE_LOCK_ELISION): Add.
45461         * configure.in (--enable-lock-elision): Add option.
45462         * manual/install.texi: Document --enable lock elision.
45463         * configure: Regenerate
45464         * INSTALL: Regenerate.
45466 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
45468         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
45469         SSE4.2 strcasecmp for libc.a.
45470         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
45472 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
45474         [BZ #13304]
45475         * soft-fp/op-common.h (_FP_FMA): New macro.
45476         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
45477         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
45478         (_FP_MUL_MEAT_1_imm): ... here.
45479         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
45480         (_FP_MUL_MEAT_1_wide): ... here.
45481         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
45482         (_FP_MUL_MEAT_1_hard): ... here.
45483         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
45484         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
45485         (_FP_MUL_MEAT_2_wide): ... here.
45486         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
45487         (_FP_MUL_MEAT_2_wide_3mul): ... here.
45488         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
45489         (_FP_MUL_MEAT_2_gmp): ... here.
45490         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
45491         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
45492         (_FP_MUL_MEAT_4_wide): ... here.
45493         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
45494         (_FP_MUL_MEAT_4_gmp): ... here.
45495         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
45496         (_FP_WFRACBITS_DW_S): Likewise.
45497         (_FP_WFRACXBITS_DW_S): Likewise.
45498         (_FP_HIGHBIT_DW_S): Likewise.
45499         (FP_FMA_S): Likewise.
45500         (_FP_FRAC_HIGH_DW_S): Likewise.
45501         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
45502         (_FP_WFRACBITS_DW_D): Likewise.
45503         (_FP_WFRACXBITS_DW_D): Likewise.
45504         (_FP_HIGHBIT_DW_D): Likewise.
45505         (FP_FMA_D): Likewise.
45506         (_FP_FRAC_HIGH_DW_D): Likewise.
45507         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
45508         (_FP_WFRACBITS_DW_E): Likewise.
45509         (_FP_WFRACXBITS_DW_E): Likewise.
45510         (_FP_HIGHBIT_DW_E): Likewise.
45511         (FP_FMA_E): Likewise.
45512         (_FP_FRAC_HIGH_DW_E): Likewise.
45513         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
45514         (_FP_WFRACBITS_DW_Q): Likewise.
45515         (_FP_WFRACXBITS_DW_Q): Likewise.
45516         (_FP_HIGHBIT_DW_Q): Likewise.
45517         (FP_FMA_Q): Likewise.
45518         (_FP_FRAC_HIGH_DW_Q): Likewise.
45519         * soft-fp/fmasf4.c: New file.
45520         * soft-fp/fmadf4.c: Likewise.
45521         * soft-fp/fmatf4.c: Likewise.
45523 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45525         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
45526         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
45527         Silvermont.
45528         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
45529         macro.
45530         (index_Slow_SSE4_2): Likewise.
45531         (index_Prefer_PMINUB_for_stringop): Likewise.
45532         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
45533         bit_Slow_SSE4_2 is set.
45534         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
45535         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
45537 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
45539         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
45540         rtld_global._dl_hwcap2.
45541         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
45542         POWER8.
45543         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
45544         POWER8 feature descriptions defined in _dl_hwcap2.
45545         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
45546         string handling for POWER8 feature bits.
45547         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
45548         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
45549         _dl_powerpc_cap_flags.
45550         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
45551         * sysdeps/powerpc/rtld-global-offsets.sym
45552         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
45553         _dl_hwcap2 in the rtld_global_ro structure.
45555 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
45557         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
45558         hardware capabilities in support of AT_HWCAP2.
45559         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
45560         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
45561         GLRO(dl_hwcap2).
45562         (_dl_show_auxv): Add support for calling _dl_procinfo to display
45563         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
45564         explicitly the unknown a_type display mechanism is used.
45565         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
45566         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
45567         struct member.
45568         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
45569         to macro prototype for AT_HWCAP2 support.
45570         * sysdeps/i386/dl-procinfo.h: Likewise.
45571         * sysdeps/s390/dl-procinfo.h: Likewise.
45572         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
45573         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
45574         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
45575         return -1 for unknown a_type display fallback.
45576         * sysdeps/sparc/dl-procinfo.h: Likewise.
45577         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
45578         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
45580 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
45582         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
45583         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
45585 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
45587         [BZ #12492]
45588         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
45589         mprotect making __stack_prot writable.
45591 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
45592             Joseph Myers  <joseph@codesourcery.com>
45594         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
45595         as being properly aligned.
45597 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
45599         * dlfcn/modstatic5.c: New file.
45600         * dlfcn/tststatic5.c: New file.
45601         * dlfcn/Makefile (tests): Add tststatic5.
45602         (tests-static): Likewise.
45603         (modules-names): Add modstatic5.
45604         (tststatic5-ENV): New variable.
45605         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
45607         [BZ #15022]
45608         * elf/dl-support.c (_dl_main_map): New variable.
45609         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
45610         (_dl_nns, _dl_load_adds): Set to 1.
45611         (_dl_initial_searchlist): Refer to _dl_main_map.
45612         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
45613         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
45614         call to _dl_get_origin.
45615         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
45616         around call_map.
45617         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
45618         * dlfcn/modstatic3.c: New file.
45619         * dlfcn/tststatic3.c: New file.
45620         * dlfcn/tststatic4.c: New file.
45621         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
45622         (tests-static): Likewise.
45623         (modules-names): Add modstatic3.
45624         (tststatic3-ENV, tststatic4-ENV): New variables.
45625         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
45626         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
45628 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
45630         * configure.in (CC): Require GCC version 4.4 or later.
45631         * configure: Regenerated.
45632         * manual/install.texi (Tools for Compilation): Update GCC version
45633         requirement.
45634         * INSTALL: Regenerated.
45636 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45638         [BZ #15674]
45639         * string/test-memcmp.c (check2): New.
45640         (main): Call check2.
45642         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
45644 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
45646         [BZ #15022]
45647         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
45648         over to...
45649         (dl_open_worker) [!SHARED]: ... here.
45651 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
45653         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
45655 2013-06-25  Richard Henderson  <rth@redhat.com>
45657         * locale/programs/locarchive.c: Include <libc-internal.h>
45659 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
45661         * manual/texinfo.tex: Update to version 2013-06-21.17, with
45662         trailing whitespace removed.
45664 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
45666         [BZ #10283]
45667         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
45668         * locale/programs/locarchive.c: Include libc-mmap.h.
45669         (prepare_address_space): Take two new outputs (the mmap base and len).
45670         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
45671         values.
45672         (create_archive): Declare new mmap base and len values for
45673         prepare_address_space, and store the result in ah.
45674         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
45675         (enlarge_archive): If ah->mmap_base is not NULL, use that and
45676         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
45677         Declare new mmap base and len values for
45678         prepare_address_space, and store the result in new_ah.
45679         (open_archive): Declare new mmap base and len values for
45680         prepare_address_space, and store the result in ah.
45681         (close_archive): If ah->mmap_base is not NULL, use that and
45682         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
45683         * sysdeps/generic/libc-mmap.h: New file.
45685 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
45687         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
45688         (ALIGN_UP): Likewise.
45689         (PTR_ALIGN_DOWN): Likewise.
45690         (PTR_ALIGN_UP): Likewise.
45692 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
45694         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
45695         entry mapped to PPC_PLATFORM_POWER8.
45696         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
45697         POWER8.
45698         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
45699         (_dl_string_platform): Add case for exporting platform position for
45700         POWER8.
45701         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
45702         search path to sysdeps/powerpc/powerpc32/power8 directory.
45703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
45704         search path to sysdeps/powerpc/powerpc64/power8 directory.
45705         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
45706         power7 directories.
45707         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
45708         power7 directories.
45710 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
45712         * INSTALL: Regenerate.
45714         * nscd/connections.c (nscd_init): Fix comment.
45716 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
45718         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
45720         [BZ #15667]
45721         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
45722         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
45724 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
45726         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
45727         DL_DST_REQ_STATIC.
45728         (DL_DST_REQ_STATIC): Remove macro.
45730 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
45732         [BZ #7006]
45733         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
45734         with a shift of 0 bits.
45736 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
45738         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
45739         $(tststatic-ENV).
45741 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45743         [BZ #15655]
45744         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
45746 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45748         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
45749         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
45750         accepts -fno-tree-loop-distribute-patterns.
45751         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
45752         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
45753         recursive call.
45754         * string/memset.c (memset): Likewise.
45755         * string/test-memmove.c (simple_memmove): Disable loop transformation
45756         to library calls.
45757         * string/test-memset.c (simple_memset): Likewise.
45758         * benchtests/bench-memmove.c (simple_memmove): Likewise.
45759         * benchtests/bench-memset.c (simple_memset): Likewise.
45760         * configure: Regenerated.
45762 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
45764         * math/test-misc.c (main): Ignore fesetround failure when failures
45765         of subsequent rounding tests would be ignored.
45767         [BZ #15654]
45768         * math/fedisblxcpt.c (fedisableexcept): Return 0.
45769         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
45770         * math/fegetenv.c (__fegetenv): Return 0.
45771         * math/fegetexcept.c (fegetexcept): Return 0.
45772         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
45773         FE_TONEAREST.
45774         * math/feholdexcpt.c (feholdexcept): Return 0.
45775         * math/fesetenv.c (__fesetenv): Return 0.
45776         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
45777         argument FE_TONEAREST.
45778         * math/feupdateenv.c (__feupdateenv): Return 0.
45779         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
45781 2013-06-18  Roland McGrath  <roland@hack.frob.com>
45783         * elf/rtld-Rules (rtld-compile-command.S): New variable.
45784         (rtld-compile-command.s, rtld-compile-command.c): New variables.
45785         ($(objpfx)rtld-%.os rules): Use them.
45787 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45789         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
45790         fields.
45792 2013-06-17  Roland McGrath  <roland@hack.frob.com>
45794         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
45795         length of target pattern, then descending length of dependency pattern.
45796         * configure.in (AWK): Require gawk 3.1.2 or newer.
45797         * manual/install.texi (Tools for Compilation): Say that we do.
45798         * configure: Regenerated.
45800         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
45801         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
45802         * scripts/sysd-rules.awk: ... this new script.
45803         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
45804         than a glob-style pattern.
45806 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
45808         * math/test-misc.c (main): Do not treat incorrectly rounded
45809         conversions as failure unless ROUNDING_TESTS passes.
45811 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
45813         [BZ #15631]
45814         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
45815         restore exception state around main square root computation, then
45816         check for inexactness explicitly.
45818         * math/libm-test.inc (fma_test_data): Add another test.
45820 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
45822         * manual/threads.texi (Non-POSIX Extensions): New document
45823         node.  Document pthread_getattr_default_np and
45824         pthread_setattr_default_np.
45826         * Versions.def (libpthread): Add GLIBC_2.18.
45827         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
45828         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
45829         Likewise.
45830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
45831         Likewise.
45832         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
45833         Likewise.
45834         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
45835         Likewise.
45836         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
45837         Likewise.
45838         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
45839         Likewise.
45840         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
45841         Likewise.
45842         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
45843         Likewise.
45844         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
45845         Likewise.
45847 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45849         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45850         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
45852 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
45853             H.J. Lu  <hjl.tools@gmail.com>
45855         [BZ #15627]
45856         * sysdeps/x86_64/rtld-memset.c: Remove file.
45857         * sysdeps/x86_64/rtld-memset.S: New file.
45859 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
45861         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
45862         (test_in_one_mode): Take arguments for whether the rounding mode
45863         is supported for each floating-point type.
45864         (do_test): Pass new arguments to test_in_one_mode using
45865         ROUNDING_TESTS.
45867 2013-06-13  Roland McGrath  <roland@hack.frob.com>
45869         * posix/tst-waitid.c (do_test): Distinguish different instances of
45870         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
45871         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
45872         before entering the kernel for waitpid.
45874 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
45876         * NEWS: Fix note on clock function precision.  Text by Roland
45877         McGrath.
45879 2013-06-13  Roland McGrath  <roland@hack.frob.com>
45881         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
45882         it into place only when and if the sanity check passes.
45884 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
45886         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
45887         output for whether conversion result is exact.  Take argument
45888         indicating whether type is IBM long double.
45889         (round_for_all): Change need_exact field to ibm_ld.
45890         * stdlib/tst-strtod-round.c (struct exactness): New type.
45891         (struct test): Change bool ld_ok field to struct exactness exact.
45892         (TEST): Update all definitions for change to field.
45893         (tests): Regenerate array contents.
45894         (test_in_one_mode): Take pointer to new field instead of old ld_ok
45895         field value.  Check for IBM long double here.
45896         (do_test): Update calls to test_in_one_mode.
45898 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
45900         [BZ #12515]
45901         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
45902         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
45904 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45906         [BZ #15605]
45907         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
45908         generated by the compiler on loop optimizations.
45909         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
45910         general definitions.
45912 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
45914         * math/bug-nextafter.c: Include <math-tests.h>.
45915         (main): Only test for exceptions if EXCEPTION_TESTS is true for
45916         the relevant type.
45917         * math/bug-nexttoward.c: Include <math-tests.h>.
45918         (main): Only test for exceptions if EXCEPTION_TESTS is true for
45919         the relevant type.
45920         * math/test-misc.c: Include <math-tests.h>.
45921         (main): Only test for exceptions if EXCEPTION_TESTS is true for
45922         the relevant type.
45924 2013-06-12  Andreas Jaeger  <aj@suse.de>
45926         * po/ia.po: Update Interlingua translation from translation
45927         project.
45929 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
45931         * include/fenv.h: Include stdbool.h.
45932         (struct rm_ctx): New structure.
45933         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
45934         Define macro.
45935         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
45936         (SET_RESTORE_ROUNDF): Likewise.
45937         (SET_RESTORE_ROUNDL): Likewise.
45938         (SET_RESTORE_ROUND_NOEX): Likewise.
45939         (SET_RESTORE_ROUND_NOEXF): Likewise.
45940         (SET_RESTORE_ROUND_NOEXL): Likewise.
45941         (SET_RESTORE_ROUND_53BIT): Likewise.
45942         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
45943         (libc_feresetround_noexf_ctx): Likewise.
45944         (libc_feresetround_noexl_ctx): Likewise.
45945         (libc_feholdsetround_53bit_ctx): Likewise.
45946         (libc_feresetround_53bit_ctx): Likewise.
45947         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
45948         (libc_feholdexcept_setround_sse_ctx): New function.
45949         (libc_fesetenv_sse_ctx): Likewise.
45950         (libc_feupdateenv_sse_ctx): Likewise.
45951         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
45952         (libc_feholdexcept_setround_387_ctx): Likewise.
45953         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
45954         (libc_feholdsetround_387_prec_ctx): Likewise.
45955         (libc_feholdsetround_387_ctx): Likewise.
45956         (libc_feholdsetround_387_53bit_ctx): Likewise.
45957         (libc_feholdsetround_sse_ctx): Likewise.
45958         (libc_feresetround_sse_ctx): Likewise.
45959         (libc_feresetround_387_ctx): Likewise.
45960         (libc_feupdateenv_387_ctx): Likewise.
45961         (libc_feholdexcept_setroundf_ctx): Define macro.
45962         (libc_fesetenvf_ctx): Likewise.
45963         (libc_feupdateenvf_ctx): Likewise.
45964         (libc_feholdsetroundf_ctx): Likewise.
45965         (libc_feresetroundf_ctx): Likewise.
45966         (libc_feholdexcept_setround_ctx): Likewise.
45967         (libc_fesetenv_ctx): Likewise.
45968         (libc_feupdateenv_ctx): Likewise.
45969         (libc_feholdsetround_ctx): Likewise.
45970         (libc_feresetround_ctx): Likewise.
45971         (libc_feholdexcept_setroundl_ctx): Likewise.
45972         (libc_feupdateenvl_ctx): Likewise.
45973         (libc_feholdsetroundl_ctx): Likewise.
45974         (libc_feresetroundl_ctx): Likewise.
45975         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
45976         (libc_feresetround_53bit_ctx): Likewise.
45978 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
45980         * locale/iso-639.def: Convert to UTF-8.
45982 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
45984         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
45985         (EXCEPTION_TESTS_double): Likewise.
45986         (EXCEPTION_TESTS_long_double): Likewise.
45987         (EXCEPTION_TESTS): Likewise.
45988         * math/libm-test.inc (test_exceptions): Only test exceptions if
45989         EXCEPTION_TESTS (FLOAT).
45991 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
45993         * benchtests/Makefile (string-bench): Add strcpy_chk and
45994         stpcpy_chk.
45995         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
45996         * benchtests/bench-stpcpy_chk.c: New file.
45997         * benchtests/bench-strcpy_chk-ifunc.c: New file.
45998         * benchtests/bench-strcpy_chk.c: New file.
45999         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
46000         code.
46001         (do_test): Likewise.
46003 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
46005         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
46006         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
46007         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
46008         with tabs where appropriate.
46009         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
46010         dl-procinfo.h.
46011         [PPC_PLATFORM_PPC440]: Likewise.
46012         [PPC_PLATFORM_PPC464]: Likewise.
46013         [PPC_PLATFORM_PPC476]: Likewise.
46014         (_dl_string_platform): Add support for detecting ppc405, ppc440,
46015         ppc464, and ppc476 platform strings merging from ports/
46016         dl-procinfo.h.
46018 2013-06-11  Andreas Schwab  <schwab@suse.de>
46020         [BZ #14991]
46021         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
46022         (from_ucs4_idx): Regenerate.
46023         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
46024         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
46025         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
46026         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
46027         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
46028         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
46029         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
46030         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
46031         from FROM_LOOP and TO_LOOP specific macros.
46032         (BODY): Handle combining characters.
46033         * iconvdata/BIG5HKSCS.irreversible: Update.
46034         * iconvdata/BIG5HKSCS.precomposed: New file.
46035         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
46036         characters.
46037         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
46039 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
46041         * include/sys/time.h: Fix indentation and add copyright header.
46043         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
46044         (do_test): Likewise.
46045         * string/test-memchr.c (do_one_test): Likewise.
46046         (do_test): Likewise.
46047         * string/test-memcmp.c (do_one_test): Likewise.
46048         (do_test): Likewise.
46049         * string/test-memcpy.c (do_one_test): Likewise.
46050         (do_test): Likewise.
46051         * string/test-memmem.c (do_one_test): Likewise.
46052         (do_test): Likewise.
46053         (do_random_tests): Likewise.
46054         * string/test-memmove.c (do_one_test): Likewise.
46055         (do_test): Likewise.
46056         * string/test-memset.c (do_one_test): Likewise.
46057         (do_test): Likewise.
46058         * string/test-rawmemchr.c (do_one_test): Likewise.
46059         (do_test): Likewise.
46060         * string/test-strcasecmp.c (do_one_test): Likewise.
46061         (do_test): Likewise.
46062         * string/test-strcasestr.c (do_one_test): Likewise.
46063         (do_test): Likewise.
46064         * string/test-strcat.c (do_one_test): Likewise.
46065         (do_test): Likewise.
46066         * string/test-strchr.c (do_one_test): Likewise.
46067         (do_test): Likewise.
46068         * string/test-strcmp.c (do_one_test): Likewise.
46069         (do_test): Likewise.
46070         * string/test-strcpy.c (do_one_test): Likewise.
46071         (do_test): Likewise.
46072         * string/test-string.h: Likewise.
46073         (test_init): Likewise.
46074         * string/test-strlen.c (do_one_test): Likewise.
46075         (do_test): Likewise.
46076         * string/test-strncasecmp.c (do_one_test): Likewise.
46077         (do_test): Likewise.
46078         * string/test-strncat.c (do_one_test): Likewise.
46079         (do_test): Likewise.
46080         * string/test-strncmp.c (do_one_test): Likewise.
46081         (do_test_limit): Likewise.
46082         (do_test): Likewise.
46083         * string/test-strncpy.c (do_one_test): Likewise.
46084         (do_test): Likewise.
46085         * string/test-strnlen.c (do_one_test): Likewise.
46086         (do_test): Likewise.
46087         * string/test-strpbrk.c (do_one_test): Likewise.
46088         (do_test): Likewise.
46089         * string/test-strrchr.c (do_one_test): Likewise.
46090         (do_test): Likewise.
46091         * string/test-strspn.c (do_one_test): Likewise.
46092         (do_test): Likewise.
46093         * string/test-strstr.c (do_one_test): Likewise.
46094         (do_test): Likewise.
46096         * benchtests/Makefile (string-bench): Add string benchmarks.
46097         * benchtests/bench-bcopy-ifunc.c: New file.
46098         * benchtests/bench-bcopy.c: New file.
46099         * benchtests/bench-bzero-ifunc.c: New file.
46100         * benchtests/bench-bzero.c: New file.
46101         * benchtests/bench-memccpy-ifunc.c: New file.
46102         * benchtests/bench-memccpy.c: New file.
46103         * benchtests/bench-memchr-ifunc.c: New file.
46104         * benchtests/bench-memchr.c: New file.
46105         * benchtests/bench-memcmp-ifunc.c: New file.
46106         * benchtests/bench-memcmp.c: New file.
46107         * benchtests/bench-memmem-ifunc.c: New file.
46108         * benchtests/bench-memmem.c: New file.
46109         * benchtests/bench-memmove-ifunc.c: New file.
46110         * benchtests/bench-memmove.c: New file.
46111         * benchtests/bench-mempcpy-ifunc.c: New file.
46112         * benchtests/bench-mempcpy.c: New file.
46113         * benchtests/bench-memset-ifunc.c: New file.
46114         * benchtests/bench-memset.c: New file.
46115         * benchtests/bench-rawmemchr-ifunc.c: New file.
46116         * benchtests/bench-rawmemchr.c: New file.
46117         * benchtests/bench-stpcpy-ifunc.c: New file.
46118         * benchtests/bench-stpcpy.c: New file.
46119         * benchtests/bench-stpncpy-ifunc.c: New file.
46120         * benchtests/bench-stpncpy.c: New file.
46121         * benchtests/bench-strcasecmp-ifunc.c: New file.
46122         * benchtests/bench-strcasecmp.c: New file.
46123         * benchtests/bench-strcasestr-ifunc.c: New file.
46124         * benchtests/bench-strcasestr.c: New file.
46125         * benchtests/bench-strcat-ifunc.c: New file.
46126         * benchtests/bench-strcat.c: New file.
46127         * benchtests/bench-strchr-ifunc.c: New file.
46128         * benchtests/bench-strchr.c: New file.
46129         * benchtests/bench-strchrnul-ifunc.c: New file.
46130         * benchtests/bench-strchrnul.c: New file.
46131         * benchtests/bench-strcmp-ifunc.c: New file.
46132         * benchtests/bench-strcmp.c: New file.
46133         * benchtests/bench-strcpy-ifunc.c: New file.
46134         * benchtests/bench-strcpy.c: New file.
46135         * benchtests/bench-strcspn-ifunc.c: New file.
46136         * benchtests/bench-strcspn.c: New file.
46137         * benchtests/bench-strlen-ifunc.c: New file.
46138         * benchtests/bench-strlen.c: New file.
46139         * benchtests/bench-strncasecmp-ifunc.c: New file.
46140         * benchtests/bench-strncasecmp.c: New file.
46141         * benchtests/bench-strncat-ifunc.c: New file.
46142         * benchtests/bench-strncat.c: New file.
46143         * benchtests/bench-strncmp-ifunc.c: New file.
46144         * benchtests/bench-strncmp.c: New file.
46145         * benchtests/bench-strncpy-ifunc.c: New file.
46146         * benchtests/bench-strncpy.c: New file.
46147         * benchtests/bench-strnlen-ifunc.c: New file.
46148         * benchtests/bench-strnlen.c: New file.
46149         * benchtests/bench-strpbrk-ifunc.c: New file.
46150         * benchtests/bench-strpbrk.c: New file.
46151         * benchtests/bench-strrchr-ifunc.c: New file.
46152         * benchtests/bench-strrchr.c: New file.
46153         * benchtests/bench-strspn-ifunc.c: New file.
46154         * benchtests/bench-strspn.c: New file.
46155         * benchtests/bench-strstr-ifunc.c: New file.
46156         * benchtests/bench-strstr.c: New file.
46158         * benchtests/Makefile: Disable parallel execution of targets.
46159         (string-bench): Add memcpy.
46160         (benchset): New variable to store a list of benchmark sets.
46161         (bench-func): Renamed from bench.
46162         (bench-set): New target.
46163         (bench): Depend on bench-func and bench-set.
46164         * benchtests/README: Add section on benchmark sets.
46165         * benchtests/bench-memcpy-ifunc.c: New file.
46166         * benchtests/bench-memcpy.c: New file.
46167         * benchtests/bench-string.h: New file.
46169 2013-06-11  Andreas Schwab  <schwab@suse.de>
46171         [BZ #15577]
46172         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
46173         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
46174         values in the triple.
46175         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
46176         terminator in the group key.
46178 2013-06-11  Andreas Jaeger  <aj@suse.de>
46180         * po/zh_TW.po: Update Chinese (traditional) translation from
46181         translation project.
46183 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
46185         * include/time.h (__clock_gettime): Add libc_hidden_proto.
46186         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
46187         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
46188         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
46189         (clock_getcpuclockid): Likewise.
46190         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
46191         Add weak_alias and libc_hidden_def.
46192         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
46193         * rt/clock_gettime.c (clock_gettime): Rename to
46194         __clock_gettime.  Add weak_alias and libc_hidden_def.
46195         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
46196         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
46197         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
46198         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
46199         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
46200         Likewise.
46201         * rt/clock_settime.c (clock_settime): Rename to
46202         __clock_settime.  Add weak_alias and libc_hidden_def.
46203         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
46205 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
46207         * mach/err_boot.sub: Remove trailing whitespace.
46208         * mach/err_ipc.sub: Likewise.
46209         * mach/err_mach.sub: Likewise.
46211         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
46212         (ROUNDING_TESTS_double): Likewise.
46213         (ROUNDING_TESTS_long_double): Likewise.
46214         (ROUNDING_TESTS): Likewise.
46215         * math/libm-test.inc: Include <math-tests.h>.
46216         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
46217         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
46218         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
46219         (IF_ROUND_INIT_FE_UPWARD): Likewise.
46221 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
46223         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
46224         of assigning.
46226 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
46228         * sysdeps/gnu/errlist.awk: Do not generate space at end of
46229         otherwise empty TRANS lines.
46230         * sysdeps/gnu/errlist.c: Regenerated.
46232         * catgets/gencat.c (error_print): Use (void) in function
46233         definition.
46234         * crypt/crypt_util.c (__init_des): Likewise.
46235         * crypt/speeds.c (Stop): Likewise.
46236         (main): Likewise.
46237         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
46238         * inet/ruserpass.c (token): Likewise.
46239         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
46240         * intl/localealias.c (extend_alias_table): Likewise.
46241         * intl/plural-exp.c (init_germanic_plural): Likewise.
46242         * libio/fcloseall.c (__fcloseall): Likewise.
46243         * libio/genops.c (_IO_flush_all): Likewise.
46244         (_IO_flush_all_linebuffered): Likewise.
46245         (_IO_cleanup): Likewise.
46246         (_IO_iter_begin): Likewise.
46247         (_IO_iter_end): Likewise.
46248         (_IO_list_lock): Likewise.
46249         (_IO_list_unlock): Likewise.
46250         (_IO_list_resetlock): Likewise.
46251         * libio/getchar.c (getchar): Likewise.
46252         * libio/getchar_u.c (getchar_unlocked): Likewise.
46253         * libio/getwchar.c (getwchar): Likewise.
46254         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
46255         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
46256         * login/getpt.c (__getpt): Likewise.
46257         * login/tst-utmp.c (main): Likewise.
46258         * malloc/hooks.c (__malloc_check_init): Likewise.
46259         * malloc/malloc.c (__malloc_stats): Likewise.
46260         * malloc/mtrace.c (tr_break): Likewise.
46261         (mtrace): Likewise.
46262         (muntrace): Likewise.
46263         * misc/fstab.c (endfsent): Likewise.
46264         * misc/getclktck.c (__getclktck): Likewise.
46265         * misc/getdtsz.c (__getdtablesize): Likewise.
46266         * misc/gethostid.c (gethostid): Likewise.
46267         * misc/getpagesize.c (__getpagesize): Likewise.
46268         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
46269         (__get_nprocs): Likewise.
46270         (__get_phys_pages): Likewise.
46271         (__get_avphys_pages): Likewise.
46272         * misc/getttyent.c (getttyent): Likewise.
46273         (setttyent): Likewise.
46274         (endttyent): Likewise.
46275         * misc/getusershell.c (getusershell): Likewise.
46276         (endusershell): Likewise.
46277         (setusershell): Likewise.
46278         (initshells): Likewise.
46279         * misc/hsearch.c (__hdestroy): Likewise.
46280         * misc/sync.c (sync): Likewise.
46281         * misc/syslog.c (closelog_internal): Likewise.
46282         (closelog): Likewise.
46283         * misc/ttyslot.c (ttyslot): Likewise.
46284         * misc/vhangup.c (vhangup): Likewise.
46285         * posix/fork.c (__fork): Likewise.
46286         * posix/getegid.c (__getegid): Likewise.
46287         * posix/geteuid.c (__geteuid): Likewise.
46288         * posix/getgid.c (__getgid): Likewise.
46289         * posix/getpid.c (__getpid): Likewise.
46290         * posix/getppid.c (__getppid): Likewise.
46291         * posix/getuid.c (__getuid): Likewise.
46292         * posix/pause.c (pause): Likewise.
46293         * posix/setpgrp.c (setpgrp): Likewise.
46294         * posix/setsid.c (__setsid): Likewise.
46295         * posix/test-vfork.c (noop): Likewise.
46296         * resolv/gethnamaddr.c (_endhtent): Likewise.
46297         (_gethtent): Likewise.
46298         (ht_endhostent): Likewise.
46299         (gethostent): Likewise.
46300         (dns_service): Likewise.
46301         * stdlib/drand48.c (drand48): Likewise.
46302         * stdlib/lrand48.c (lrand48): Likewise.
46303         * stdlib/mrand48.c (mrand48): Likewise.
46304         * stdlib/rand.c (rand): Likewise.
46305         * stdlib/random.c (__random): Likewise.
46306         * stdlib/setenv.c (clearenv): Likewise.
46307         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
46308         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
46309         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
46310         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
46311         (__get_nprocs): Likewise.
46312         (__get_phys_pages): Likewise.
46313         (__get_avphys_pages): Likewise.
46314         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
46315         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
46316         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
46317         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
46318         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
46319         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
46320         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
46321         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
46322         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
46323         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
46324         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
46325         * sysdeps/mach/hurd/sync.c (sync): Likewise.
46326         * sysdeps/posix/clock.c (clock): Likewise.
46327         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
46328         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
46329         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
46330         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
46331         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
46332         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
46333         (__get_nprocs_conf): Likewise.
46334         (__get_phys_pages): Likewise.
46335         (__get_avphys_pages): Likewise.
46336         * time/clock.c (clock): Likewise.
46337         * time/tzset.c (__tzname_max): Likewise.
46339 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
46341         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
46342         (__bswap_32): Do not use "register".
46343         * crypt/crypt.c (_ufc_doit_r): Likewise.
46344         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
46345         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
46346         * gmon/gmon.c (__monstartup): Likewise.
46347         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
46348         * hurd/hurdmalloc.c (more_memory): Likewise.
46349         (malloc): Likewise.
46350         (free): Likewise.
46351         (realloc): Likewise.
46352         (malloc_fork_prepare): Likewise.
46353         (malloc_fork_parent): Likewise.
46354         (malloc_fork_child): Likewise.
46355         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
46356         (_svcauth_des): Likewise.
46357         * inet/inet_lnaof.c (inet_lnaof): Likewise.
46358         * inet/inet_net.c (inet_network): Likewise.
46359         * inet/inet_netof.c (inet_netof): Likewise.
46360         * inet/rcmd.c (__validuser2_sa): Likewise.
46361         * io/fts.c (fts_open): Likewise.
46362         (fts_load): Likewise.
46363         (fts_close): Likewise.
46364         (fts_read): Likewise.
46365         (fts_children): Likewise.
46366         (fts_build): Likewise.
46367         (fts_stat): Likewise.
46368         (fts_sort): Likewise.
46369         (fts_alloc): Likewise.
46370         (fts_lfree): Likewise.
46371         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
46372         (_IO_file_xsgetn): Likewise.
46373         (_IO_file_xsgetn_mmap): Likewise.
46374         * libio/iofopncook.c (_IO_cookie_read): Likewise.
46375         (_IO_cookie_write): Likewise.
46376         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
46377         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
46378         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
46379         * malloc/obstack.c (_obstack_begin): Likewise.
46380         (_obstack_begin_1): Likewise.
46381         (_obstack_newchunk): Likewise.
46382         (_obstack_allocated_p): Likewise.
46383         (obstack_free): Likewise.
46384         (_obstack_memory_used): Likewise.
46385         * misc/getttyent.c (getttynam): Likewise.
46386         (getttyent): Likewise.
46387         (skip): Likewise.
46388         (value): Likewise.
46389         * misc/getusershell.c (initshells): Likewise.
46390         * misc/syslog.c (__vsyslog_chk): Likewise.
46391         * misc/ttyslot.c (ttyslot): Likewise.
46392         * nis/nis_hash.c (__nis_hash): Likewise.
46393         * posix/fnmatch_loop.c (FCT): Likewise.
46394         * posix/getconf.c (print_all): Likewise.
46395         (main): Likewise.
46396         * posix/getopt.c (exchange): Likewise.
46397         * posix/glob.c (globfree): Likewise.
46398         (prefix_array): Likewise.
46399         (__glob_pattern_type): Likewise.
46400         * resolv/arpa/nameser.h (NS_GET16): Likewise.
46401         (NS_GET32): Likewise.
46402         (NS_PUT16): Likewise.
46403         (NS_PUT32): Likewise.
46404         * resolv/gethnamaddr.c (getanswer): Likewise.
46405         (gethostbyname2): Likewise.
46406         (gethostbyaddr): Likewise.
46407         (_gethtent): Likewise.
46408         (_gethtbyname2): Likewise.
46409         (_gethtbyaddr): Likewise.
46410         * resolv/ns_print.c (dst_s_get_int16): Likewise.
46411         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
46412         * resolv/res_init.c (__res_vinit): Likewise.
46413         (net_mask): Likewise.
46414         * resolv/res_mkquery.c (outchar): Likewise.
46415         (PRINT): Likewise.
46416         * stdio-common/printf_fp.c (outchar): Likewise.
46417         (PRINT): Likewise.
46418         * stdio-common/printf_fphex.c (outchar): Likewise.
46419         (PRINT): Likewise.
46420         * stdio-common/printf_size.c (outchar): Likewise.
46421         (PRINT): Likewise.
46422         * stdio-common/test_rdwr.c (main): Likewise.
46423         * stdio-common/tfformat.c (matches): Likewise.
46424         * stdio-common/vfprintf.c (outchar): Likewise.
46425         (printf_unknown): Likewise.
46426         (buffered_vfprintf): Likewise.
46427         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
46428         * stdio-common/xbug.c (AppendToBuffer): Likewise.
46429         (ReadFile): Likewise.
46430         * stdlib/qsort.c (SWAP): Likewise.
46431         (_quicksort): Likewise.
46432         * stdlib/setenv.c (__add_to_environ): Likewise.
46433         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
46434         * stdlib/strtol_l.c (__strtol_l): Likewise.
46435         * stdlib/tst-strtod.c (main): Likewise.
46436         * stdlib/tst-strtol.c (main): Likewise.
46437         * stdlib/tst-strtoll.c (main): Likewise.
46438         * string/bits/string2.h (__strcmp_cc): Likewise.
46439         (__strcmp_cg): Likewise.
46440         (__strcspn_c1): Likewise.
46441         (__strcspn_c2): Likewise.
46442         (__strcspn_c3): Likewise.
46443         (__strspn_c1): Likewise.
46444         (__strspn_c2): Likewise.
46445         (__strspn_c3): Likewise.
46446         (__strsep_1c): Likewise.
46447         (__strsep_2c): Likewise.
46448         (__strsep_3c): Likewise.
46449         * string/memccpy.c (__memccpy): Likewise.
46450         * string/stpcpy.c (__stpcpy): Likewise.
46451         * string/strcmp.c (strcmp): Likewise.
46452         * string/strrchr.c (strrchr): Likewise.
46453         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
46454         Likewise.
46455         * sysdeps/mach/hurd/getcwd.c
46456         (_hurd_canonicalize_directory_name_internal): Likewise.
46457         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
46458         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
46459         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
46460         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
46461         Likewise, in both definitions.
46462         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
46463         definitions.
46464         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
46465         64] (__bswap_64): Likewise.
46466         * time/test_time.c (main): Likewise.
46467         * time/tzfile.c (__tzfile_read): Likewise.
46468         (__tzfile_compute): Likewise.
46469         * time/tzset.c (__tzset_parse_tz): Likewise.
46470         (tzset_internal): Likewise.
46471         (compute_change): Likewise.
46472         * wcsmbs/wcscat.c (__wcscat): Likewise.
46473         * wcsmbs/wcschr.c (wcschr): Likewise.
46474         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
46475         * wcsmbs/wcscspn.c (wcscspn): Likewise.
46476         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
46477         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
46478         * wcsmbs/wcsspn.c (wcsspn): Likewise.
46479         * wcsmbs/wcsstr.c (wcsstr): Likewise.
46480         * wcsmbs/wmemchr.c (wmemchr): Likewise.
46481         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
46482         * wcsmbs/wmemset.c (wmemset): Likewise.
46484 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
46486         * scripts/config.guess: Update to version 2013-05-16.
46487         * scripts/config.sub: Update to version 2013-04-24.
46488         * scripts/install-sh: Update to version 2011-11-20.07.
46489         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
46490         * scripts/move-if-change: Update to version 2012-01-06 07:23.
46492 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
46494         * debug/fgetws_u_chk.c: Fix leading whitespaces.
46495         * elf/sln.c: Likewise.
46496         * hurd/hurd/ioctl.h: Likewise.
46497         * hurd/hurdmalloc.c: Likewise.
46498         * hurd/xattr.c: Likewise.
46499         * include/shlib-compat.h: Likewise.
46500         * inet/ruserpass.c: Likewise.
46501         * libio/iofgets_u.c: Likewise.
46502         * libio/iofgetws_u.c: Likewise.
46503         * locale/programs/ld-identification.c: Likewise.
46504         * locale/programs/ld-time.c: Likewise.
46505         * mach/msg-destroy.c: Likewise.
46506         * nss/nss_files/files-netgrp.c: Likewise.
46507         * resolv/res_data.c: Likewise.
46508         * soft-fp/op-1.h: Likewise.
46509         * soft-fp/op-2.h: Likewise.
46510         * soft-fp/op-4.h: Likewise.
46511         * soft-fp/op-common.h: Likewise.
46512         * stdio-common/printf_fphex.c: Likewise.
46513         * stdlib/strtod_l.c: Likewise.
46514         * sunrpc/rpc/clnt.h: Likewise.
46515         * sysdeps/generic/framestate.c: Likewise.
46516         * sysdeps/i386/bsd-_setjmp.S: Likewise.
46517         * sysdeps/i386/bsd-setjmp.S: Likewise.
46518         * sysdeps/i386/__longjmp.S: Likewise.
46519         * sysdeps/i386/setjmp.S: Likewise.
46520         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
46521         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
46522         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
46523         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
46524         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
46525         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
46526         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
46527         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
46528         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
46529         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
46530         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
46531         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
46532         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
46533         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
46534         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
46535         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
46536         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
46537         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
46538         * sysdeps/ieee754/support.c: Likewise.
46539         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
46540         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
46541         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
46542         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
46543         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
46544         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
46545         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
46546         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
46547         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
46548         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
46549         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
46550         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
46551         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
46552         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
46553         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
46554         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
46555         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
46556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
46558 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
46560         * posix/transbug.c: Remove executable mode.
46562 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
46564         * crypt/speeds.c: Remove trailing whitespace.
46565         * dlfcn/default.c: Likewise.
46566         * elf/ifuncdep2.c: Likewise.
46567         * elf/ifuncmain1.c: Likewise.
46568         * elf/ifuncmain1vis.c: Likewise.
46569         * elf/testobj.h: Likewise.
46570         * elf/tst-stackguard1.c: Likewise.
46571         * gmon/sys/gmon.h: Likewise.
46572         * hurd/hurdmsg.c: Likewise.
46573         * hurd/new-fd.c: Likewise.
46574         * hurd/ports-get.c: Likewise.
46575         * iconvdata/ibm1008_420.c: Likewise.
46576         * inet/tst-getni1.c: Likewise.
46577         * inet/tst-getni2.c: Likewise.
46578         * libio/ioungetc.c: Likewise.
46579         * libio/wfiledoalloc.c: Likewise.
46580         * manual/libm-err-tab.pl: Likewise.
46581         * math/w_dremf.c: Likewise.
46582         * misc/ftruncate.c: Likewise.
46583         * posix/bug-glob2.c: Likewise.
46584         * posix/tst-pcre.c: Likewise.
46585         * posix/wait4.c: Likewise.
46586         * resolv/README: Likewise.
46587         * resolv/res_debug.h: Likewise.
46588         * resolv/tst-inet_ntop.c: Likewise.
46589         * setjmp/bug269-setjmp.c: Likewise.
46590         * soft-fp/extended.h: Likewise.
46591         * soft-fp/op-1.h: Likewise.
46592         * soft-fp/op-2.h: Likewise.
46593         * soft-fp/op-4.h: Likewise.
46594         * soft-fp/op-8.h: Likewise.
46595         * soft-fp/testit.c: Likewise.
46596         * stdio-common/bug16.c: Likewise.
46597         * stdlib/random.c: Likewise.
46598         * sunrpc/rpcsvc/rquota.x: Likewise.
46599         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
46600         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
46601         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
46602         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
46603         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
46604         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
46605         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
46606         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
46607         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
46608         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
46609         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
46610         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
46611         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
46612         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
46613         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
46614         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
46615         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
46616         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
46617         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
46618         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
46619         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
46620         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
46621         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
46622         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
46623         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
46624         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
46625         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
46626         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
46627         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
46628         * sysdeps/ieee754/s_lib_version.c: Likewise.
46629         * sysdeps/mach/hurd/check_fds.c: Likewise.
46630         * sysdeps/mach/hurd/getsockname.c: Likewise.
46631         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
46632         * sysdeps/mach/hurd/recvfrom.c: Likewise.
46633         * sysdeps/powerpc/bits/link.h: Likewise.
46634         * sysdeps/powerpc/dl-procinfo.c: Likewise.
46635         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
46636         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
46637         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
46638         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
46639         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
46640         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
46641         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
46642         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
46643         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
46644         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
46645         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
46646         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
46647         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
46648         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
46649         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
46650         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
46651         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
46652         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
46653         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
46654         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
46655         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
46656         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
46657         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
46658         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
46659         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
46660         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
46661         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
46662         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
46663         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
46664         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
46665         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
46666         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
46667         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
46668         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
46669         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
46670         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
46671         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
46672         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
46673         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
46674         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
46675         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
46676         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
46677         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
46678         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
46679         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
46680         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
46681         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
46682         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
46683         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
46684         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
46685         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
46686         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
46687         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
46688         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
46689         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
46690         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
46691         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
46692         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
46693         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
46694         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
46695         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
46696         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
46697         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
46698         * sysdeps/powerpc/sysdep.h: Likewise.
46699         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
46700         * sysdeps/s390/s390-64/sub_n.S: Likewise.
46701         * sysdeps/sh/dl-trampoline.S: Likewise.
46702         * sysdeps/sh/memset.S: Likewise.
46703         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
46704         * sysdeps/sh/strlen.S: Likewise.
46705         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
46706         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
46707         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
46708         * sysdeps/sparc/sparc32/rem.S: Likewise.
46709         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
46710         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
46711         * sysdeps/sparc/sparc32/strchr.S: Likewise.
46712         * sysdeps/sparc/sparc32/udiv.S: Likewise.
46713         * sysdeps/sparc/sparc32/urem.S: Likewise.
46714         * sysdeps/sparc/sparc64/add_n.S: Likewise.
46715         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
46716         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
46717         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
46718         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
46719         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
46720         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
46721         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
46722         * sysdeps/unix/bsd/times.c: Likewise.
46723         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
46724         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
46725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
46726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
46727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
46728         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
46729         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
46730         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
46731         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
46732         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
46733         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
46734         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
46735         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
46736         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
46737         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
46738         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
46739         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
46740         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
46741         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
46742         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
46743         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
46744         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
46745         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
46746         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
46747         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
46748         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
46749         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
46750         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
46751         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
46752         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
46753         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
46754         * sysdeps/x86_64/strcspn.S: Likewise.
46756 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
46758         * locale/C-translit.h: Revert #include <stdint.h> because this is a
46759         generated file.  Regenerate properly from gen-translit.pl.
46760         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
46761         locale/C-translit.h.
46763 2013-06-05  Andreas Schwab  <schwab@suse.de>
46765         [BZ #15100]
46766         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
46767         week as 6 instead of -1.
46768         * time/tst-strptime.c (day_tests): Add test case.
46770 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
46772         * sysdeps/generic/math_private.h
46773         (libc_feholdexcept_setround_53bit): Replace with
46774         libc_feholdsetround_53bit.
46775         (libc_feupdateenv_53bit): Replace with
46776         libc_feresetround_53bit.
46777         (SET_RESTORE_ROUND_53BIT): Adjust.
46779 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
46781         * string/test-strchrnul.c: Add copyright header.
46783         * posix/tst-getaddrinfo4.c: Increase test timeout.
46785 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
46787         [BZ #15536]
46788         * math/libm-test.inc (MAX_EXP): Remove
46789         (MIN_EXP): Define.
46790         (ulp): Use MIN_EXP - MANT_DIG.
46791         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
46793 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
46795         * po/be.po: Revert last change.
46796         * po/zh_CN.po: Likewise.
46797         * po/header.pot: Likewise.
46799 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
46801         * Makefile ($(common-objpfx)linkobj/libc.so): Define
46802         link-libc-deps to empty as target-specific variable.
46803         * Makerules (link-libc-args): New variable.
46804         (libc-for-link): Likewise.
46805         (link-libc-deps): Likewise.
46806         (lib%.so): Depend on $(link-libc-deps).  Link with
46807         $(link-libc-args).
46808         (build-module): Link with $(link-libc-args).
46809         (build-module-asneeded): Likewise.
46810         (build-module-helper-objlist): Filter out $(link-libc-deps) from
46811         list of objects.
46812         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
46813         target-specific variable.
46814         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
46815         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
46816         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
46817         libc.
46818         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
46819         libc and ld.so.
46820         ($(objpfx)libpcprofile.so): Likewise.
46821         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
46822         libc_nonshared.a.
46823         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
46824         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
46825         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
46826         $(link-libc-deps).
46827         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
46828         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
46829         * login/Makefile ($(objpfx)libutil.so): Likewise.
46830         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
46831         * math/Makefile ($(objpfx)libm.so): Likewise.
46832         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
46833         $(objpfx)libnsl.so): Define libc-for-link as target-specific
46834         variable instead of depending directly on libc.
46835         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
46836         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
46837         $(link-libc-deps).
46838         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
46839         libc.
46840         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
46841         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
46842         ($(objpfx)libanl.so): Likewise.
46843         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
46844         ld.so.
46845         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
46846         $(link-libc-deps).
46847         * sysdeps/i386/fpu/Makefile: Remove file.
46848         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
46849         ($(objpfx)libm.so): Remove dependency on ld.so.
46851 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
46853         [BZ # 15553]
46854         * nis/yp_xdr.c (XDRMAXNAME): Define.
46855         (XDRMAXRECORD): Define.
46856         (xdr_domainname): Use XDRMAXNAME.
46857         (xdr_mapname): Likewise.
46858         (xdr_peername): Likewise.
46859         (xdr_keydat): Use XDRMAXRECORD.
46860         (xdr_valdat): Likewise.
46862 2013-05-30  Jeff Law  <law@redhat.com>
46864         [BZ #14256]
46865         * manual/errno.texi (ESTALE): Update to account for more than
46866         just NFS file systems.
46867         * sysdeps/gnu/errlist.c: Regenerated.
46869 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
46871         [BZ #15465]
46872         * elf/Makefile (tests): Add tst-null-argv.
46873         (modules-names):  Add tst-null-argv-lib.
46874         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
46875         (tst-null-argv-ENV): Set environment for tst-null-argv.
46876         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
46877         (RTLD_PROGNAME): New macro.
46878         * elf/tst-null-argv.c: New test case.
46879         * elf/tst-null-argv-lib.c: Library for test case.
46880         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
46881         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
46882         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
46883         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
46884         * elf/dl-init.c (call_init): Likewise.
46885         (_dl_init): Likewise.
46886         * elf/dl-load.c (print_search_path): Likewise.
46887         (_dl_map_object): Likewise.
46888         * elf/dl-lookup.c (do_lookup_x): Likewise.
46889         (add_dependency): Likewise.
46890         (_dl_lookup_symbol_x): Likewise.
46891         (_dl_debug_bindings): Likewise.
46892         * elf/dl-open.c (_dl_show_scope): Likewise.
46893         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
46894         * elf/dl-version.c (match_symbol): Likewise.
46895         (_dl_check_map_versions): Likewise.
46896         * elf/rtld.c (dl_main): Likewise.
46897         (print_unresolved): Use RTLD_PROGNAME.
46898         (print_missing_version): Likewise.
46899         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
46900         (elf_machine_rela): Likewise.
46901         * sysdeps/powerpc/powerpc32/dl-machine.c
46902         (__process_machine_rela): Likewise.
46903         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
46904         Likewise.
46905         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
46906         Likewise.
46907         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
46908         Likewise.
46909         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
46910         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
46911         Likewise.
46912         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
46913         Likewise.
46914         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
46916 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
46918         * po/be.po: Add descriptive title.
46919         * po/zh_CN.po: Likewise.
46920         * po/header.pot: Likewise.
46922 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
46924         * locale/programs/locarchive.c (create_archive): Inlucde fname in
46925         error message.
46926         (enlarge_archive): Likewise.
46928 2013-05-28  Ben North  <ben@redfrontdoor.org>
46930         * manual/arith.texi (frexp): It is the magnitude of the return
46931         value which lies in [0.5, 1), not the return value itself.
46933 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46935         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46937 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
46939         * stdio-common/bug26.c (main): Correct fscanf template.
46941         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
46942         declare _dl_skip_args.
46944         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
46945         Don't declare.
46947         * manual/platform.texi: Add missing @end deftypefun.
46949 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
46951         [BZ #15529]
46952         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
46953         bit of mantissa of 2^16382.
46954         * math/libm-test.inc (hypot_test_data): Add more tests.
46956         * math/libm-test.inc: Add drem and pow10 to list of tested
46957         functions.
46958         (pow10_test): New function.
46959         (drem_test): Likewise.
46960         (drem_test_tonearest): Likewise.
46961         (drem_test_towardzero): Likewise.
46962         (drem_test_downward): Likewise.
46963         (drem_test_upward): Likewise.
46964         (main): Call the new functions.
46966         * math/libm-test.inc (finite_test_data): Remove.
46967         (finite_test): Run tests from isfinite_test_data.
46968         (gamma_test_data): Remove.
46969         (gamma_test): Run tests from lgamma_test_data.
46970         * sysdeps/i386/fpu/libm-test-ulps: Update.
46971         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46973 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46975         * manual/platform.texi: Add PowerPC PPR function set documentation.
46976         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
46977         implementation.
46979 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
46981         * math/libm-test.inc (MAX_EXP): Define.
46982         (ULPDIFF): Define.
46983         (ulp): New function.
46984         (check_float_internal): Use ULPDIFF.
46985         (cpow_test): Disable failing test.
46986         (check_ulp): Test ulp() implemetnation.
46987         (main): Call check_ulp before starting tests.
46989 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
46991         * math/gen-libm-test.pl (generate_testfile): Do not handle
46992         START_DATA and END_DATA.
46993         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
46994         END_DATA.
46995         (acos_tonearest_test_data): Likewise.
46996         (acos_towardzero_test_data): Likewise.
46997         (acos_downward_test_data): Likewise.
46998         (acos_upward_test_data): Likewise.
46999         (acosh_test_data): Likewise.
47000         (asin_test_data): Likewise.
47001         (asin_tonearest_test_data): Likewise.
47002         (asin_towardzero_test_data): Likewise.
47003         (asin_downward_test_data): Likewise.
47004         (asin_upward_test_data): Likewise.
47005         (asinh_test_data): Likewise.
47006         (atan_test_data): Likewise.
47007         (atanh_test_data): Likewise.
47008         (atan2_test_data): Likewise.
47009         (cabs_test_data): Likewise.
47010         (cacos_test_data): Likewise.
47011         (cacosh_test_data): Likewise.
47012         (carg_test_data): Likewise.
47013         (casin_test_data): Likewise.
47014         (casinh_test_data): Likewise.
47015         (catan_test_data): Likewise.
47016         (catanh_test_data): Likewise.
47017         (cbrt_test_data): Likewise.
47018         (ccos_test_data): Likewise.
47019         (ccosh_test_data): Likewise.
47020         (ceil_test_data): Likewise.
47021         (cexp_test_data): Likewise.
47022         (cimag_test_data): Likewise.
47023         (clog_test_data): Likewise.
47024         (clog10_test_data): Likewise.
47025         (conj_test_data): Likewise.
47026         (copysign_test_data): Likewise.
47027         (cos_test_data): Likewise.
47028         (cos_tonearest_test_data): Likewise.
47029         (cos_towardzero_test_data): Likewise.
47030         (cos_downward_test_data): Likewise.
47031         (cos_upward_test_data): Likewise.
47032         (cosh_test_data): Likewise.
47033         (cosh_tonearest_test_data): Likewise.
47034         (cosh_towardzero_test_data): Likewise.
47035         (cosh_downward_test_data): Likewise.
47036         (cosh_upward_test_data): Likewise.
47037         (cpow_test_data): Likewise.
47038         (cproj_test_data): Likewise.
47039         (creal_test_data): Likewise.
47040         (csin_test_data): Likewise.
47041         (csinh_test_data): Likewise.
47042         (csqrt_test_data): Likewise.
47043         (ctan_test_data): Likewise.
47044         (ctan_tonearest_test_data): Likewise.
47045         (ctan_towardzero_test_data): Likewise.
47046         (ctan_downward_test_data): Likewise.
47047         (ctan_upward_test_data): Likewise.
47048         (ctanh_test_data): Likewise.
47049         (ctanh_tonearest_test_data): Likewise.
47050         (ctanh_towardzero_test_data): Likewise.
47051         (ctanh_downward_test_data): Likewise.
47052         (ctanh_upward_test_data): Likewise.
47053         (erf_test_data): Likewise.
47054         (erfc_test_data): Likewise.
47055         (exp_test_data): Likewise.
47056         (exp_tonearest_test_data): Likewise.
47057         (exp_towardzero_test_data): Likewise.
47058         (exp_downward_test_data): Likewise.
47059         (exp_upward_test_data): Likewise.
47060         (exp10_test_data): Likewise.
47061         (exp2_test_data): Likewise.
47062         (expm1_test_data): Likewise.
47063         (fabs_test_data): Likewise.
47064         (fdim_test_data): Likewise.
47065         (finite_test_data): Likewise.
47066         (floor_test_data): Likewise.
47067         (fma_test_data): Likewise.
47068         (fma_towardzero_test_data): Likewise.
47069         (fma_downward_test_data): Likewise.
47070         (fma_upward_test_data): Likewise.
47071         (fmax_test_data): Likewise.
47072         (fmin_test_data): Likewise.
47073         (fmod_test_data): Likewise.
47074         (fpclassify_test_data): Likewise.
47075         (frexp_test_data): Likewise.
47076         (gamma_test_data): Likewise.
47077         (hypot_test_data): Likewise.
47078         (ilogb_test_data): Likewise.
47079         (isfinite_test_data): Likewise.
47080         (isgreater_test_data): Likewise.
47081         (isgreaterequal_test_data): Likewise.
47082         (isinf_test_data): Likewise.
47083         (isless_test_data): Likewise.
47084         (islessequal_test_data): Likewise.
47085         (islessgreater_test_data): Likewise.
47086         (isnan_test_data): Likewise.
47087         (isnormal_test_data): Likewise.
47088         (issignaling_test_data): Likewise.
47089         (isunordered_test_data): Likewise.
47090         (j0_test_data): Likewise.
47091         (j1_test_data): Likewise.
47092         (jn_test_data): Likewise.
47093         (ldexp_test_data): Likewise.
47094         (lgamma_test_data): Likewise.
47095         (lrint_test_data): Likewise.
47096         (lrint_tonearest_test_data): Likewise.
47097         (lrint_towardzero_test_data): Likewise.
47098         (lrint_downward_test_data): Likewise.
47099         (lrint_upward_test_data): Likewise.
47100         (llrint_test_data): Likewise.
47101         (llrint_tonearest_test_data): Likewise.
47102         (llrint_towardzero_test_data): Likewise.
47103         (llrint_downward_test_data): Likewise.
47104         (llrint_upward_test_data): Likewise.
47105         (log_test_data): Likewise.
47106         (log10_test_data): Likewise.
47107         (log1p_test_data): Likewise.
47108         (log2_test_data): Likewise.
47109         (logb_test_data): Likewise.
47110         (logb_downward_test_data): Likewise.
47111         (lround_test_data): Likewise.
47112         (llround_test_data): Likewise.
47113         (modf_test_data): Likewise.
47114         (nearbyint_test_data): Likewise.
47115         (nextafter_test_data): Likewise.
47116         (nexttoward_test_data): Likewise.
47117         (pow_test_data): Likewise.
47118         (pow_tonearest_test_data): Likewise.
47119         (pow_towardzero_test_data): Likewise.
47120         (pow_downward_test_data): Likewise.
47121         (pow_upward_test_data): Likewise.
47122         (remainder_test_data): Likewise.
47123         (remainder_tonearest_test_data): Likewise.
47124         (remainder_towardzero_test_data): Likewise.
47125         (remainder_downward_test_data): Likewise.
47126         (remainder_upward_test_data): Likewise.
47127         (remquo_test_data): Likewise.
47128         (rint_test_data): Likewise.
47129         (rint_tonearest_test_data): Likewise.
47130         (rint_towardzero_test_data): Likewise.
47131         (rint_downward_test_data): Likewise.
47132         (rint_upward_test_data): Likewise.
47133         (round_test_data): Likewise.
47134         (scalb_test_data): Likewise.
47135         (scalbn_test_data): Likewise.
47136         (scalbln_test_data): Likewise.
47137         (signbit_test_data): Likewise.
47138         (sin_test_data): Likewise.
47139         (sin_tonearest_test_data): Likewise.
47140         (sin_towardzero_test_data): Likewise.
47141         (sin_downward_test_data): Likewise.
47142         (sin_upward_test_data): Likewise.
47143         (sincos_test_data): Likewise.
47144         (sinh_test_data): Likewise.
47145         (sinh_tonearest_test_data): Likewise.
47146         (sinh_towardzero_test_data): Likewise.
47147         (sinh_downward_test_data): Likewise.
47148         (sinh_upward_test_data): Likewise.
47149         (sqrt_test_data): Likewise.
47150         (tan_test_data): Likewise.
47151         (tan_tonearest_test_data): Likewise.
47152         (tan_towardzero_test_data): Likewise.
47153         (tan_downward_test_data): Likewise.
47154         (tan_upward_test_data): Likewise.
47155         (tanh_test_data): Likewise.
47156         (tgamma_test_data): Likewise.
47157         (trunc_test_data): Likewise.
47158         (y0_test_data): Likewise.
47159         (y1_test_data): Likewise.
47160         (yn_test_data): Likewise.
47161         (significand_test_data): Likewise.
47163         * math/gen-libm-test.pl (@functions): Remove variable.
47164         (generate_testfile): Don't handle START and END lines.
47165         * math/libm-test.inc (START): New macro.
47166         (END): Likewise.
47167         (END_COMPLEX): Likewise.
47168         (acos_test): Use END macro without arguments.
47169         (acos_test_tonearest): Likewise.
47170         (acos_test_towardzero): Likewise.
47171         (acos_test_downward): Likewise.
47172         (acos_test_upward): Likewise.
47173         (acosh_test): Likewise.
47174         (asin_test): Likewise.
47175         (asin_test_tonearest): Likewise.
47176         (asin_test_towardzero): Likewise.
47177         (asin_test_downward): Likewise.
47178         (asin_test_upward): Likewise.
47179         (asinh_test): Likewise.
47180         (atan_test): Likewise.
47181         (atanh_test): Likewise.
47182         (atan2_test): Likewise.
47183         (cabs_test): Likewise.
47184         (cacos_test): Use END_COMPLEX macro without arguments.
47185         (cacosh_test): Likewise.
47186         (carg_test): Use END macro without arguments.
47187         (casin_test): Use END_COMPLEX macro without arguments.
47188         (casinh_test): Likewise.
47189         (catan_test): Likewise.
47190         (catanh_test): Likewise.
47191         (cbrt_test): Use END macro without arguments.
47192         (ccos_test): Use END_COMPLEX macro without arguments.
47193         (ccosh_test): Likewise.
47194         (ceil_test): Use END macro without arguments.
47195         (cexp_test): Use END_COMPLEX macro without arguments.
47196         (cimag_test): Use END macro without arguments.
47197         (clog_test): Use END_COMPLEX macro without arguments.
47198         (clog10_test): Likewise.
47199         (conj_test): Likewise.
47200         (copysign_test): Use END macro without arguments.
47201         (cos_test): Likewise.
47202         (cos_test_tonearest): Likewise.
47203         (cos_test_towardzero): Likewise.
47204         (cos_test_downward): Likewise.
47205         (cos_test_upward): Likewise.
47206         (cosh_test): Likewise.
47207         (cosh_test_tonearest): Likewise.
47208         (cosh_test_towardzero): Likewise.
47209         (cosh_test_downward): Likewise.
47210         (cosh_test_upward): Likewise.
47211         (cpow_test): Use END_COMPLEX macro without arguments.
47212         (cproj_test): Likewise.
47213         (creal_test): Use END macro without arguments.
47214         (csin_test): Use END_COMPLEX macro without arguments.
47215         (csinh_test): Likewise.
47216         (csqrt_test): Likewise.
47217         (ctan_test): Likewise.
47218         (ctan_test_tonearest): Likewise.
47219         (ctan_test_towardzero): Likewise.
47220         (ctan_test_downward): Likewise.
47221         (ctan_test_upward): Likewise.
47222         (ctanh_test): Likewise.
47223         (ctanh_test_tonearest): Likewise.
47224         (ctanh_test_towardzero): Likewise.
47225         (ctanh_test_downward): Likewise.
47226         (ctanh_test_upward): Likewise.
47227         (erf_test): Use END macro without arguments.
47228         (erfc_test): Likewise.
47229         (exp_test): Likewise.
47230         (exp_test_tonearest): Likewise.
47231         (exp_test_towardzero): Likewise.
47232         (exp_test_downward): Likewise.
47233         (exp_test_upward): Likewise.
47234         (exp10_test): Likewise.
47235         (exp2_test): Likewise.
47236         (expm1_test): Likewise.
47237         (fabs_test): Likewise.
47238         (fdim_test): Likewise.
47239         (finite_test): Likewise.
47240         (floor_test): Likewise.
47241         (fma_test): Likewise.
47242         (fma_test_towardzero): Likewise.
47243         (fma_test_downward): Likewise.
47244         (fma_test_upward): Likewise.
47245         (fmax_test): Likewise.
47246         (fmin_test): Likewise.
47247         (fmod_test): Likewise.
47248         (fpclassify_test): Likewise.
47249         (frexp_test): Likewise.
47250         (gamma_test): Likewise.
47251         (hypot_test): Likewise.
47252         (ilogb_test): Likewise.
47253         (isfinite_test): Likewise.
47254         (isgreater_test): Likewise.
47255         (isgreaterequal_test): Likewise.
47256         (isinf_test): Likewise.
47257         (isless_test): Likewise.
47258         (islessequal_test): Likewise.
47259         (islessgreater_test): Likewise.
47260         (isnan_test): Likewise.
47261         (isnormal_test): Likewise.
47262         (issignaling_test): Likewise.
47263         (isunordered_test): Likewise.
47264         (j0_test): Likewise.
47265         (j1_test): Likewise.
47266         (jn_test): Likewise.
47267         (ldexp_test): Likewise.
47268         (lgamma_test): Likewise.
47269         (lrint_test): Likewise.
47270         (lrint_test_tonearest): Likewise.
47271         (lrint_test_towardzero): Likewise.
47272         (lrint_test_downward): Likewise.
47273         (lrint_test_upward): Likewise.
47274         (llrint_test): Likewise.
47275         (llrint_test_tonearest): Likewise.
47276         (llrint_test_towardzero): Likewise.
47277         (llrint_test_downward): Likewise.
47278         (llrint_test_upward): Likewise.
47279         (log_test): Likewise.
47280         (log10_test): Likewise.
47281         (log1p_test): Likewise.
47282         (log2_test): Likewise.
47283         (logb_test): Likewise.
47284         (logb_test_downward): Likewise.
47285         (lround_test): Likewise.
47286         (llround_test): Likewise.
47287         (modf_test): Likewise.
47288         (nearbyint_test): Likewise.
47289         (nextafter_test): Likewise.
47290         (nexttoward_test): Likewise.
47291         (pow_test): Likewise.
47292         (pow_test_tonearest): Likewise.
47293         (pow_test_towardzero): Likewise.
47294         (pow_test_downward): Likewise.
47295         (pow_test_upward): Likewise.
47296         (remainder_test): Likewise.
47297         (remainder_test_tonearest): Likewise.
47298         (remainder_test_towardzero): Likewise.
47299         (remainder_test_downward): Likewise.
47300         (remainder_test_upward): Likewise.
47301         (remquo_test): Likewise.
47302         (rint_test): Likewise.
47303         (rint_test_tonearest): Likewise.
47304         (rint_test_towardzero): Likewise.
47305         (rint_test_downward): Likewise.
47306         (rint_test_upward): Likewise.
47307         (round_test): Likewise.
47308         (scalb_test): Likewise.
47309         (scalbn_test): Likewise.
47310         (scalbln_test): Likewise.
47311         (signbit_test): Likewise.
47312         (sin_test): Likewise.
47313         (sin_test_tonearest): Likewise.
47314         (sin_test_towardzero): Likewise.
47315         (sin_test_downward): Likewise.
47316         (sin_test_upward): Likewise.
47317         (sincos_test): Likewise.
47318         (sinh_test): Likewise.
47319         (sinh_test_tonearest): Likewise.
47320         (sinh_test_towardzero): Likewise.
47321         (sinh_test_downward): Likewise.
47322         (sinh_test_upward): Likewise.
47323         (sqrt_test): Likewise.
47324         (tan_test): Likewise.
47325         (tan_test_tonearest): Likewise.
47326         (tan_test_towardzero): Likewise.
47327         (tan_test_downward): Likewise.
47328         (tan_test_upward): Likewise.
47329         (tanh_test): Likewise.
47330         (tgamma_test): Likewise.
47331         (trunc_test): Likewise.
47332         (y0_test): Likewise.
47333         (y1_test): Likewise.
47334         (yn_test): Likewise.
47335         (significand_test): Likewise.
47337 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
47339         [BZ #15381]
47340         * libio/genops.c (_IO_no_init): Initialize wide struct info.
47342 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
47344         [BZ #14894]
47345         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
47346         __ppc_mdoio and __ppc_mdoom.
47347         * manual/platform.texi: Document new functions __ppc_yield,
47348         __ppc_mdoio and __ppc_mdoom.
47350 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
47352         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
47353         (main): Mention "tls" pseudo-hwcap is legacy.
47354         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
47356 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
47358         * math/gen-libm-test.pl (parse_args): Output only string of
47359         arguments as text for test name, not full call or descriptions of
47360         tests for extra outputs.
47361         (generate_testfile): Do not pass function name to parse_args.
47362         Generate this_func variable from START.
47363         * math/libm-test.inc (struct test_f_f_data): Rename test_name
47364         field to arg_str.
47365         (struct test_ff_f_data): Likewise.
47366         (test_ff_f_data_nexttoward): Likewise.
47367         (struct test_fi_f_data): Likewise.
47368         (struct test_fl_f_data): Likewise.
47369         (struct test_if_f_data): Likewise.
47370         (struct test_fff_f_data): Likewise.
47371         (struct test_c_f_data): Likewise.
47372         (struct test_f_f1_data): Likewise.  Remove field extra_name.
47373         (struct test_fF_f1_data): Likewise.
47374         (struct test_ffI_f1_data): Likewise.
47375         (struct test_c_c_data): Rename test_name field to arg_str.
47376         (struct test_cc_c_data): Likewise.
47377         (struct test_f_i_data): Likewise.
47378         (struct test_ff_i_data): Likewise.
47379         (struct test_f_l_data): Likewise.
47380         (struct test_f_L_data): Likewise.
47381         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
47382         and extra2_name.
47383         (COMMON_TEST_SETUP): New macro.
47384         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
47385         (COMMON_TEST_CLEANUP): Likewise.
47386         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
47387         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
47388         macros.
47389         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
47390         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
47391         macros.
47392         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
47393         (RUN_TEST_fff_f): Take argument string.  Call new setup and
47394         cleanup macros.
47395         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
47396         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
47397         macros.
47398         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
47399         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
47400         macros.
47401         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
47402         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
47403         cleanup macros.
47404         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
47405         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
47406         cleanup macros.
47407         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
47408         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
47409         cleanup macros.
47410         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
47411         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
47412         macros.
47413         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
47414         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
47415         macros.
47416         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
47417         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
47418         macros.
47419         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
47420         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
47421         cleanup macros.
47422         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
47423         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
47424         cleanup macros.
47425         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
47426         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
47427         macros.
47428         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
47429         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
47430         cleanup macros.
47431         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
47432         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
47433         macros.
47434         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
47435         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
47436         macros.
47437         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
47438         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
47439         cleanup macros.
47440         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
47442 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
47444         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
47445         to _sifields.sigfault.
47446         (si_addr_lsb): Define new macro.
47447         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
47448         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
47449         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
47451 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
47453         [BZ #15441]
47454         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
47455         returns -1.
47456         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
47457         null return -1.
47458         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
47459         loading the domain.
47461 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
47463         * math/gen-libm-test.pl (parse_args): Do not include expected
47464         result in test name.
47465         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
47466         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47467         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
47468         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
47469         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
47470         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47472 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
47474         * benchtests/Makefile: Sort function entries.
47476         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
47477         tanh, asinh, acosh, atanh.
47478         * benchtests/acos-inputs: New file.
47479         * benchtests/acosh-inputs: New file.
47480         * benchtests/asin-inputs: New file.
47481         * benchtests/asinh-inputs: New file.
47482         * benchtests/atanh-inputs: New file.
47483         * benchtests/cosh-inputs: New file.
47484         * benchtests/log-inputs: New file.
47485         * benchtests/sinh-inputs: New file.
47486         * benchtests/tanh-inputs: New file.
47488 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
47490         [BZ #15339]
47491         * posix/tst-getaddrinfo4.c: New test.
47492         * posix/Makefile (tests): Add it.
47494 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
47496         [BZ #15339]
47497         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
47498         when no services were used.
47499         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
47500         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
47502 2013-05-21  Andreas Schwab  <schwab@suse.de>
47504         [BZ #15014]
47505         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
47506         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
47507         successful.
47508         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
47509         redundant variable declarations and reallocation of buffer when
47510         parsing as IPv6 address.  Always set NSS status when called from
47511         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
47512         buffer too small.  Correct computation of needed size.
47513         * nss/Makefile (tests): Add test-digits-dots.
47514         * nss/test-digits-dots.c: New test.
47516 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
47518         * benchtests/Makefile: Remove instructions for adding
47519         benchmark tests.
47520         * benchtests/README: New file to explain how to execute and
47521         enhance the benchmark tests.
47523 2013-05-21  Andreas Schwab  <schwab@suse.de>
47525         [BZ #15493]
47526         * setjmp/Makefile (tests): Add tst-sigsetjmp.
47527         * setjmp/tst-sigsetjmp.c: New test.
47529 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
47531         * sysdeps/x86_64/memset.S (memset): New implementation.
47532         (__bzero): Likewise.
47533         (__memset_tail): New function.
47535 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
47537         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
47538         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
47539         __memcpy_sse2_unaligned ifunc selection.
47540         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
47541         Add memcpy-sse2-unaligned.S.
47542         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
47543         Add: __memcpy_sse2_unaligned.
47545 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
47547         [BZ #15490]
47548         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
47549         math_force_eval before restoring floating-point envrionment.
47550         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
47551         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
47552         Likewise.
47553         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
47554         <math_private.h>.
47555         (__nearbyintl): Use math_force_eval before restoring
47556         floating-point environment.
47557         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
47559         * math/gen-libm-test.pl (special_functions): Remove.
47560         (parse_args): Don't handle TEST_extra.  Handle functions with no
47561         return value.
47562         * math/libm-test.inc (struct test_sincos_data): Replace with
47563         struct test_fFF_11_data.
47564         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
47565         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
47566         (sincos_test_data): Change element type to struct
47567         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
47568         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
47569         RUN_TEST_LOOP_sincos.
47570         * math/README.libm-test: Don't mention special handling of
47571         individual functions.
47572         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
47573         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47574         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
47575         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
47576         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
47577         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47579         * math/gen-libm-test.pl (get_variable): Remove function.
47580         (parse_args): Don't show pointer parameters to call in test
47581         names.  Use "extra output N" in test names for extra outputs
47582         rather than naming variables.
47584 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
47586         [BZ #15488]
47587         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
47588         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
47589         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
47590         double tests.
47591         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
47592         disable.
47593         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
47594         check_long_double.
47596         * math/gen-libm-test.pl (@tests): Remove variable.
47597         ($count): Likewise.
47598         (new_test): Remove function.
47599         (show_exceptions): New function.
47600         (special_functions): Use show_exceptions instead of new_test.
47601         (parse_args): Likewise.
47602         (generate_testfile): Pass only function name in generated call to
47603         print_max_error or print_complex_max_error.
47604         (get_ulps): Do not handle complex tests specially.
47605         (output_test): Rename to ...
47606         (get_all_ulps_for_test): ... this.  Return a string rather than
47607         printing to a file.  Require ulps to be present.
47608         (output_ulps): Generate arrays rather than #defines.
47609         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
47610         (struct ulp_data): New type.
47611         (BUILD_COMPLEX_ULP): Remove macro.
47612         (compare_ulp_data): New function.
47613         (find_ulps): Likewise.
47614         (find_test_ulps): Likewise.
47615         (find_function_ulps): Likewise.
47616         (find_complex_function_ulps): Likewise.
47617         (print_max_error): Determine allowed ulps using
47618         find_function_ulps.
47619         (print_complex_max_error): Determine allowed ulps using
47620         find_complex_function_ulps.
47621         (check_float_internal): Determine max ulps using find_test_ulps.
47622         (check_float): Do not take max_ulp parameter.  Update call to
47623         check_float_internal.
47624         (check_complex): Likewise.
47625         (check_int): Do not take max_ulp parameter.
47626         (check_long): Likewise.
47627         (check_bool): Likewise.
47628         (check_longlong): Likewise.
47629         (struct test_f_f_data): Remove max_ulp field.
47630         (struct test_ff_f_data): Likewise.
47631         (struct test_ff_f_data_nexttoward): Likewise.
47632         (struct test_fi_f_data): Likewise.
47633         (struct test_fl_f_data): Likewise.
47634         (struct test_if_f_data): Likewise.
47635         (struct test_fff_f_data): Likewise.
47636         (struct test_c_f_data): Likewise.
47637         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
47638         (struct test_fF_f1_data): Likewise.
47639         (struct test_ffI_f1_data): Likewise.
47640         (struct test_c_c_data): Remove max_ulp field.
47641         (struct test_cc_c_data): Likewise.
47642         (struct test_f_i_data): Likewise.
47643         (struct test_ff_i_data): Likewise.
47644         (struct test_f_l_data): Likewise.
47645         (struct test_f_L_data): Likewise.
47646         (struct test_sincos_data): Likewise.
47647         (RUN_TEST_f_f): Do not handle ulps.
47648         (RUN_TEST_LOOP_f_f): Likewise.
47649         (RUN_TEST_2_f): Likewise.
47650         (RUN_TEST_LOOP_2_f): Likewise.
47651         (RUN_TEST_fff_f): Likewise.
47652         (RUN_TEST_LOOP_fff_f): Likewise.
47653         (RUN_TEST_c_f): Likewise.
47654         (RUN_TEST_LOOP_c_f): Likewise.
47655         (RUN_TEST_f_f1): Likewise.
47656         (RUN_TEST_LOOP_f_f1): Likewise.
47657         (RUN_TEST_fF_f1): Likewise.
47658         (RUN_TEST_LOOP_fF_f1): Likewise.
47659         (RUN_TEST_fI_f1): Likewise.
47660         (RUN_TEST_LOOP_fI_f1): Likewise.
47661         (RUN_TEST_ffI_f1): Likewise.
47662         (RUN_TEST_LOOP_ffI_f1): Likewise.
47663         (RUN_TEST_c_c): Likewise.
47664         (RUN_TEST_LOOP_c_c): Likewise.
47665         (RUN_TEST_cc_c): Likewise.
47666         (RUN_TEST_LOOP_cc_c): Likewise.
47667         (RUN_TEST_f_i): Likewise.
47668         (RUN_TEST_LOOP_f_i): Likewise.
47669         (RUN_TEST_f_i_tg): Likewise.
47670         (RUN_TEST_LOOP_f_i_tg): Likewise.
47671         (RUN_TEST_ff_i_tg): Likewise.
47672         (RUN_TEST_LOOP_ff_i_tg): Likewise.
47673         (RUN_TEST_f_b): Likewise.
47674         (RUN_TEST_LOOP_f_b): Likewise.
47675         (RUN_TEST_f_b_tg): Likewise.
47676         (RUN_TEST_LOOP_f_b_tg): Likewise.
47677         (RUN_TEST_f_l): Likewise.
47678         (RUN_TEST_LOOP_f_l): Likewise.
47679         (RUN_TEST_f_L): Likewise.
47680         (RUN_TEST_LOOP_f_L): Likewise.
47681         (RUN_TEST_sincos): Likewise.
47682         (RUN_TEST_LOOP_sincos): Likewise.
47684 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
47686         [BZ #15480]
47687         [BZ #15485]
47688         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
47689         main case of finite arguments, set rounding mode to FE_TONEAREST
47690         and discard exceptions.
47691         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
47692         exceptions.
47693         (remainder_tonearest_test_data): New variable.
47694         (remainder_test_tonearest): New function.
47695         (remainder_towardzero_test_data): New variable.
47696         (remainder_test_towardzero): New function.
47697         (remainder_downward_test_data): New variable.
47698         (remainder_test_downward): New function.
47699         (remainder_upward_test_data): New variable.
47700         (remainder_test_upward): New function.
47701         (main): Call the new test functions.
47703         * math/libm-test.inc (struct test_f_f1_data): Remove field
47704         extra_init.
47705         (struct test_fF_f1_data): Likewise.
47706         (struct test_ffI_f1_data): Likewise.
47707         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
47708         based on value of EXTRA_EXPECTED.
47709         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
47710         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
47711         EXTRA_VAR based on value of EXTRA_EXPECTED.
47712         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
47713         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
47714         EXTRA_VAR based on value of EXTRA_EXPECTED.
47715         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
47716         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
47717         EXTRA_VAR based on value of EXTRA_EXPECTED.
47718         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
47719         * math/gen-libm-test.pl (parse_args): Don't output initializers
47720         for extra output values.
47722         * math/libm-test.inc (check_int): Expect result to be exactly
47723         equal to expected value and do not handle ulps.
47724         (check_long): Likewise.
47725         (check_longlong): Likewise.
47727         * math/libm-test.inc (ceil_test_data): Test for "inexact"
47728         exceptions.
47729         (cimag_test_data): Likewise.
47730         (conj_test_data): Likewise.
47731         (copysign_test_data): Likewise.
47732         (cproj_test_data): Likewise.
47733         (creal_test_data): Likewise.
47734         (fabs_test_data): Likewise.
47735         (fdim_test_data): Likewise.
47736         (finite_test_data): Likewise.
47737         (floor_test_data): Likewise.
47738         (fmax_test_data): Likewise.
47739         (fmin_test_data): Likewise.
47740         (fmod_test_data): Likewise.
47741         (fpclassify_test_data): Likewise.
47742         (frexp_test_data): Likewise.
47743         (ilogb_test_data): Likewise.
47744         (isfinite_test_data): Likewise.
47745         (isgreater_test_data): Likewise.
47746         (isgreaterequal_test_data): Likewise.
47747         (isinf_test_data): Likewise.
47748         (isless_test_data): Likewise.
47749         (islessequal_test_data): Likewise.
47750         (islessgreater_test_data): Likewise.
47751         (isnan_test_data): Likewise.
47752         (isnormal_test_data): Likewise.
47753         (issignaling_test_data): Likewise.
47754         (isunordered_test_data): Likewise.
47755         (ldexp_test_data): Likewise.
47756         (lrint_test_data): Likewise.
47757         (lrint_test_data) [TEST_FLOAT]: Disable one test.
47758         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
47759         (lrint_tonearest_test_data): Test for "inexact" exceptions.
47760         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
47761         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
47762         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
47763         test input.
47764         (lrint_towardzero_test_data): Test for "inexact" exceptions.
47765         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
47766         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
47767         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
47768         that test input.
47769         (lrint_downward_test_data): Test for "inexact" exceptions.
47770         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
47771         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
47772         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
47773         test input.
47774         (lrint_upward_test_data): Test for "inexact" exceptions.
47775         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
47776         test input.
47777         (llrint_test_data): Test for "inexact" exceptions.
47778         (llrint_test_data) [TEST_FLOAT]: Disable one test.
47779         (llrint_tonearest_test_data): Test for "inexact" exceptions.
47780         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
47781         (llrint_towardzero_test_data): Test for "inexact" exceptions.
47782         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
47783         (llrint_downward_test_data): Test for "inexact" exceptions.
47784         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
47785         (llrint_upward_test_data): Test for "inexact" exceptions.
47786         (logb_test_data): Likewise.
47787         (logb_downward_test_data): Likewise.
47788         (nextafter_test_data): Likewise.
47789         (nexttoward_test_data): Likewise.
47790         (remainder_test_data): Likewise.
47791         (remquo_test_data): Likewise.
47792         (scalbn_test_data): Likewise.
47793         (scalbln_test_data): Likewise.
47794         (signbit_test_data): Likewise.
47795         (sqrt_test_data): Likewise.
47796         (significand_test_data): Likewise.
47798 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
47800         [BZ #15424]
47801         * benchtests/bench-modf.c (struct args): Mark arg0 as
47802         volatile.
47803         * scripts/bench.pl: Mark members of struct args as volatile.
47805 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47807         [BZ # 15497]
47808         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
47809         negative infinity on POWER6 or lower.
47810         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
47812 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
47814         [BZ #15442]
47815         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
47816         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
47817         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
47818         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
47819         (_FP_SETQNAN): New macro.
47820         (_FP_SETQNAN_SEMIRAW): Likewise.
47821         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
47822         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
47823         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
47824         (FP_EXTEND): Use _FP_FRAC_SNANP.
47825         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
47826         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
47827         into account.
47828         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
47829         New macro.
47830         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
47831         Likewise.
47833 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
47835         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
47836         with DIVIDE_BY_ZERO_EXCEPTION.
47837         (gamma_test_data): Likewise.
47838         (lgamma_test_data): Likewise.
47839         (log_test_data): Likewise.
47840         (log10_test_data): Likewise.
47841         (log2_test_data): Likewise.
47842         (tgamma_test_data): Likewise.
47844         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
47845         (acos_test_tonearest): Likewise.
47846         (acos_test_towardzero): Likewise.
47847         (acos_test_downward): Likewise.
47848         (acos_test_upward): Likewise.
47849         (acosh_test): Likewise.
47850         (asin_test): Likewise.
47851         (asin_test_tonearest): Likewise.
47852         (asin_test_towardzero): Likewise.
47853         (asin_test_downward): Likewise.
47854         (asin_test_upward): Likewise.
47855         (asinh_test): Likewise.
47856         (atan_test): Likewise.
47857         (atanh_test): Likewise.
47858         (atan2_test): Likewise.
47859         (cabs_test): Likewise.
47860         (cacos_test): Likewise.
47861         (cacosh_test): Likewise.
47862         (casin_test): Likewise.
47863         (casinh_test): Likewise.
47864         (catan_test): Likewise.
47865         (catanh_test): Likewise.
47866         (cbrt_test): Likewise.
47867         (ccos_test): Likewise.
47868         (ccosh_test): Likewise.
47869         (cexp_test): Likewise.
47870         (clog_test): Likewise.
47871         (clog10_test): Likewise.
47872         (cos_test): Likewise.
47873         (cos_test_tonearest): Likewise.
47874         (cos_test_towardzero): Likewise.
47875         (cos_test_downward): Likewise.
47876         (cos_test_upward): Likewise.
47877         (cosh_test): Likewise.
47878         (cosh_test_tonearest): Likewise.
47879         (cosh_test_towardzero): Likewise.
47880         (cosh_test_downward): Likewise.
47881         (cosh_test_upward): Likewise.
47882         (cpow_test): Likewise.
47883         (csin_test): Likewise.
47884         (csinh_test): Likewise.
47885         (csqrt_test): Likewise.
47886         (ctan_test): Likewise.
47887         (ctan_test_tonearest): Likewise.
47888         (ctan_test_towardzero): Likewise.
47889         (ctan_test_downward): Likewise.
47890         (ctan_test_upward): Likewise.
47891         (ctanh_test): Likewise.
47892         (ctanh_test_tonearest): Likewise.
47893         (ctanh_test_towardzero): Likewise.
47894         (ctanh_test_downward): Likewise.
47895         (ctanh_test_upward): Likewise.
47896         (erf_test): Likewise.
47897         (erfc_test): Likewise.
47898         (exp_test): Likewise.
47899         (exp_test_tonearest): Likewise.
47900         (exp_test_towardzero): Likewise.
47901         (exp_test_downward): Likewise.
47902         (exp_test_upward): Likewise.
47903         (exp10_test): Likewise.
47904         (exp2_test): Likewise.
47905         (expm1_test): Likewise.
47906         (fmod_test): Likewise.
47907         (gamma_test): Likewise.
47908         (hypot_test): Likewise.
47909         (j0_test): Likewise.
47910         (j1_test): Likewise.
47911         (jn_test): Likewise.
47912         (lgamma_test): Likewise.
47913         (log_test): Likewise.
47914         (log10_test): Likewise.
47915         (log1p_test): Likewise.
47916         (log2_test): Likewise.
47917         (logb_test_downward): Likewise.
47918         (pow_test): Likewise.
47919         (pow_test_tonearest): Likewise.
47920         (pow_test_towardzero): Likewise.
47921         (pow_test_downward): Likewise.
47922         (pow_test_upward): Likewise.
47923         (remainder_test): Likewise.
47924         (remquo_test): Likewise.
47925         (sin_test): Likewise.
47926         (sin_test_tonearest): Likewise.
47927         (sin_test_towardzero): Likewise.
47928         (sin_test_downward): Likewise.
47929         (sin_test_upward): Likewise.
47930         (sincos_test): Likewise.
47931         (sinh_test): Likewise.
47932         (sinh_test_tonearest): Likewise.
47933         (sinh_test_towardzero): Likewise.
47934         (sinh_test_downward): Likewise.
47935         (sinh_test_upward): Likewise.
47936         (sqrt_test): Likewise.
47937         (tan_test): Likewise.
47938         (tan_test_tonearest): Likewise.
47939         (tan_test_towardzero): Likewise.
47940         (tan_test_downward): Likewise.
47941         (tan_test_upward): Likewise.
47942         (tanh_test): Likewise.
47943         (tgamma_test): Likewise.
47944         (y0_test): Likewise.
47945         (y1_test): Likewise.
47946         (yn_test): Likewise.
47948         * math/gen-libm-test.pl (adjust_arg): Remove function.
47949         (special_function): Remove argument $in_func.  Only handle
47950         generating output for tables of tests, not inside functions.
47951         (parse_args): Likewise.
47952         (generate_testfile): Remove variable $in_func.  Update call to
47953         parse_args.
47954         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
47955         (MINUS_ZERO_INIT): Rename macro to minus_zero.
47956         (PLUS_INFTY_INIT): Rename macro to plus_infty.
47957         (MINUS_INFTY_INIT): Rename macro to minus_infty.
47958         (QNAN_VALUE_INIT): Rename macro to qnan_value.
47959         (MAX_VALUE_INIT): Rename macro to max_value.
47960         (MIN_VALUE_INIT): Rename macro to min_value.
47961         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
47962         (plus_zero): Remove variable.
47963         (minus_zero): Likewise.
47964         (plus_infty): Likewise.
47965         (minus_infty): Likewise.
47966         (qnan_value): Likewise.
47967         (max_value): Likewise.
47968         (min_value): Likewise.
47969         (min_subnorm_value): Likewise.
47971 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
47973         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
47974         uint64_t or uint32_t usage.
47975         * crypt/sha256-block.c: Likewise.
47976         * crypt/sha256-crypt.c: Likewise.
47977         * crypt/sha256.c: Likewise.
47978         * crypt/sha512-block.c: Likewise.
47979         * crypt/sha512-crypt.c: Likewise.
47980         * crypt/sha512.c: Likewise.
47981         * debug/backtrace-tst.c: Likewise.
47982         * debug/pcprofiledump.c: Likewise.
47983         * elf/cache.c: Likewise.
47984         * elf/dl-cache.c: Likewise.
47985         * elf/dl-misc.c: Likewise.
47986         * elf/dl-profile.c: Likewise.
47987         * elf/dl-support.c: Likewise.
47988         * elf/ldconfig.c: Likewise.
47989         * elf/sprof.c: Likewise.
47990         * iconv/dummy-repertoire.c: Likewise.
47991         * iconv/iconv_charmap.c: Likewise.
47992         * iconv/skeleton.c: Likewise.
47993         * iconvdata/8bit-generic.c: Likewise.
47994         * iconvdata/cp737.h: Likewise.
47995         * iconvdata/cp775.h: Likewise.
47996         * iconvdata/ibm1008.h: Likewise.
47997         * iconvdata/ibm1025.h: Likewise.
47998         * iconvdata/ibm1046.h: Likewise.
47999         * iconvdata/ibm1097.h: Likewise.
48000         * iconvdata/ibm1112.h: Likewise.
48001         * iconvdata/ibm1122.h: Likewise.
48002         * iconvdata/ibm1123.h: Likewise.
48003         * iconvdata/ibm1124.h: Likewise.
48004         * iconvdata/ibm1129.h: Likewise.
48005         * iconvdata/ibm1130.h: Likewise.
48006         * iconvdata/ibm1132.h: Likewise.
48007         * iconvdata/ibm1133.h: Likewise.
48008         * iconvdata/ibm1137.h: Likewise.
48009         * iconvdata/ibm1140.h: Likewise.
48010         * iconvdata/ibm1141.h: Likewise.
48011         * iconvdata/ibm1142.h: Likewise.
48012         * iconvdata/ibm1143.h: Likewise.
48013         * iconvdata/ibm1144.h: Likewise.
48014         * iconvdata/ibm1145.h: Likewise.
48015         * iconvdata/ibm1146.h: Likewise.
48016         * iconvdata/ibm1147.h: Likewise.
48017         * iconvdata/ibm1148.h: Likewise.
48018         * iconvdata/ibm1149.h: Likewise.
48019         * iconvdata/ibm1153.h: Likewise.
48020         * iconvdata/ibm1154.h: Likewise.
48021         * iconvdata/ibm1155.h: Likewise.
48022         * iconvdata/ibm1156.h: Likewise.
48023         * iconvdata/ibm1157.h: Likewise.
48024         * iconvdata/ibm1158.h: Likewise.
48025         * iconvdata/ibm1160.h: Likewise.
48026         * iconvdata/ibm1161.h: Likewise.
48027         * iconvdata/ibm1162.h: Likewise.
48028         * iconvdata/ibm1163.h: Likewise.
48029         * iconvdata/ibm1164.h: Likewise.
48030         * iconvdata/ibm1166.h: Likewise.
48031         * iconvdata/ibm1167.h: Likewise.
48032         * iconvdata/ibm12712.h: Likewise.
48033         * iconvdata/ibm1390.h: Likewise.
48034         * iconvdata/ibm1399.h: Likewise.
48035         * iconvdata/ibm16804.h: Likewise.
48036         * iconvdata/ibm4517.h: Likewise.
48037         * iconvdata/ibm4899.h: Likewise.
48038         * iconvdata/ibm4909.h: Likewise.
48039         * iconvdata/ibm4971.h: Likewise.
48040         * iconvdata/ibm5347.h: Likewise.
48041         * iconvdata/ibm803.h: Likewise.
48042         * iconvdata/ibm856.h: Likewise.
48043         * iconvdata/ibm901.h: Likewise.
48044         * iconvdata/ibm902.h: Likewise.
48045         * iconvdata/ibm9030.h: Likewise.
48046         * iconvdata/ibm9066.h: Likewise.
48047         * iconvdata/ibm921.h: Likewise.
48048         * iconvdata/ibm922.h: Likewise.
48049         * iconvdata/ibm9448.h: Likewise.
48050         * iconvdata/isiri-3342.h: Likewise.
48051         * iconvdata/jis0201.h: Likewise.
48052         * include/link.h: Likewise.
48053         * include/netdb.h: Likewise.
48054         * inet/check_native.c: Likewise.
48055         * inet/check_pf.c: Likewise.
48056         * inet/getipv4sourcefilter.c: Likewise.
48057         * inet/getnameinfo.c: Likewise.
48058         * inet/getsourcefilter.c: Likewise.
48059         * inet/htonl.c: Likewise.
48060         * inet/setipv4sourcefilter.c: Likewise.
48061         * inet/setsourcefilter.c: Likewise.
48062         * inet/test-inet6_opt.c: Likewise.
48063         * inet/tst-network.c: Likewise.
48064         * locale/C-collate.c: Likewise.
48065         * locale/C-ctype.c: Likewise.
48066         * locale/C-time.c: Likewise.
48067         * locale/C-translit.h: Likewise.
48068         * locale/loadarchive.c: Likewise.
48069         * locale/programs/3level.h: Likewise.
48070         * locale/programs/charmap.c: Likewise.
48071         * locale/programs/charmap.h: Likewise.
48072         * locale/programs/ld-address.c: Likewise.
48073         * locale/programs/ld-collate.c: Likewise.
48074         * locale/programs/ld-ctype.c: Likewise.
48075         * locale/programs/ld-identification.c: Likewise.
48076         * locale/programs/ld-measurement.c: Likewise.
48077         * locale/programs/ld-messages.c: Likewise.
48078         * locale/programs/ld-monetary.c: Likewise.
48079         * locale/programs/ld-name.c: Likewise.
48080         * locale/programs/ld-numeric.c: Likewise.
48081         * locale/programs/ld-paper.c: Likewise.
48082         * locale/programs/ld-telephone.c: Likewise.
48083         * locale/programs/ld-time.c: Likewise.
48084         * locale/programs/linereader.c: Likewise.
48085         * locale/programs/locale.c: Likewise.
48086         * locale/programs/locarchive.c: Likewise.
48087         * locale/programs/locfile.h: Likewise.
48088         * locale/programs/repertoire.c: Likewise.
48089         * locale/programs/simple-hash.c: Likewise.
48090         * locale/programs/simple-hash.h: Likewise.
48091         * malloc/memusage.c: Likewise.
48092         * malloc/memusagestat.c: Likewise.
48093         * nis/nis_defaults.c: Likewise.
48094         * nis/nis_hash.c: Likewise.
48095         * nis/nis_print.c: Likewise.
48096         * nis/nis_xdr.c: Likewise.
48097         * nscd/connections.c: Likewise.
48098         * nscd/hstcache.c: Likewise.
48099         * nscd/nscd_gethst_r.c: Likewise.
48100         * nscd/nscd_getserv_r.c: Likewise.
48101         * nscd/nscd_helper.c: Likewise.
48102         * nscd/servicescache.c: Likewise.
48103         * nss/makedb.c: Likewise.
48104         * nss/nss_db/db-XXX.c: Likewise.
48105         * nss/nss_db/db-initgroups.c: Likewise.
48106         * nss/nss_db/db-netgrp.c: Likewise.
48107         * nss/nss_files/files-network.c: Likewise.
48108         * nss/nss_files/files-parse.c: Likewise.
48109         * posix/bug-regex5.c: Likewise.
48110         * posix/fnmatch_loop.c: Likewise.
48111         * posix/regcomp.c: Likewise.
48112         * posix/regexec.c: Likewise.
48113         * posix/tst-rfc3484-2.c: Likewise.
48114         * posix/tst-rfc3484-3.c: Likewise.
48115         * posix/tst-rfc3484.c: Likewise.
48116         * resolv/nss_dns/dns-canon.c: Likewise.
48117         * resolv/nss_dns/dns-network.c: Likewise.
48118         * resolv/res_init.c: Likewise.
48119         * resolv/res_mkquery.c: Likewise.
48120         * resolv/tst-aton.c: Likewise.
48121         * stdlib/cxa_atexit.c: Likewise.
48122         * stdlib/cxa_finalize.c: Likewise.
48123         * stdlib/gen-fpioconst.c: Likewise.
48124         * stdlib/strtol_l.c: Likewise.
48125         * string/tst-endian.c: Likewise.
48126         * sunrpc/auth_des.c: Likewise.
48127         * sunrpc/clnt_udp.c: Likewise.
48128         * sunrpc/rtime.c: Likewise.
48129         * sunrpc/svcauth_des.c: Likewise.
48130         * sunrpc/xdr.c: Likewise.
48131         * sunrpc/xdr_intXX_t.c: Likewise.
48132         * sunrpc/xdr_rec.c: Likewise.
48133         * sysdeps/generic/ldconfig.h: Likewise.
48134         * sysdeps/generic/ldsodefs.h: Likewise.
48135         * sysdeps/generic/memusage.h: Likewise.
48136         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
48137         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
48138         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
48139         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
48140         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48141         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
48142         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
48143         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
48144         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
48145         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
48146         * sysdeps/posix/getaddrinfo.c: Likewise.
48147         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
48148         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
48149         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
48150         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
48151         * sysdeps/powerpc/test-gettimebase.c: Likewise.
48152         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
48153         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
48154         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
48155         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
48156         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
48157         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
48158         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
48159         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
48160         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
48161         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
48162         * sysdeps/x86_64/dl-tls.h: Likewise.
48163         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
48164         * time/alt_digit.c: Likewise.
48165         * time/era.c: Likewise.
48166         * wcsmbs/tst-c16c32-1.c: Likewise.
48168 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
48170         * math/libm-test.inc (struct test_sincos_data): New type.
48171         (RUN_TEST_LOOP_sincos): New macro.
48172         (sincos_test_data): New variable.
48173         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
48175 2013-05-16  Richard Henderson  <rth@redhat.com>
48177         * math/atest-exp2.c (LIMB64): New macro.
48178         (CONSTSZ): New macro.
48179         (mp_exp1, mp_exp_m1, mp_log2): New variables.
48180         (hexdig): Move ...
48181         (print_mpn_fp): ... to function scope.
48182         (read_mpn_hex): Remove.
48183         (get_log2): Remove.
48184         (exp2_mpn): Use mp_log2.
48185         (main): Use mp_exp1.
48187 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
48189         * math/libm-test.inc: Remove comment about not testing "inexact"
48190         exceptions.
48191         (INEXACT_EXCEPTION): New macro.
48192         (NO_INEXACT_EXCEPTION): Likewise.
48193         (INVALID_EXCEPTION_OK): Update value.
48194         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
48195         (OVERFLOW_EXCEPTION_OK): Likewise.
48196         (UNDERFLOW_EXCEPTION_OK): Likewise.
48197         (IGNORE_ZERO_INF_SIGN): Likewise.
48198         (ERRNO_UNCHANGED): Likewise.
48199         (ERRNO_EDOM): Likewise.
48200         (ERRNO_ERANGE): Likewise.
48201         (test_exceptions): Handle testing "inexact" exceptions.
48202         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
48203         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
48204         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
48205         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
48206         INEXACT_EXCEPTION.
48207         (rint_towardzero_test_data): Likewise.
48208         (rint_downward_test_data): Likewise.
48209         (rint_upward_test_data): Likewise.
48211         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
48212         with OVERFLOW_EXCEPTION.
48213         (exp10_test_data): Likewise.
48214         (exp2_test_data): Likewise.
48215         (expm1_test_data): Likewise.
48216         (lgamma_test_data): Likewise.
48217         (pow_test_data): Likewise.
48218         (tgamma_test_data): Likewise.
48219         (yn_test_data): Remove duplicate test of overflow.
48221         * math/libm-test.inc (struct test_cc_c_data): New type.
48222         (RUN_TEST_LOOP_cc_c): New macro.
48223         (cpow_test_data): New variable.
48224         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
48226         * math/libm-test.inc (struct test_f_L_data): New type.
48227         (RUN_TEST_LOOP_f_L): New macro.
48228         (llrint_test_data): New variable.
48229         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
48230         (llrint_tonearest_test_data): New variable.
48231         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
48232         (llrint_towardzero_test_data): New variable.
48233         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
48234         (llrint_downward_test_data): New variable.
48235         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
48236         (llrint_upward_test_data): New variable.
48237         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
48238         (llround_test_data): New variable.
48239         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
48241 2013-05-13  Peter Collingbourne  <pcc@google.com>
48243         * math/atest-exp2.c (get_log2): Remove const attribute.
48245 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
48247         * math/libm-test.inc (struct test_f_l_data): New type.
48248         (RUN_TEST_LOOP_f_l): New macro.
48249         (lrint_test_data): New variable.
48250         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
48251         (lrint_tonearest_test_data): New variable.
48252         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
48253         (lrint_towardzero_test_data): New variable.
48254         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
48255         (lrint_downward_test_data): New variable.
48256         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
48257         (lrint_upward_test_data): New variable.
48258         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
48259         (lround_test_data): New variable.
48260         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
48262 2013-05-15  Peter Collingbourne  <pcc@google.com>
48264         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
48265         (EXTRACT_WORDS64) Use where appropriate.
48266         (INSERT_WORDS64) Likewise.
48268         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
48269         constraints with x constraints.
48270         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
48272         * malloc/obstack.c (_obstack_compat): Add initializer.
48274 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
48276         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
48277         si_trapno and add si_addr_lsb to _sifields.sigfault.
48278         (si_trapno): Remove macro.
48279         (si_addr_lsb): Define new macro.
48280         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
48282 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
48284         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
48285         instead of TEST_f_l.
48286         (llrint_test_tonearest): Likewise.
48287         (llrint_test_towardzero): Likewise.
48288         (llrint_test_downward): Likewise.
48289         (llrint_test_upward): Likewise.
48290         (llround_test): Likewise.
48292         * math/libm-test.inc (struct test_f_i_data): Add comment.
48293         (RUN_TEST_LOOP_f_b): New macro.
48294         (RUN_TEST_LOOP_f_b_tg): Likewise.
48295         (finite_test_data): New variable.
48296         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
48297         (isfinite_test_data): New variable.
48298         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48299         (isinf_test_data): New variable.
48300         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48301         (isnan_test_data): New variable.
48302         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48303         (isnormal_test_data): New variable.
48304         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48305         (issignaling_test_data): New variable.
48306         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48307         (signbit_test_data): New variable.
48308         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48310         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
48311         with INVALID_EXCEPTION.
48312         (acosh_test_data): Likewise.
48313         (asin_test_data): Likewise.
48314         (atanh_test_data): Likewise.
48315         (fmod_test_data): Likewise.
48316         (log_test_data): Likewise.
48317         (log10_test_data): Likewise.
48318         (log2_test_data): Likewise.
48319         (pow_test_data): Likewise.
48320         (sqrt_test_data): Likewise.
48321         (y0_test_data): Likewise.
48322         (y1_test_data): Likewise.
48323         (yn_test_data): Likewise.
48325         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
48326         function contents.
48328         * math/libm-test.inc (struct test_ff_i_data): New type.
48329         (RUN_TEST_LOOP_ff_i_tg): New macro.
48330         (isgreater_test_data): New variable.
48331         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48332         (isgreaterequal_test_data): New variable.
48333         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48334         (isless_test_data): New variable.
48335         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48336         (islessequal_test_data): New variable.
48337         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48338         (islessgreater_test_data): New variable.
48339         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48340         (isunordered_test_data): New variable.
48341         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48343 2013-05-14  David S. Miller  <davem@davemloft.net>
48345         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48347 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
48349         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
48351         * math/libm-test.inc (struct test_fF_f1_data): Change type of
48352         extra_test to int.
48353         (struct test_f_i_data): Change type of max_ulp to int.
48355         * math/libm-test.inc (test_ffI_f1_data): New type.
48356         (RUN_TEST_LOOP_ffI_f1): New macro.
48357         (remquo_test_data): New variable.
48358         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
48360         * setjmp/tst-setjmp-fp.c: New file.
48361         * setjmp/Makefile (tests): Add tst-setjmp-fp.
48362         (link-libm): New variable.
48363         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
48365         * math/libm-test.inc (struct test_f_i_data): New type.
48366         (RUN_TEST_LOOP_f_i): New macro.
48367         (RUN_TEST_LOOP_f_i_tg): Likewise.
48368         (fpclassify_test_data): New variable.
48369         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
48370         (ilogb_test_data): New variable.
48371         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
48373         * math/libm-test.inc (scalbln_test): Correct function name in END
48374         call.
48376         * math/libm-test.inc (struct test_f_f1_data): Add comment.
48377         (RUN_TEST_LOOP_fI_f1): New macro.
48378         (frexp_test_data): New variable.
48379         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
48381         * math/libm-test.inc (struct test_fF_f1_data): New type.
48382         (RUN_TEST_LOOP_fF_f1): New macro.
48383         (modf_test_data): New variable.
48384         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
48386         * math/libm-test.inc (struct test_f_f1_data): New type.
48387         (RUN_TEST_LOOP_f_f1): New macro.
48388         (gamma_test_data): New variable.
48389         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
48390         (lgamma_test_data): New variable.
48391         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
48393 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
48395         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
48396         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
48397         (main): Comment "tls" pseudo-hwcap.
48399 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
48401         * math/libm-test.inc (struct test_fl_f_data): New type.
48402         (RUN_TEST_LOOP_fl_f): New variable.
48403         (scalbln_test_data): New variable.
48404         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
48406         * math/libm-test.inc (struct test_fi_f_data): New type.
48407         (RUN_TEST_LOOP_fi_f): New macro.
48408         (ldexp_test_data): New variable.
48409         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
48410         (scalbn_test_data): New variable.
48411         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
48413         * math/libm-test.inc (struct test_c_f_data): New type.
48414         (RUN_TEST_LOOP_c_f): New macro.
48415         (cabs_test_data): New variable.
48416         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
48417         (carg_test_data): New variable.
48418         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
48419         (cimag_test_data): New variable.
48420         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
48421         (creal_test_data): New variable.
48422         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
48424         * math/libm-test.inc (struct test_if_f_data): New type.
48425         (RUN_TEST_LOOP_if_f): New macro.
48426         (jn_test_data): New variable.
48427         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
48428         (yn_test_data): New variable.
48429         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
48431         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
48433 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48435         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
48436         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
48438 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
48440         * benchtests/Makefile (CPPFLAGS-nonlib): Add
48441         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
48442         (bench-deps): Add bench-timing.h.
48443         * benchtests-bench-skeleton.c: Include bench-timing.h.
48444         (main): Use TIMING_* macros instead of clock_gettime.
48445         * benchtests/bench-timing.h: New file.
48447         [BZ #14582]
48448         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
48449         Renamed from _LIB_VERSION.
48450         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
48452 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
48454         * math/libm-test.inc (struct test_fff_f_data): New type.
48455         (RUN_TEST_LOOP_fff_f): New macro.
48456         (fma_test_data): New variable.
48457         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
48458         (fma_towardzero_test_data): New variable.
48459         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
48460         (fma_downward_test_data): New variable.
48461         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
48462         (fma_upward_test_data): New variable.
48463         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
48465         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
48466         (struct test_c_c_data): New type.
48467         (RUN_TEST_LOOP_c_c): New macro.
48468         (cacos_test_data): New variable.
48469         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
48470         (cacosh_test_data): New variable.
48471         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
48472         (casin_test_data): New variable.
48473         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
48474         (casinh_test_data): New variable.
48475         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
48476         (catan_test_data): New variable.
48477         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
48478         (catanh_test_data): New variable.
48479         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
48480         (ccos_test_data): New variable.
48481         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
48482         (ccosh_test_data): New variable.
48483         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
48484         (cexp_test_data): New variable.
48485         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
48486         (clog_test_data): New variable.
48487         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
48488         (clog10_test_data): New variable.
48489         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
48490         (conj_test_data): New variable.
48491         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
48492         (cproj_test_data): New variable.
48493         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
48494         (csin_test_data): New variable.
48495         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
48496         (csinh_test_data): New variable.
48497         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
48498         (csqrt_test_data): New variable.
48499         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
48500         (ctan_test_data): New variable.
48501         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
48502         (ctan_tonearest_test_data): New variable.
48503         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
48504         (ctan_towardzero_test_data): New variable.
48505         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
48506         (ctan_downward_test_data): New variable.
48507         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
48508         (ctan_upward_test_data): New variable.
48509         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
48510         (ctanh_test_data): New variable.
48511         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
48512         (ctanh_tonearest_test_data): New variable.
48513         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
48514         (ctanh_towardzero_test_data): New variable.
48515         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
48516         (ctanh_downward_test_data): New variable.
48517         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
48518         (ctanh_upward_test_data): New variable.
48519         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
48520         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
48521         of BUILD_COMPLEX.
48523         * math/libm-test.inc (struct test_ff_f_data): New type.
48524         (struct test_ff_f_data_nexttoward): Likewise.
48525         (RUN_TEST_LOOP_2_f): New macro.
48526         (RUN_TEST_LOOP_ff_f): Likewise.
48527         (atan2_test_data): New variable.
48528         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
48529         (copysign_test_data): New variable.
48530         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
48531         (fdim_test_data): New variable.
48532         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
48533         (fmax_test_data): New variable.
48534         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
48535         (fmin_test_data): New variable.
48536         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
48537         (fmod_test_data): New variable.
48538         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
48539         (hypot_test_data): New variable.
48540         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
48541         (nextafter_test_data): New variable.
48542         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
48543         (nexttoward_test_data): New variable.
48544         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
48545         (pow_test_data): New variable.
48546         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
48547         (pow_tonearest_test_data): New variable.
48548         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
48549         (pow_towardzero_test_data): New variable.
48550         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
48551         (pow_downward_test_data): New variable.
48552         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
48553         (pow_upward_test_data): New variable.
48554         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
48555         (remainder_test_data): New variable.
48556         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
48557         (scalb_test_data): New variable.
48558         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
48559         * sysdeps/i386/fpu/libm-test-ulps: Update.
48561 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
48563         * math/libm-test.inc (fma_test): Use max_value instead of local
48564         variable fltmax.
48565         (nextafter_test): Likewise.
48567         * math/libm-test.inc (acos_towardzero_test_data): New variable.
48568         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48569         (acos_downward_test_data): New variable.
48570         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48571         (acos_upward_test_data): New variable.
48572         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48573         (acosh_test_data): New variable.
48574         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
48575         (asin_test_data): New variable.
48576         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
48577         (asin_tonearest_test_data): New variable.
48578         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48579         (asin_towardzero_test_data): New variable.
48580         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48581         (asin_downward_test_data): New variable.
48582         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48583         (asin_upward_test_data): New variable.
48584         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48585         (asinh_test_data): New variable.
48586         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
48587         (atan_test_data): New variable.
48588         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
48589         (atanh_test_data): New variable.
48590         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
48591         (cbrt_test_data): New variable.
48592         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
48593         (ceil_test_data): New variable.
48594         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
48595         (cos_test_data): New variable.
48596         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
48597         (cos_tonearest_test_data): New variable.
48598         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48599         (cos_towardzero_test_data): New variable.
48600         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48601         (cos_downward_test_data): New variable.
48602         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48603         (cos_upward_test_data): New variable.
48604         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48605         (cosh_test_data): New variable.
48606         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
48607         (cosh_tonearest_test_data): New variable.
48608         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48609         (cosh_towardzero_test_data): New variable.
48610         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48611         (cosh_downward_test_data): New variable.
48612         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48613         (cosh_upward_test_data): New variable.
48614         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48615         (erf_test_data): New variable.
48616         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
48617         (erfc_test_data): New variable.
48618         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
48619         (exp_test_data): New variable.
48620         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
48621         (exp_tonearest_test_data): New variable.
48622         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48623         (exp_towardzero_test_data): New variable.
48624         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48625         (exp_downward_test_data): New variable.
48626         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48627         (exp_upward_test_data): New variable.
48628         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48629         (exp10_test_data): New variable.
48630         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
48631         (exp2_test_data): New variable.
48632         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
48633         (expm1_test_data): New variable.
48634         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
48635         (fabs_test_data): New variable.
48636         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
48637         (floor_test_data): New variable.
48638         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
48639         (j0_test_data): New variable.
48640         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
48641         (j1_test_data): New variable.
48642         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
48643         (log_test_data): New variable.
48644         (log_test): Run tests with RUN_TEST_LOOP_f_f.
48645         (log10_test_data): New variable.
48646         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
48647         (log1p_test_data): New variable.
48648         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
48649         (log2_test_data): New variable.
48650         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
48651         (logb_test_data): New variable.
48652         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
48653         (logb_downward_test_data): New variable.
48654         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48655         (nearbyint_test_data): New variable.
48656         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
48657         (rint_test_data): New variable.
48658         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
48659         (rint_tonearest_test_data): New variable.
48660         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48661         (rint_towardzero_test_data): New variable.
48662         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48663         (rint_downward_test_data): New variable.
48664         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48665         (rint_upward_test_data): New variable.
48666         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48667         (round_test_data): New variable.
48668         (round_test): Run tests with RUN_TEST_LOOP_f_f.
48669         (sin_test_data): New variable.
48670         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
48671         (sin_tonearest_test_data): New variable.
48672         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48673         (sin_towardzero_test_data): New variable.
48674         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48675         (sin_downward_test_data): New variable.
48676         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48677         (sin_upward_test_data): New variable.
48678         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48679         (sinh_test_data): New variable.
48680         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
48681         (sinh_tonearest_test_data): New variable.
48682         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48683         (sinh_towardzero_test_data): New variable.
48684         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48685         (sinh_downward_test_data): New variable.
48686         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48687         (sinh_upward_test_data): New variable.
48688         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48689         (sqrt_test_data): New variable.
48690         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
48691         (tan_test_data): New variable.
48692         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
48693         (tan_tonearest_test_data): New variable.
48694         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48695         (tan_towardzero_test_data): New variable.
48696         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48697         (tan_downward_test_data): New variable.
48698         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48699         (tan_upward_test_data): New variable.
48700         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48701         (tanh_test_data): New variable.
48702         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
48703         (tgamma_test_data): New variable.
48704         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
48705         (trunc_test_data): New variable.
48706         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
48707         (y0_test_data): New variable.
48708         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
48709         (y1_test_data): New variable.
48710         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
48711         (significand_test_data): New variable.
48712         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
48714 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
48716         [BZ #12387]
48717         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
48719 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
48721         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
48723 2013-05-10  Andreas Jaeger  <aj@suse.de>
48725         [BZ #15448]
48726         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
48727         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
48729 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
48731         * math/gen-libm-test.pl (adjust_arg): New function.
48732         (special_functions): Handle generating output in both functions
48733         and arrays.
48734         (parse_args): Likewise.
48735         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
48736         $in_func argument to parse_args.
48737         * math/libm-test.inc (struct test_f_f_data): New type.
48738         (IF_ROUND_INIT_): New macro.
48739         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
48740         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
48741         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
48742         (IF_ROUND_INIT_FE_UPWARD): Likewise.
48743         (ROUND_RESTORE_): Likewise.
48744         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
48745         (ROUND_RESTORE_FE_TONEAREST): Likewise.
48746         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
48747         (ROUND_RESTORE_FE_UPWARD): Likewise.
48748         (RUN_TEST_LOOP_f_f): New macro.
48749         (acos_test_data): New variable.
48750         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
48751         (acos_tonearest_test_data): New variable.
48752         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48754 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
48756         * benchtests/bench-skeleton.c (startup): Fix coding style.
48758 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
48760         [BZ #6809]
48761         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
48762         negative infinity argument.
48763         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
48764         negative infinity argument.
48765         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
48766         negative infinity argument.
48767         * math/libm-test.inc (tgamma_test): Expect errno to be set for
48768         domain errors.
48770 2013-05-10  Florian Weimer  <fweimer@redhat.com>
48772         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
48773         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
48774         * iconv/iconv_prog.c (main): Likewise.
48775         * locale/programs/charmap-dir.c (charmap_readdir)
48776         (fopen_uncompressed): Likewise.
48777         * locale/programs/locfile.c (siblings_uncached)
48778         (write_locale_data): Use lstat64 instead of lstat.
48779         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
48780         stat.
48782 2013-05-10  Andreas Jaeger  <aj@suse.de>
48784         [BZ #15395]
48785         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
48786         localization.
48787         Include <locale.h>.
48789 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
48791         * elf/dl-close.c (_dl_close_worker): Add comments.
48793 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
48795         [BZ #15359]
48796         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
48797         high part of pi/2.
48798         (__ieee754_rem_pio2l): Update comments.
48800         [BZ #15429]
48801         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
48802         high part of pi/2.
48803         (__ieee754_rem_pio2l): Update comments.
48805         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
48806         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
48808         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
48809         M_PI_4l.
48811         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
48812         (M_PI_34_LOG10El): Likewise.
48813         (M_PI2_LOG10El): Likewise.
48814         (M_PI4_LOG10El): Likewise.
48815         (M_PI_LOG10El): Likewise.
48817 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48819         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48821 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
48823         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
48824         (MINUS_ZERO_INIT): Likewise.
48825         (PLUS_INFTY_INIT): Likewise.
48826         (MINUS_INFTY_INIT): Likewise.
48827         (QNAN_VALUE_INIT): Likewise.
48828         (MAX_VALUE_INIT): Likewise.
48829         (MIN_VALUE_INIT): Likewise.
48830         (MIN_SUBNORM_VALUE_INIT): Likewise.
48831         (plus_zero): Initialize with PLUS_ZERO_INIT.
48832         (minus_zero): Initialize with MINUS_ZERO_INIT.
48833         (plus_infty): Initialize with PLUS_INFTY_INIT.
48834         (minus_infty): Initialize with MINUS_INFTY_INIT.
48835         (qnan_value): Initialize with QNAN_VALUE_INIT.
48836         (max_value): Initialize with MAX_VALUE_INIT.
48837         (min_value): Initialize with MIN_VALUE_INIT.
48838         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
48840         * math/libm-test.inc (RUN_TEST_if_f): New macro.
48841         (jn_test): Use TEST_if_f instead of TEST_ff_f.
48842         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
48843         (yn_test): Use TEST_if_f instead of TEST_ff_f.
48845         * math/libm-test.inc (RUN_TEST_f_f): New macro.
48846         (RUN_TEST_2_f): Likewise.
48847         (RUN_TEST_ff_f): Likewise.
48848         (RUN_TEST_fi_f): Likewise.
48849         (RUN_TEST_fl_f): Likewise.
48850         (RUN_TEST_fff_f): Likewise.
48851         (RUN_TEST_c_f): Likewise.
48852         (RUN_TEST_f_f1): Likewise.
48853         (RUN_TEST_fF_f1): Likewise.
48854         (RUN_TEST_fI_f1): Likewise.
48855         (RUN_TEST_ffI_f1): Likewise.
48856         (RUN_TEST_c_c): Likewise.
48857         (RUN_TEST_cc_c): Likewise.
48858         (RUN_TEST_f_i): Likewise.
48859         (RUN_TEST_f_i_tg): Likewise.
48860         (RUN_TEST_ff_i_tg): Likewise.
48861         (RUN_TEST_f_b): Likewise.
48862         (RUN_TEST_f_b_tg): Likewise.
48863         (RUN_TEST_f_l): Likewise.
48864         (RUN_TEST_f_L): Likewise.
48865         (RUN_TEST_sincos): Likewise.
48866         * math/gen-libm-test.pl (new_test): Take new argument to indicate
48867         whether to show exceptions.  Do not include ");\n" in return
48868         value.
48869         (special_functions): Output call to RUN_TEST_sincos instead of
48870         check_float calls.  Update calls to new_test.
48871         (parse_args): Output call to single RUN_TEST_* macro instead of
48872         check_* calls and other assignments.  Update calls to new_test.
48874         [BZ #2546]
48875         [BZ #2560]
48876         [BZ #5159]
48877         [BZ #15426]
48878         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
48879         input to result for tgamma overflow.
48880         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
48881         (gamma_coeff): New variable.
48882         (NCOEFF): New macro.
48883         (gamma_positive): New function.
48884         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
48885         underflow here.  Use gamma_positive instead of exp (lgamma) for
48886         other arguments.
48887         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
48888         (gamma_coeff): New variable.
48889         (NCOEFF): New macro.
48890         (gammaf_positive): New function.
48891         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
48892         underflow here.  Use gamma_positive instead of exp (lgamma) for
48893         other arguments.
48894         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
48895         (gamma_coeff): New variable.
48896         (NCOEFF): New macro.
48897         (gammal_positive): New function.
48898         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
48899         underflow here.  Use gamma_positive instead of exp (lgamma) for
48900         other arguments.
48901         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
48902         (gamma_coeff): New variable.
48903         (NCOEFF): New macro.
48904         (gammal_positive): New function.
48905         (__ieee754_gammal_r): Handle positive infinity, overflow and
48906         underflow here.  Handle NaN the same as positive infinity.  Remove
48907         check x < 0xffffffff for negative integers.  Use gamma_positive
48908         instead of exp (lgamma) for other arguments.
48909         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
48910         (gamma_coeff): New variable.
48911         (NCOEFF): New macro.
48912         (gammal_positive): New function.
48913         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
48914         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
48915         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
48916         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
48917         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
48918         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
48919         * sysdeps/generic/math_private.h (__gamma_productf): New
48920         prototype.
48921         (__gamma_product): Likewise.
48922         (__gamma_productl): Likewise.
48923         * math/Makefile (libm-calls): Add gamma_product.
48924         * math/libm-test.inc (tgamma_test): Add more tests.
48925         * sysdeps/i386/fpu/libm-test-ulps: Update.
48926         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48928 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
48930         * benchtests/bench-skeleton.c (main): Preheat CPU.
48932 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
48934         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
48936 2013-05-07  Roland McGrath  <roland@hack.frob.com>
48938         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
48939         and _dl_skip_args_internal.
48941 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
48943         * manual/message.texi (Message Translation): Talk about users.
48944         Message to key mapping impacts design.
48946 2013-05-06  Roland McGrath  <roland@hack.frob.com>
48948         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
48950         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
48952         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
48953         * sysdeps/wordsize-64/glob64.c: ... here.
48955         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
48956         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
48957         New macros.
48959         * debug/getlogin_r_chk.c: Moved to ...
48960         * login/getlogin_r_chk.c: ... here.
48961         * debug/Makefile (routines): Move getlogin_r_chk to ...
48962         * login/Makefile (routines): ... here.
48963         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
48964         * login/Versions (libc: GLIBC_2.4): ... here.
48966         * io/poll.c (__poll): Renamed from poll.
48967         Add libc_hidden_def.
48968         (poll): Define as weak alias.
48970         * debug/ptsname_r_chk.c: Moved to ...
48971         * login/ptsname_r_chk.c: ... here.
48972         * debug/Makefile (routines): Move ptsname_r_chk to ...
48973         * login/Makefile (routines): ... here.
48974         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
48975         * login/Versions (libc: GLIBC_2.4): ... here.
48977         * posix/getlogin.c: Moved to ...
48978         * login/getlogin.c: ... here.
48979         * posix/getlogin_r.c: Moved to ...
48980         * login/getlogin_r.c: ... here.
48981         * posix/getlogin_r.c: Moved to ...
48982         * login/getlogin_r.c: ... here.
48983         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
48984         * login/Makefile (routines): ... here.
48985         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
48986         * login/Versions (libc: GLIBC_2.0): ... here.
48988         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
48989         (setrlimit): Define as weak alias.
48991         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
48992         Call __ names for open, ftruncate, and close.
48993         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
48994         (truncate): Define as weak alias.
48996 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
48998         * math/gen-libm-test.pl (parse_args): Initialize x before each
48999         test of frexp, modf and remquo.
49001         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
49002         test signgam value.
49004 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49006         [BZ #15418]
49007         [BZ #15419]
49008         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
49009         internal tests.
49010         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
49012 2013-05-06  Roland McGrath  <roland@hack.frob.com>
49014         * elf/dl-writev.h: New file.
49015         * elf/dl-misc.c: Include it.
49016         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
49017         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
49019 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
49021         * math/libm-test.inc (noXFails): Remove variable.
49022         (noXPasses): Likewise.
49023         (BUILD_COMPLEX_INT): Remove macro.
49024         (print_screen): Remove xfail argument.
49025         (print_screen_max_error): Likewise.
49026         (update_stats): Likewise.
49027         (print_max_error): Likewise.  Update calls to other affected
49028         functions.
49029         (print_complex_max_error): Likewise.
49030         (test_single_exception): Update calls to print_screen.
49031         (test_single_errno): Likewise.
49032         (check_float_internal): Remove xfail argument.  Update calls to
49033         other affected functions.
49034         (check_float): Likewise.
49035         (check_complex): Likewise.
49036         (check_int): Likewise.
49037         (check_long): Likewise.
49038         (check_bool): Likewise.
49039         (check_longlong): Likewise.
49040         (main): Don't print noXFails and noXPasses.
49041         * math/gen-libm-test.pl (top level): Don't mention expected
49042         failure handling in comment.
49043         (new_test): Don't handle expected failures.
49044         (parse_args): Don't mention expected failure handling in comment.
49045         (generate_testfile): Don't handle expected failures.
49046         (parse_ulps): Likewise.
49047         (print_ulps_file): Likewise.
49048         (get_failure): Remove function.
49049         (output_test): Don't handle expected failures.
49050         * make/README.libm-test: Don't mention expected failure handling.
49052         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
49053         (minus_zero): Likewise.
49054         (plus_infty): Likewise.
49055         (minus_infty): Likewise.
49056         (qnan_value): Likewise.
49057         (max_value): Likewise.
49058         (min_value): Likewise.
49059         (min_subnorm_value): Likewise.
49060         (initialize): Do not initialize those variables dynamically.
49062 2013-05-03  Roland McGrath  <roland@hack.frob.com>
49064         * io/open.c (__open_2): Moved to ...
49065         * io/open_2.c: ... this new file.
49066         * io/open64.c (__open64_2): Moved to ...
49067         * io/open64_2.c: ... this new file.
49068         * io/openat.c (__openat_2): Moved to ...
49069         * io/openat_2.c: ... this new file.
49070         * io/openat64.c (__openat64_2): Moved to ...
49071         * io/openat64_2.c: ... this new file.
49072         * io/Makefile (routines): Add them.
49073         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
49074         * sysdeps/unix/sysv/linux/open_2.c: File removed.
49075         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
49076         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
49077         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
49078         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
49079         (__openat64): Add hidden_ver.
49080         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
49081         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
49083         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
49084         Separately conditionalize setting of GLRO(dl_sysinfo) so
49085         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
49086         as well, but the actual setting is only under [NEED_DL_SYSINFO].
49088 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49090         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
49091         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
49092         definition.
49093         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
49094         * sysdeps/unix/sysv/linux/powerpc/init-first.c
49095         (_libc_vdso_platform_setup): Add __vdso_time initialization.
49096         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
49097         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
49099 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
49101         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
49102         test signgam value.
49104         * math/libm-test.inc (hypot_test): Do not use
49105         IGNORE_ZERO_INF_SIGN.
49107 2013-05-03  Andreas Jaeger  <aj@suse.de>
49109         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
49110         Linux 3.9.
49111         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
49112         (PF_MAX): Adjust for VSOCK change.
49114 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49116         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49118 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
49120         [BZ #15264]
49121         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
49122         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
49123         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
49125 2013-05-02  David S. Miller  <davem@davemloft.net>
49127         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49129 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
49131         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
49133 2013-05-01  Roland McGrath  <roland@hack.frob.com>
49135         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
49137 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
49139         [BZ #14952]
49140         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
49141         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
49142         Use __attribute__ ((__gnu_inline__)).
49143         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
49144         Don't use __attribute__ ((__gnu_inline__)).
49146 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
49148         [BZ #15423]
49149         * math/s_catan.c (__catan): Handle small real or imaginary part of
49150         input specially to avoid spurious underflow.
49151         * math/s_catanf.c (__catanf): Likewise.
49152         * math/s_catanh.c (__catanh): Likewise.
49153         * math/s_catanhf.c (__catanhf): Likewise.
49154         * math/s_catanhl.c (__catanhl): Likewise.
49155         * math/s_catanl.c (__catanl): Likewise.
49156         * math/libm-test.inc (catan_test): Add more tests.
49157         (catanh_test): Likewise.
49158         * sysdeps/i386/fpu/libm-test-ulps: Update.
49159         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49161 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49163         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49165 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
49167         [BZ #15416]
49168         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
49169         accurately for denominator in atan2.
49170         * math/s_catanf.c (__catanf): Likewise.
49171         * math/s_catanh.c (__catanh): Likewise.
49172         * math/s_catanhf.c (__catanhf): Likewise.
49173         * math/s_catanhl.c (__catanhl): Likewise.
49174         * math/s_catanl.c (__catanl): Likewise.
49175         * math/libm-test.inc (catan_test): Add more tests.
49176         (catanh_test): Likewise.
49177         * sysdeps/i386/fpu/libm-test-ulps: Update.
49178         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49180 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
49182         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
49184         * benchtests/Makefile (bench): Remove slow benchmarks.
49185         * benchtests/atan-inputs: Add slow benchmark inputs.
49186         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
49187         (BENCH_FUNC): Accept variant offset.
49188         (VARIANT): Define.
49189         * benchtests/bench-skeleton.c (main): Run benchmark for each
49190         variant.
49191         * benchtests/cos-inputs: Add slow benchmark inputs.
49192         * benchtests/exp-inputs: Likewise.
49193         * benchtests/pow-inputs: Likewise.
49194         * benchtests/sin-inputs: Likewise.
49195         * benchtests/slowatan-inputs: Remove.
49196         * benchtests/slowatan.c: Remove.
49197         * benchtests/slowcos-inputs: Remove.
49198         * benchtests/slowcos.c: Remove.
49199         * benchtests/slowexp-inputs: Remove.
49200         * benchtests/slowexp.c: Remove.
49201         * benchtests/slowpow-inputs: Remove.
49202         * benchtests/slowpow.c: Remove.
49203         * benchtests/slowsin-inputs: Remove.
49204         * benchtests/slowsin.c: Remove.
49205         * benchtests/slowtan-inputs: Remove.
49206         * benchtests/slowtan.c: Remove.
49207         * benchtests/tan-inputs: Add slow benchmark inputs.
49208         * scripts/bench.pl: Parse comments and directives.
49210         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
49211         in CPPFLAGS.
49212         ($(objpfx)bench-%.c): Remove *-ITER.
49213         * benchtests/bench-modf.c: Remove definition of ITER.
49214         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
49215         (main): Loop for DURATION seconds instead of fixed number of
49216         iterations.
49217         * scripts/bench.pl: Don't expect iterations in parameters.
49219 2013-04-29  Roland McGrath  <roland@hack.frob.com>
49221         * io/fchdir.c (__fchdir): Renamed from fchdir.
49222         (fchdir): Define as weak alias.
49224 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
49226         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
49227         (ERRNO_EDOM): Likewise.
49228         (ERRNO_ERANGE): Likewise.
49229         (noErrnoTests): New variable.
49230         (init_max_error): Set errno to 0.
49231         (test_single_errno): New function.
49232         (test_errno): Likewise.
49233         (check_float_internal): Call test_errno.  Set errno to 0.
49234         (check_complex): Refer to errno tests in comment.
49235         (check_int): Call test_errno.  Set errno to 0.
49236         (check_long): Likewise.
49237         (check_bool): Likewise.
49238         (check_longlong): Likewise.
49239         (cos_test): Use ERRNO_* flags for errno tests instead of
49240         check_int.
49241         (expm1_test): Likewise.
49242         (fmod_test): Likewise.
49243         (ilogb_test): Likewise.
49244         (lgamma_test): Likewise.
49245         (pow_test): Likewise.
49246         (remainder_test): Likewise.
49247         (sin_test): Likewise.
49248         (tan_test): Likewise.
49249         (yn_test): Likewise.
49250         (initialize): Set errno to 0.
49251         (main): Print number of errno tests.
49252         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
49254 2013-04-29  Andreas Jaeger  <aj@suse.de>
49256         [BZ #15084]
49257         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
49258         and RES_USEVC.
49260         [BZ #15085]
49261         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
49262         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
49263         unimplemented.
49265         [BZ #15380]
49266         * stdlib/random.c (__initstate): Return NULL if
49267         __initstate fails.
49269         [BZ #15086]
49270         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
49271         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
49272         RES_SNGLKUPREOP.
49274 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49276         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49278 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
49280         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
49281         of individual tests.
49282         (casin_test): Likewise.
49283         (casinh_test): Likewise.
49285 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
49287         [BZ #15409]
49288         * math/s_catan.c (__catan): Handle arguments with large real or
49289         imaginary part separately without squaring.
49290         * math/s_catanf.c (__catanf): Likewise.
49291         * math/s_catanh.c (__catanh): Likewise.
49292         * math/s_catanhf.c (__catanhf): Likewise.
49293         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
49294         and redefine.
49295         (__catanhl): Handle arguments with large real or imaginary part
49296         separately without squaring.
49297         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
49298         and redefine.
49299         (__catanl): Handle arguments with large real or imaginary part
49300         separately without squaring.
49301         * math/libm-test.inc (catan_test): Add more tests.
49302         (catanh_test): Likewise.
49303         * sysdeps/i386/fpu/libm-test-ulps: Update.
49304         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49306 2013-04-27  Andreas Jaeger  <aj@suse.de>
49308         [BZ #15007]
49309         * stdlib/stdlib.h: Update guards for qecvt.
49310         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
49311         <stdlib.h>.
49313 2013-04-27  Allan McRae  <allan@archlinux.org>
49315         * sysdeps/i386/fpu/libm-test-ulps: Update.
49317 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
49319         [BZ #15406]
49320         * math/s_catan.c: Include <float.h>.
49321         (__catan): Ensure underflow exception occurs for underflowed
49322         result.
49323         * math/s_catanf.c: Include <float.h>.
49324         (__catanf): Ensure underflow exception occurs for underflowed
49325         result.
49326         * math/s_catanh.c: Include <float.h>.
49327         (__catanh): Ensure underflow exception occurs for underflowed
49328         result.
49329         * math/s_catanhf.c: Include <float.h>.
49330         (__catanhf): Ensure underflow exception occurs for underflowed
49331         result.
49332         * math/s_catanhl.c: Include <float.h>.
49333         (__catanhl): Ensure underflow exception occurs for underflowed
49334         result.
49335         * math/s_catanl.c: Include <float.h>.
49336         (__catanl): Ensure underflow exception occurs for underflowed
49337         result.
49338         * math/libm-test.inc (catan_test): Add more tests.
49339         (catanh_test): Likewise.
49341         [BZ #15405]
49342         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
49343         underflowed result.
49344         * math/s_ccoshf.c (__ccoshf): Likewise.
49345         * math/s_ccoshl.c (__ccoshl): Likewise.
49346         * math/s_csin.c (__csin): Likewise.
49347         * math/s_csinf.c (__csinf): Likewise.
49348         * math/s_csinh.c (__csinh): Likewise.
49349         * math/s_csinhf.c (__csinhf): Likewise.
49350         * math/s_csinhl.c (__csinhl): Likewise.
49351         * math/s_csinl.c (__csinl): Likewise.
49352         * math/libm-test.inc (ccos_test): Add more tests.
49353         (ccosh_test): Likewise.
49354         (csin_test): Likewise.
49355         (csinh_test): Likewise.
49357 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49359         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
49360         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
49361         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
49362         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
49363         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
49364         powerpc/power5+/fpu folders.
49365         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
49368 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
49370         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49372 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
49374         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
49375         additions to variable.
49376         [$(config-machine) = x86_64] (modules-names): Likewise.
49377         ($(objpfx)tst-audit3): Remove dependency.
49378         ($(objpfx)tst-audit3.out): Likewise.
49379         ($(objpfx)tst-audit4): Likewise.
49380         ($(objpfx)tst-audit4.out): Likewise.
49381         ($(objpfx)tst-audit5): Likewise.
49382         ($(objpfx)tst-audit5.out): Likewise.
49383         ($(objpfx)tst-audit6): Likewise.
49384         ($(objpfx)tst-audit6.out): Likewise.
49385         ($(objpfx)tst-audit7): Likewise.
49386         ($(objpfx)tst-audit7.out): Likewise.
49387         (tst-audit3-ENV): Remove variable.
49388         (tst-audit4-ENV): Likewise.
49389         (tst-audit5-ENV): Likewise.
49390         (tst-audit6-ENV): Likewise.
49391         (tst-audit7-ENV): Likewise.
49392         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
49393         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
49394         addition to variable.
49395         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
49396         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
49397         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
49398         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
49399         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
49400         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
49401         tst-audit3, tst-audit4 and tst-audit5.
49402         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
49403         tst-audit6 and tst-audit7.
49404         [$(subdir) = elf] (modules-names): Add audit modules for those
49405         tests.
49406         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
49407         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
49408         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
49409         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
49410         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
49411         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
49412         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
49413         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
49414         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
49415         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
49416         [$(subdir) = elf] (tst-audit3-ENV): New variable.
49417         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
49418         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
49419         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
49420         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
49421         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
49422         Likewise.
49423         [$(subdir) = elf && $(config-cflags-avx) = yes]
49424         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
49425         [$(subdir) = elf && $(config-cflags-avx) = yes]
49426         (CFLAGS-tst-auditmod4a.c): Likewise.
49427         [$(subdir) = elf && $(config-cflags-avx) = yes]
49428         (CFLAGS-tst-auditmod4b.c): Likewise.
49429         [$(subdir) = elf && $(config-cflags-avx) = yes]
49430         (CFLAGS-tst-auditmod6b.c): Likewise.
49431         [$(subdir) = elf && $(config-cflags-avx) = yes]
49432         (CFLAGS-tst-auditmod6c.c): Likewise.
49433         [$(subdir) = elf && $(config-cflags-avx) = yes]
49434         (CFLAGS-tst-auditmod7b.c): Likewise.
49435         * elf/tst-audit3.c: Move to ...
49436         * sysdeps/x86_64/tst-audit3.c: ... here.
49437         * elf/tst-audit4.c: Move to ...
49438         * sysdeps/x86_64/tst-audit4.c: ... here.
49439         * elf/tst-audit5.c: Move to ...
49440         * sysdeps/x86_64/tst-audit5.c: ... here.
49441         * elf/tst-audit6.c: Move to ...
49442         * sysdeps/x86_64/tst-audit6.c: ... here.
49443         * elf/tst-audit7.c: Move to ...
49444         * sysdeps/x86_64/tst-audit7.c: ... here.
49445         * elf/tst-auditmod3a.c: Move to ...
49446         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
49447         * elf/tst-auditmod3b.c: Move to ...
49448         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
49449         * elf/tst-auditmod4a.c: Move to ...
49450         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
49451         * elf/tst-auditmod4b.c: Move to ...
49452         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
49453         * elf/tst-auditmod5a.c: Move to ...
49454         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
49455         * elf/tst-auditmod5b.c: Move to ...
49456         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
49457         * elf/tst-auditmod6a.c: Move to ...
49458         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
49459         * elf/tst-auditmod6b.c: Move to ...
49460         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
49461         * elf/tst-auditmod6c.c: Move to ...
49462         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
49463         * elf/tst-auditmod7a.c: Move to ...
49464         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
49465         * elf/tst-auditmod7b.c: Move to ...
49466         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
49468 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
49470         [BZ #15366]
49471         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
49472         define unconditionally.
49473         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
49474         define unconditionally.
49475         (INT8_C, INT16_C, etc.): Likewise.
49477 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
49479         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
49480         __ehdr_start with hidden visibility.
49482         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
49484 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
49486         * math/libm-test.inc (cos_test): Use accurate hex constants.
49487         (sincost_test): Likewise.
49489 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
49491         * math/libm-test.inc (catan_test): Add more tests.
49492         (catanh_test): Likewise.
49494         * math/s_catanf.c (__catanf): Use suffixed floating-point
49495         constants.
49496         * math/s_catanhf.c (__catanhf): Likewise.
49497         * math/s_catanhl.c (__catanhl): Likewise.
49498         * math/s_catanl.c (__catanl): Likewise.
49500         [BZ #15394]
49501         * math/s_catan.c (__catan): Calculate imaginary part of result
49502         with log1p not log unless computing log of number close to 0.
49503         * math/s_catanf.c (__catanf): Likewise.
49504         * math/s_catanl.c (__catanl): Likewise.
49505         * math/s_catanh.c (__catanh): Calculate real part of result with
49506         log1p not log unless computing log of number close to 0.
49507         * math/s_catanhf.c (__catanhf): Likewise.
49508         * math/s_catanhl.c (__catanhl): Likewise.
49509         * math/libm-test.inc (catan_test): Add more tests.
49510         (catanh_test): Likewise.
49511         * sysdeps/i386/fpu/libm-test-ulps: Update.
49512         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49514 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
49516         * benchtests/Makefile: Mention files in which fast and slow
49517         paths of math functions are implemented.
49519 2013-04-23  Roland McGrath  <roland@hack.frob.com>
49521         * sysdeps/posix/timespec_get.c: New file.
49523 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49525         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
49526         POWER.
49527         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
49528         for POWER.
49529         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
49530         powerpc/power5/fpu folders.
49531         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
49532         * benchtests/Makefile: Add modf testcase.
49533         * benchtests/bench-modf.c: New file: Benchmark test for mo
49535 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
49537         [BZ #14888]
49538         * time/Makefile (tests): Add tst-strptime-whitespace.
49539         * time/strptime_l.c (get_number): Use ISSPACE.
49540         (__strptime_internal): Likewise.
49541         * time/tst-strptime-whitespace.c: New test case.
49543 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
49545         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
49546         member.
49547         (_nss_files_init): Set it here.
49549 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
49551         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
49552         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
49553         unsigned.
49555 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
49557         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
49559 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
49561         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
49562         size just once.
49564 2013-04-21  David S. Miller  <davem@davemloft.net>
49566         * po/ru.po: Update Russion translation from translation project.
49568 2013-04-17  Adam Conrad  <adconrad@0c3.net>
49570         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
49571         and setfsgid.
49573 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
49575         * configure.in: Remove i386 configure warning. Remove i386 case.
49576         * configure: Regenerate.
49577         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
49578         Add example to error message.
49579         * sysdeps/i386/configure: Regenerate.
49581 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
49583         * benchtests/Makefile (bench): Add cos, tan, slowcos and
49584         slowtan.
49585         * benchtests/cos-inputs: New file.
49586         * benchtests/slowcos-inputs: New file.
49587         * benchtests/slowcos.c: New file.
49588         * benchtests/slowtan-inputs: New file.
49589         * benchtests/slowtan.c: New file.
49590         * benchtests/tan-inputs: New file.
49592 2013-04-16  Roland McGrath  <roland@hack.frob.com>
49594         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
49595         considered kosher.
49597 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
49599         * benchtests/Makefile: Include cppflags-iterator.mk to add
49600         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
49602         * Makefile.in (bench-clean): New target.
49603         * benchtests/Makefile (bench-clean): Likewise.
49605 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
49607         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
49609 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
49611         * stdio-common/tstdiomisc.c: Fix coding-style violation.
49613 2013-04-15  Andreas Schwab  <schwab@suse.de>
49615         * nscd/grpcache.c (cache_addgr): Properly check for short write.
49616         * nscd/initgrcache.c (addinitgroupsX): Likewise.
49617         * nscd/pwdcache.c (cache_addpw): Likewise.
49618         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
49619         more than recsize.
49621 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
49623         * benchtests/Makefile (bench): Write all output to
49624         bench-out.tmp together.
49626 2013-04-15  Andreas Schwab  <schwab@suse.de>
49628         * nscd/nscd.c (main): Don't fork again after closing files.
49630 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
49632         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
49634         * benchtests/Rules (bench-deps): Collect dependencies into a
49635         single variable.  Add Makefile to dependencies.
49636         ($(objpfx)bench-%.c): Depend on bench-deps.
49638 2013-04-12  Roland McGrath  <roland@hack.frob.com>
49639             Xavier Roche  <roche+kml2@exalead.com>
49641         [BZ #15361]
49642         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
49643         just that it's a file descriptor.
49644         * manual/llio.texi (Synchronizing AIO Operations): Update description
49645         for EBADF error from aio_fsync.
49647 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
49649         * Rules (bench): Move target definition...
49650         * benchtests/Makefile: ... here.
49652 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
49654         * math/libm-test.inc (cos_test): Fix PI/2 test.
49655         (sincos_test): Likewise.
49656         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
49657         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
49659 2013-04-11  Andreas Schwab  <schwab@suse.de>
49661         [BZ #13988]
49662         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
49663         accept exponent character only when digits were seen.
49664         * stdio-common/Makefile (tests): Add bug26.
49665         * stdio-common/bug26.c: New file.
49667         [BZ #14293]
49668         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
49669         non-freeable.
49671 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49673         * Makeconfig (rtld-prefix): Define built linker prefix.
49674         * Rules (run-bench): Use it.
49675         * math/Makefile (run-regen-ulps): Likewise.
49677         * Rules (bench): Remove eval.
49679 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
49680             Roland McGrath  <roland@hack.frob.com>
49681             Ondrej Bilka  <neleai@seznam.cz>
49683         [BZ #15346]
49684         * time/getdate.c: Include ctype.h and alloca.h.
49685         (__getdate_r): Trim leading and trailing spaces of input.
49686         * time/tst-getdate.c (tests): Add tests with leading and
49687         trailing spaces.
49689 2013-04-08  Roland McGrath  <roland@hack.frob.com>
49691         [BZ #14280]
49692         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
49693         when computing value.
49695 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
49697         * math/README.libm-test (How can I generate "libm-test-ulps"?):
49698         Use testrun.sh to run libm tests.
49700         [BZ #15309]
49701         * elf/dl-open.c (dl_open_worker): memset all of seen array.
49703 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
49705         [BZ #15264]
49706         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
49708 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
49710         * Makefile.in (regen-ulps): New target.
49711         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
49712         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
49713         [ifneq (no,$(PERL)] (regen-ulps): New target.
49714         [ifeq (no,$(PERL)] (regen-ulps): New target.
49715         * math/libm-test.inc (ulps_file_name): Define.
49716         (output_dir): New variable.
49717         (options): Add "output-dir" option.
49718         (parse_opt): Handle 'o' case.
49719         (main): If output_dir is non-NULL use it as a prefix
49720         otherwise use "".
49721         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
49723 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
49725         [BZ #10060, #10062]
49726         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
49727         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
49728         fail configure if __sync_val_compare_and_swap is not inlined.
49729         * sysdeps/i386/configure: Regenerate.
49730         * configure.in: Build for i686 when configured for i386.
49731         * configure: Regenerate.
49732         * README: Remove i386 reference.
49734 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
49736         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
49737         * sysdeps/s390/s390-64/sysdep.h: Likewise.
49739 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
49741         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
49742         (lmsnanval): New variables.
49743         (F): Add conversion tests.
49744         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
49745         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
49747         * stdio-common/tstdiomisc.c (F): Properly collect individual
49748         tests' results.
49750         [BZ #14686, #15336]
49751         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
49752         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
49753         Instead, use input NaN values or generate a qNaN by arithmetic
49754         operation.  Also fix bugs to comply with the standard.
49755         * math/libm-test.inc (remainder_test): Add more tests.
49757         [BZ #15335, #15342]
49758         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
49759         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
49760         input NaN values or generate a qNaN by arithmetic operation.
49762         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
49763         unreachable code.
49765         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
49766         definitions.
49768 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
49770         [BZ #14478]
49771         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
49772         underflowed result.
49773         * math/s_cexpf.c (__cexpf): Likewise.
49774         * math/s_cexpl.c (__cexpl): Likewise.
49775         * math/libm-test.inc (cexp_test): Add more tests.
49777 2013-04-03  Andreas Schwab  <schwab@suse.de>
49779         [BZ #15330]
49780         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
49781         order arrays from heap if bigger than alloca cutoff.
49783 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
49785         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
49786         (SNAN_TESTS_double): Refer to GCC PR56831.
49787         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
49788         GCC PR56828.
49790 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
49792         * Rules (bench): Move bench.out after the run is complete.
49794         * Rules (bench): Echo currently running benchmark.
49796         * benchtests/Makefile (bench): Add atan and slowatan.
49797         * benchtests/atan-inputs: New file.
49798         * benchtests/slowatan-inputs: New file.
49799         * benchtests/slowatan.c: New file.
49801         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
49802         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
49803         its value.
49805         [BZ #15305]
49806         * sysdeps/unix/sysv/linux/kernel-features.h
49807         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
49808         __ASSUME_XFS_RESTRICTED_CHOWN.
49809         * sysdeps/unix/sysv/linux/pathconf.c
49810         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
49811         Save and restore errno.
49813 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
49815         [BZ #15327]
49816         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
49817         arguments using __kernel_casinh.
49818         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
49819         arguments using __kernel_casinhf.
49820         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
49821         arguments using __kernel_casinhl.
49822         * math/libm-test.inc (cacosh_test): Add more tests.
49823         * sysdeps/i386/fpu/libm-test-ulps: Update.
49824         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49826 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
49828         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
49829         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
49831         * bench/Makefile (bench): Add sin and slowsin.
49832         * benchtests/sin-inputs: New file.
49833         * benchtests/slowsin-inputs: New file.
49834         * benchtests/slowsin.c: New file.
49836         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
49837         (bench): Add slowexp and slowpow.
49838         (exp-ITER): Increase iterations.
49839         (pow-ITER): Likewise.
49840         * benchtests/exp-inputs: Change input.
49841         * benchtests/pow-inputs: Likewise.
49842         * benchtests/slowexp-inputs: New file.
49843         * benchtests/slowexp.c: New file.
49844         * benchtests/slowpow-inputs: New file.
49845         * benchtests/slowpow.c: New file.
49847 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49849         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
49850         instructions.
49851         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
49852         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
49853         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
49854         * benchtests/Makefile: Add rint benchtest.
49855         * benchtests/rint-inputs: Input for rint benchtest.
49857 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
49859         * Versions.def (libm): Add GLIBC_2.18.
49860         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
49861         hidden libm prototypes.
49862         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
49863         * math/Makefile (libm-calls): Add s_issignaling.
49864         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
49865         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
49866         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
49867         declaration.
49868         * math/math.h [__USE_GNU] (issignaling): New macro.
49869         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
49870         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
49871         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
49872         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
49873         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
49874         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
49875         * manual/arith.texi (issignaling): New section.
49876         * manual/libm-err-tab.pl (@all_functions): Update comment.
49877         * math/gen-libm-test.pl (parse_args): Apply special handling for
49878         issignaling.
49879         * math/libm-test.inc (print_float, issignaling_test): New
49880         functions.
49881         (check_float_internal): Add issignaling checks.
49882         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
49883         default definition.
49884         * sysdeps/powerpc/math-tests.h: New file.
49885         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
49886         tests.
49887         * math/test-snan.c (TEST_FUNC): Likewise.
49889 2013-03-30  David S. Miller  <davem@davemloft.net>
49891         * po/de.po: Update from translation team.
49893 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
49895         [BZ #10357]
49896         * math/k_casinh.c (__kernel_casinh): Handle arguments with
49897         imaginary part less than 1.0 and real part less than 0.5
49898         specially.
49899         * math/k_casinhf.c (__kernel_casinhf): Likewise.
49900         * math/k_casinhl.c (__kernel_casinhl): Likewise.
49901         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
49902         (cacos_test): Add more tests.
49903         (casin_test): Likewise.
49904         (casinh_test): Likewise.
49905         * sysdeps/i386/fpu/libm-test-ulps: Update.
49906         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49908 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
49910         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
49911         ONE with its value.
49913         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
49914         (__pow_mp): Replace ONE and MONE with their values.
49915         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
49916         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
49917         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
49918         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
49919         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
49920         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
49922         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
49924         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
49925         (__pow_mp): Replace ZERO and MZERO with their values.
49926         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
49927         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
49928         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
49929         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
49930         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
49931         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
49932         (__sqr): Likewise.
49934         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
49936         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
49938 2013-03-28  Roland McGrath  <roland@hack.frob.com>
49940         * include/stdlib.h [!SHARED] (__call_tls_dtors):
49941         Declare with __attribute__ ((weak)).
49942         * stdlib/exit.c (__libc_atexit) [!SHARED]:
49943         Call __call_tls_dtors only if it's not NULL.
49945 2013-03-28  Roland McGrath  <roland@hack.frob.com>
49947         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
49948         didn't do it already, then set _dl_phdr and _dl_phnum based on the
49949         magic __ehdr_start linker symbol if it's defined.
49950         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
49951         them up here if it was already done.
49953         * elf/dl-support.c (_dl_phdr): Make pointer to const.
49954         (_dl_aux_init): Use const in cast when setting it.
49955         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
49956         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
49957         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
49959         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
49960         Declare them here.
49961         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
49962         * csu/libc-tls.c: Nor here.
49963         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
49965         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
49966         (__libc_message): Never call vsyslog.
49968 2013-03-28  Alan Modra  <amodra@gmail.com>
49970         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
49971         Define as empty.
49972         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
49973         Likewise.
49975 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49977         [BZ #15214]
49978         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
49979         underflow.
49980         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49982 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
49984         [BZ #15304]
49985         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
49986         Don't add gid passed as argument.
49988         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
49990 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
49992         [BZ #15307]
49993         * math/k_casinh.c (__kernel_casinh): Handle arguments with
49994         imaginary part between 1.0 and 1.5 and real part less than 0.5
49995         specially.
49996         * math/k_casinhf.c (__kernel_casinhf): Likewise.
49997         * math/k_casinhl.c (__kernel_casinhl): Likewise.
49998         * math/libm-test.inc (cacos_test): Add more tests.
49999         (casin_test): Likewise.
50000         (casinh_test): Likewise.
50001         * sysdeps/i386/fpu/libm-test-ulps: Update.
50002         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50004 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
50006         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
50007         constants.
50008         (norm): Likewise.
50009         (denorm): Likewise.
50010         (__dbl_mp): Likewise.
50011         (add_magnitudes): Likewise.
50012         (sub_magnitudes): Likewise.
50013         (__add): Likewise.
50014         (__sub): Likewise.
50015         (__mul): Likewise.
50016         (__sqr): Likewise.
50017         (__inv): Likewise.
50018         (__dvd): Likewise.
50020         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
50021         commented code.
50022         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
50023         (__dubcos): Likewise.
50024         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
50025         (__ieee754_acos): Likewise.
50026         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
50027         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
50028         (__exp1): Likewise.
50029         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
50030         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
50031         (log1): Likewise.
50032         (my_log2): Likewise.
50033         (checkint): Likewise.
50034         * sysdeps/ieee754/dbl-64/e_remainder.c
50035         (__ieee754_remainder): Likewise.
50036         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
50037         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
50038         (bsloww): Likewise.
50039         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
50041         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
50042         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
50043         MANTISSA_STORE_T to store computations on mantissa.  Use
50044         macros for rounding and division.
50045         (denorm): Likewise.
50046         (__dbl_mp): Likewise.
50047         (add_magnitudes): Likewise.
50048         (sub_magnitudes): Likewise.
50049         (__mul): Likewise.
50050         (__sqr): Likewise.
50051         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
50052         powers of two in terms of TWOPOW macro.
50053         (mp_no): Make type of mantissa as MANTISSA_T.
50054         [!RADIXI]: Define RADIXI.
50055         [!TWO52]: Define TWO52.
50056         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
50058 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50060         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
50061         llroundl symbol when building for PPC32.
50063 2013-03-24  Mark H Weaver  <mhw@netris.org>
50065         * manual/arith.texi (Normalization Functions): Fix prototypes for
50066         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
50068 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50070         [BZ #13889]
50071         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
50072         high value to check if expl overflow.
50073         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
50074         to check for underflow and overflow.
50075         * math/libm-test.inc: Add exp test.
50077 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
50079         [BZ #11120]
50080         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
50081         with NOT_IN_libc.
50083 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50085         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
50086         symbol.
50088 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
50090         * math/gen-libm-test.pl (parse_args, special_functions): Properly
50091         wrap blocks consisting of several statements.
50093         * sysdeps/generic/math-tests.h: New file.
50094         * sysdeps/i386/fpu/math-tests.h: Likewise.
50095         * math/test-snan.c: Include it.
50096         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
50098 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
50100         [BZ #15285]
50101         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
50102         (__ieee754_j0l): Do not improve calculations using cos of twice
50103         input for inputs above LDBL_MAX / 2.0L.
50104         (__ieee754_y0l): Likewise.
50105         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
50106         (__ieee754_j1l): Do not improve calculations using cos of twice
50107         input for inputs above LDBL_MAX / 2.0L.
50108         (__ieee754_y1l): Likewise.
50109         * math/libm-test.inc (j0_test): Add another test.
50110         (j1_test): Likewise.
50111         (y0_test): Likewise.
50112         (y1_test): Likewise.
50113         * sysdeps/i386/fpu/libm-test-ulps: Update.
50115 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50117         * Rules ($(objpfx)bench-%.c): Include code from a C source
50118         file.
50120 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
50122         [BZ #15287]
50123         * math/k_casinh.c (__kernel_casinh): Handle arguments with
50124         imaginary part 1.0 and real part less than 0.5 specially.
50125         * math/k_casinhf.c (__kernel_casinhf): Likewise.
50126         * math/k_casinhl.c (__kernel_casinhl): Likewise.
50127         * math/libm-test.inc (cacos_test): Add more tests.
50128         (casin_test): Likewise.
50129         (casinh_test): Likewise.
50130         * sysdeps/i386/fpu/libm-test-ulps: Update.
50131         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50133 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50135         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
50136         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
50138 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
50140         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
50141         * config.make.in (config-cflags-sse4): Remove variable.
50142         (config-cflags-avx): Likewise.
50143         (config-cflags-sse2avx): Likewise.
50144         (config-cflags-novzeroupper): Likewise.
50145         (config-asflags-i686): Likewise.
50146         (have-mfma4): Likewise.
50147         (have-as-vis3): Likewise.
50148         (MIG): Likewise.
50149         * configure.in (MIG): Do not AC_SUBST.
50150         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
50151         (libc_cv_cc_sse4): Do not AC_SUBST.
50152         (libc_cv_cc_avx): Likewise.
50153         (libc_cv_cc_sse2avx): Likewise.
50154         (libc_cv_cc_novzeroupper): Likewise.
50155         (libc_cv_cc_fma4): Likewise.
50156         (libc_cv_as_i686): Likewise.
50157         (libc_cv_sparc_as_vis3): Likewise.
50158         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
50159         LIBC_CONFIG_VAR.
50160         (config-asflags-i686): Likewise.
50161         (config-cflags-avx): Likewise.
50162         (config-cflags-sse2avx): Likewise.
50163         (have-mfma4): Likewise.
50164         (config-cflags-novzeroupper): Likewise.
50165         * sysdeps/mach/configure.in (MIG): Likewise.
50166         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
50167         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
50168         LIBC_CONFIG_VAR.
50169         (config-cflags-avx): Likewise.
50170         (config-cflags-sse2avx): Likewise.
50171         (have-mfma4): Likewise.
50172         (config-cflags-novzeroupper): Likewise.
50173         * configure: Regenerated.
50174         * sysdeps/i386/configure: Likewise.
50175         * sysdeps/mach/configure: Likewise.
50176         * sysdeps/sparc/configure: Likewise.
50177         * sysdeps/x86_64/configure: Likewise.
50179 2013-03-20  Roland McGrath  <roland@hack.frob.com>
50181         [BZ #14812]
50182         * locale/programs/localedef.c (options): Put N_ translation marker
50183         on argument names, not just descriptions.
50185 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
50187         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
50189 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
50191         [BZ #14176]
50192         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
50194 2013-03-19  Roland McGrath  <roland@hack.frob.com>
50196         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
50197         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
50198         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
50199         [!BEFORE_ABORT] (before_abort): New function.
50200         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
50201         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
50202         (writev_for_fatal): New function.
50203         (WRITEV_FOR_FATAL): New macro; call that.
50204         (backtrace_and_maps): New function.
50205         (BEFORE_ABORT): New macro; call that.
50206         (struct str_list): Type removed.
50207         (__libc_message, __libc_fatal): Functions removed.
50208         Include <sysdeps/posix/libc_fatal.c> instead.
50210 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
50212         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
50213         constants.
50214         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
50215         double constants.
50217 2013-03-19  Andreas Schwab  <schwab@suse.de>
50219         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
50220         * sysdeps/gnu/configure: Regenerate.
50222         * configure.in: Substitute libc_cv_rtlddir.
50223         * configure: Regenerate.
50224         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
50225         * Makeconfig (rtlddir, inst_rtlddir): New variables.
50226         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
50227         * elf/Makefile (install-others, CFLAGS-interp.c)
50228         (ldso_install, common-ldd-rewrite): Likewise.
50229         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
50230         $(inst_slibdir)/$(rtld-installed-name).
50231         * scripts/rellns-sh: Add -p option.
50232         * Makerules (make-shlib-link): Use rellns-sh to get relative name
50233         for source.
50235 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
50237         * manual/nptl.texi: Renamed to ...
50238         * manual/threads.texi: ... this.
50239         * manual/Makefile (chapters): Update.
50241 2013-03-18  Roland McGrath  <roland@hack.frob.com>
50243         [BZ #14812]
50244         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
50245         on argument names, not just descriptions.
50246         * malloc/memusagestat.c (options): Likewise.
50247         * nss/getent.c (options): Likewise.
50249 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
50251         [BZ #14812]
50252         * iconv/iconv_prog.c (options): Put N_ translation marker
50253         on argument names, not just descriptions.
50254         * iconv/iconvconfig.c (options): Likewise.
50256 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
50258         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
50259         implementation which is faster on all x86_64 architectures.
50260         Tested on AMD, Intel Nehalem, SNB, IVB.
50261         * sysdeps/x86_64/strnlen.S: Likewise.
50263         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
50264         Remove all multiarch strlen and strnlen versions.
50265         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
50266         Remove strlen and strnlen related parts.
50268         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
50269         Inline strlen part.
50270         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
50272         * sysdeps/x86_64/multiarch/strlen.S: Remove.
50273         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
50274         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
50275         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
50276         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
50277         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
50279 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
50281         * manual/memory.texi (Malloc Tunable Parameters):
50282         Sort parameters alphabetically. Add comments for missing entries.
50284 2013-03-17  David S. Miller  <davem@davemloft.net>
50286         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50288 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
50290         [BZ #15283]
50291         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
50292         for arguments at most half maximum finite value.
50293         * math/libm-test.inc (j0_test): Add more tests.
50294         (j1_test): Likewise.
50295         (y0_test): Likewise.
50296         (y1_test): Likewise.
50297         * sysdeps/i386/fpu/libm-test-ulps: Update.
50298         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50300         [BZ #14155]
50301         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
50302         1 / x and functions P and Q for arguments above 0x1p256L.
50303         (__ieee754_y0l): Likewise.
50304         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
50305         (__ieee754_y1l): Likewise.
50306         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
50307         (j1_test): Likewise.
50308         (y0_test): Likewise.
50309         (y1_test): Likewise.
50311 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
50313         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
50314         variable.
50316 2013-03-15  Roland McGrath  <roland@hack.frob.com>
50318         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
50319         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
50320         zero since it's initialized to EXEC_PAGESIZE.
50322         * sysdeps/unix/sysv/linux/ldsodefs.h
50323         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
50324         * sysdeps/generic/ldsodefs.h: ... here.
50326 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
50328         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
50330         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
50331         math/test-snan.c.
50332         * math/test-snan.c: Renamed from
50333         sysdeps/powerpc/fpu/test-powerpc-snan.c.
50334         * math/Makefile (tests): Add test-snan.
50335         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
50336         test-powerpc-snan.
50338         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
50339         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
50340         functions.
50341         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
50342         __builtin_nan family of functions.
50343         * math/libm-test.inc (initialize): Initialize qnan_value with
50344         __builtin_nan family of functions.
50345         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
50346         Remove variables.
50347         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
50348         Remove functions.
50349         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
50350         storage class.  Initialize qNaN_var and sNaN_var with
50351         __builtin_nan and __builtin_nans families of functions,
50352         respectively.
50354         * math/libm-test.inc (acosh_test): Also test with qNaN input.
50355         (sqrt_test): Remove duplicate test with qNaN input.
50356         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
50357         (round_test, signbit_test, significand_test): Note missing +/-Inf
50358         as well as qNaN tests.
50360         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
50361         qNaN_var.  Fix a few strings, too.
50362         * math/libm-test.inc (nan_value): Rename to qnan_value.
50363         * math/gen-libm-test.pl (%beautify): Adjust to that.
50364         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
50365         * math/test-misc.c (main): Likewise.
50366         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
50367         to __qnan_bytes, and __qnan_union, respectively.
50368         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
50369         Likewise.
50370         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
50371         and lqnanval, respectively.
50372         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
50373         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
50374         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
50375         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
50377         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
50378         * math/test-misc.c (main) [__x86_64__]: Enable test for long
50379         doubles.
50381         * math/test-misc.c (main): Fix copy'n'pastos.
50382         * misc/tst-efgcvt.c (special): Likewise.
50384         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
50385         Remove declarations.
50387 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50389         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
50390         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
50391         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
50392         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
50394 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50396         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
50397         macro to return vdso values correctly in IFUNC implementations.
50398         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
50399         Optimization by using IFUNC.
50401 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50402             Richard Henderson  <rth@redhat.com>
50403             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
50405         * Makefile.in (bench): New target.
50406         * NEWS: Mention the benchmark framework.
50407         * Rules (bench): Likewise.
50408         (binaries-bench): Generate binaries for functions to
50409         benchmark.
50410         * benchtests/Makefile: New makefile for benchmark tests.
50411         * benchtests/bench-skeleton.c: New skeleton file for benchmark
50412         programs.
50413         * benchtests/exp-inputs: New input file for EXP function.
50414         * benchtests/pow-inputs: New input file for POW function.
50415         * scripts/bench.pl: New script to generate source files for
50416         benchmark programs.
50418 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50420         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
50421         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
50422         computations on mantissa.  Use macros for rounding and
50423         division.
50424         (denorm): Likewise.
50425         (__dbl_mp): Likewise.
50426         (add_magnitudes): Likewise.
50427         (sub_magnitudes): Likewise.
50428         (__mul): Likewise.
50429         (__sqr): Likewise.
50430         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
50431         powers of two in terms of TWOPOW macro.
50432         (mp_no): Make type of mantissa as MANTISSA_T.
50433         [!RADIXI]: Define RADIXI.
50434         [!TWO52]: Define TWO52.
50435         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
50437         * manual/nptl.texi (cindex): Modify threads to pthreads.
50439 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
50441         * sysdeps/x86_64/preconfigure: Regenerated.
50443 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
50445         [BZ #14155]
50446         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
50447         0x1p28 and above.
50448         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
50449         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
50450         0x1p28 and above.
50451         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
50452         * math/libm-test.inc (j0_test): Do not allow one spurious
50453         underflow exception.
50454         (y1_test): Likewise.
50456 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
50458         * manual/Makefile (chapters): Add nptl.
50459         * manual/debug.texi (Debugging Support): Add link to Threads
50460         chapter.
50461         * manual/nptl.texi: New file.
50463         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
50465 2013-03-14  Petr Baudis  <pasky@ucw.cz>
50467         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
50468         for non-NULL pointer before the memory validity test. Pointed
50469         out by Holger Brunck <holger.brunck@keymile.com>.
50471 2013-03-13  Andreas Schwab  <schwab@suse.de>
50473         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
50474         instead of .os.
50476 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
50478         * timezone/zic.c: Update from tzcode 2013b.
50480 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
50482         * manual/install.texi (Configuring and compiling):
50483         Mention i686 and i586.
50484         * INSTALL: Regenerate.
50486 2013-03-12  Roland McGrath  <roland@hack.frob.com>
50488         * sysdeps/init_array/elf-init.c: New file.
50489         * csu/elf-init.c
50490         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
50491         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
50493         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
50494         __gmon_start__ as global, but as static with a .preinit_array pointer.
50495         * sysdeps/init_array/gmon-start.c: New file.  Use that.
50496         * sysdeps/init_array/crti.S: New file, empty except for comments.
50497         * sysdeps/init_array/crtn.S: Likewise.
50499 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
50501         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
50502         definining bcopy.
50503         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50504         Remove Prefer_SSE_for_memop.
50505         * sysdeps/x86_64/multiarch/init-arch.h: Remove
50506         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
50507         HAS_PREFER_SSE_FOR_MEMOP.
50508         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
50509         memset-x86-64.
50510         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
50511         Remove bzero, memset ifunc support.
50512         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
50513         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
50514         * sysdeps/x86_64/multiarch/memset.S: Likewise.
50515         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
50517 2013-03-11  Andreas Schwab  <schwab@suse.de>
50519         [BZ #15234]
50520         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
50521         by SHLIB_COMPAT.
50522         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
50523         (GLIBC_2.16): Remove pthread_atfork.
50525 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
50527         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
50528         (ptestcases.h): Likewise.
50530 2013-03-08  Roland McGrath  <roland@hack.frob.com>
50532         * Makeconfig ($(common-objpfx)config.status): Depend on
50533         sysdeps/*/preconfigure{,.in} too.
50535 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
50537         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
50538         (__free_hook): Use void * instead of __malloc_ptr_t.
50539         (__malloc_hook): Likewise.
50540         (__realloc_hook): Likewise.
50541         (__memalign_hook): Likewise.
50542         (__after_morecore_hook): Likewise.
50543         * malloc/arena.c (save_malloc_hook): Likewise.
50544         (save_free_hook): Likewise.
50545         * malloc/hooks.c (malloc_hook_ini): Likewise.
50546         (realloc_hook_ini): Likewise.
50547         (memalign_hook_ini): Likewise.
50548         * malloc/malloc.c (malloc_hook_ini): Likewise.
50549         (realloc_hook_ini): Likewise.
50550         (memalign_hook_ini): Likewise.
50551         (__free_hook): Likewise.
50552         (__malloc_hook): Likewise.
50553         (__realloc_hook): Likewise.
50554         (__memalign_hook): Likewise.
50555         (__libc_malloc): Likewise.
50556         (__libc_free): Likewise.
50557         (__libc_realloc): Likewise.
50558         (__libc_memalign): Likewise.
50559         (__libc_valloc): Likewise.
50560         (__libc_pvalloc): Likewise.
50561         (__libc_calloc): Likewise.
50562         (__posix_memalign): Likewise.
50563         * malloc/morecore.c (__sbrk): Likewise.
50564         (__default_morecore): Likewise.
50566         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
50568         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
50569         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
50570         __malloc_ptrdiff_t.
50572         * malloc/malloc.h (__malloc_size_t): Remove macro.
50573         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
50574         __malloc_size_t.
50575         (old_memalign_hook): Likewise.
50576         (old_realloc_hook): Likewise.
50577         (struct hdr): Likewise.
50578         (flood): Likewise.
50579         (mallochook): Likewise.
50580         (memalignhook): Likewise.
50581         (reallochook): Likewise.
50582         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
50583         (tr_old_realloc_hook): Likewise.
50584         (tr_old_memalign_hook): Likewise.
50585         (tr_mallochook): Likewise.
50586         (tr_reallochook): Likewise.
50587         (tr_memalignhook): Likewise.
50589 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50591         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
50592         default_ldbl_pack and using as default implementation.
50593         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
50594         implementation.
50595         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
50596         redundant definition.
50597         (ldbl_insert_mantissa): Likewise.
50598         (ldbl_canonicalize): Likewise.
50599         (ldbl_nearbyint): Likewise.
50600         (ldbl_pack): Rename to ldbl_pack_ppc.
50601         (ldbl_unpack): Rename to ldbl_unpack_ppc.
50602         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
50603         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
50605 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
50607         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
50608         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
50609         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
50610         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
50611         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
50612         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
50613         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
50614         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
50616 2013-03-07  Andreas Jaeger  <aj@suse.de>
50618         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50619         bits/mman-linux.h.
50621 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
50623         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
50624         Include mpa.h and declare __MPEXP.
50625         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
50626         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
50627         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
50628         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
50629         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
50630         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
50631         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
50633         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
50634         (__slowpow): Use long double EXPL and LOGL functions to
50635         compute POW.
50636         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
50637         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
50638         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
50639         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
50640         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
50641         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
50643         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
50644         intermediate variable to calculate exponent.
50645         (__sqr): Likewise.
50646         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
50647         Likewise.
50648         (__sqr): Likewise.
50650         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
50651         [!NO__SQR]: Define __sqr.
50652         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
50653         and NO__SQR.  Remove all code except __mul and __sqr.  Include
50654         sysdeps/ieee754/dbl-64/mpa.c.
50655         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
50657         [BZ #12723]
50658         * posix/Makefile (tests): Add tst-pathconf.
50659         * posix/tst-pathconf.c: New test case.
50660         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
50661         _PC_PIPE_BUF.
50662         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
50664 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
50666         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
50668 2013-03-06  Andreas Jaeger  <aj@suse.de>
50670         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
50671         definition via __MAP_ANONYMOUS.
50673         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
50674         it's not part of Linux headers.
50676         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
50677         (MAP_HUGE_MASK): Define.
50679         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
50680         Define.
50681         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
50682         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
50683         Define.
50684         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
50685         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
50686         Define.
50687         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
50688         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
50689         Define.
50690         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
50692         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
50693         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
50694         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
50695         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
50696         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
50697         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
50699         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
50700         Handle f2fs.
50702         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50703         Handle f2fs and efivarfs.
50705         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
50706         f2fs.
50708         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
50709         (EFIVARFS_MAGIC): Add.
50710         (F2FS_LINK_MAX): Add.
50712 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
50714         * stdio-common/vfprintf.c: Replace __builtin_expect with
50715         __glibc_unlikely.
50717 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
50719         [BZ #13550]
50720         * sysdeps/generic/bp-sym.h: Remove file.
50721         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
50722         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
50723         <bp-sym.h> and <bp-asm.h>.
50724         (__longjmp): Don't use BP_SYM.
50725         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
50726         and <bp-asm.h>.
50727         (memcpy): Don't use BP_SYM.
50728         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
50729         <bp-sym.h> and <bp-asm.h>.
50730         (memcpy): Don't use BP_SYM.
50731         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
50732         <bp-asm.h>.
50733         (memcpy): Don't use BP_SYM.
50734         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
50735         <bp-asm.h>.
50736         (memset): Don't use BP_SYM.
50737         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
50738         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
50739         (__bzero): Don't use BP_SYM.
50740         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
50741         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
50742         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
50743         <bp-sym.h> and <bp-asm.h>.
50744         (memcmp): Don't use BP_SYM.  Remove comment about bounded
50745         pointers.
50746         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
50747         <bp-sym.h> and <bp-asm.h>.
50748         (memcpy): Don't use BP_SYM.
50749         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
50750         <bp-sym.h> and <bp-asm.h>.
50751         (memset): Don't use BP_SYM.
50752         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
50753         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
50754         (__bzero): Don't use BP_SYM.
50755         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
50756         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
50757         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
50758         <bp-sym.h> and <bp-asm.h>.
50759         (strncmp): Don't use BP_SYM.  Remove comment about bounded
50760         pointers.
50761         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
50762         <bp-sym.h> and <bp-asm.h>.
50763         (memcpy): Don't use BP_SYM.
50764         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
50765         <bp-sym.h> and <bp-asm.h>.
50766         (memset): Don't use BP_SYM.
50767         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
50768         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
50769         (__bzero): Don't use BP_SYM.
50770         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
50771         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
50772         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
50773         <bp-sym.h> and <bp-asm.h>.
50774         (__memchr): Don't use BP_SYM.
50775         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
50776         <bp-sym.h> and <bp-asm.h>.
50777         (memcmp): Don't use BP_SYM.  Remove comment about bounded
50778         pointers.
50779         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
50780         <bp-sym.h> and <bp-asm.h>.
50781         (memcpy): Don't use BP_SYM.
50782         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
50783         <bp-sym.h> and <bp-asm.h>.
50784         (__mempcpy): Don't use BP_SYM.
50785         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
50786         <bp-sym.h> and <bp-asm.h>.
50787         (__memrchr): Don't use BP_SYM.
50788         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
50789         <bp-sym.h> and <bp-asm.h>.
50790         (memset): Don't use BP_SYM.
50791         (__bzero): Likewise.
50792         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
50793         <bp-sym.h> and <bp-asm.h>.
50794         (__rawmemchr): Don't use BP_SYM.
50795         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
50796         <bp-sym.h> and <bp-asm.h>.
50797         (__STRCMP): Don't use BP_SYM.
50798         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
50799         <bp-sym.h> and <bp-asm.h>.
50800         (strchr): Don't use BP_SYM.
50801         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
50802         <bp-sym.h> and <bp-asm.h>.
50803         (__strchrnul): Don't use BP_SYM.
50804         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
50805         <bp-sym.h> and <bp-asm.h>.
50806         (strlen): Don't use BP_SYM.
50807         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
50808         <bp-sym.h> and <bp-asm.h>.
50809         (strncmp): Don't use BP_SYM.  Remove comment about bounded
50810         pointers.
50811         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
50812         <bp-sym.h> and <bp-asm.h>.
50813         (__strnlen): Don't use BP_SYM.
50814         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
50815         <bp-sym.h> and <bp-asm.h>.
50816         (__GI__setjmp): Don't use BP_SYM.
50817         (_setjmp): Likewise.
50818         (__sigsetjmp): Likewise.
50819         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
50820         (L(start_addresses)): Don't use BP_SYM.
50821         (_start): Likewise.
50822         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
50823         <bp-asm.h>.
50824         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
50825         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
50826         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
50827         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
50828         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
50829         <bp-asm.h>.
50830         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
50831         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
50832         about bounded pointers.
50833         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
50834         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
50835         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
50836         <bp-asm.h>.
50837         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
50838         about bounded pointers.  Remove GKM FIXME comments.
50839         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
50840         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
50841         <bp-asm.h>.
50842         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
50843         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
50844         Remove GKM FIXME comments.
50845         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
50846         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
50847         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
50848         <bp-asm.h>.
50849         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
50850         about bounded pointers.  Remove GKM FIXME comment.
50851         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
50852         and <bp-asm.h>.
50853         (strncmp): Don't use BP_SYM.  Remove comment about bounded
50854         pointers.
50855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
50856         <bp-sym.h> and <bp-asm.h>.
50857         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
50858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
50859         <bp-sym.h> and <bp-asm.h>.
50860         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
50861         comment.
50863 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
50865         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
50866         call free(NULL).
50868 2013-03-05  David S. Miller  <davem@davemloft.net>
50870         * po/es.po: Update from translation team.
50872 2013-03-05  Andreas Jaeger  <aj@suse.de>
50874         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
50875         <bits/mman-linux.h>.
50876         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
50877         is fine.
50878         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
50879         <bits/mman-linux.h> to end of file.
50880         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
50881         is fine.
50882         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
50883         <bits/mman-linux.h> to end of file.
50884         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
50885         is fine.
50886         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
50887         <bits/mman-linux.h> to end of file.
50889         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
50890         (MCL_CURRENT, MCL_FUTURE): Define here.
50892 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50894         [BZ #15232]
50895         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
50896         attribute_hidden.
50897         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
50899 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50901         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
50902         fourth parameter needed for rt_sigprocmask syscall.
50903         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
50904         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
50905         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
50906         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
50907         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
50908         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
50910 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
50912         [BZ #13550]
50913         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
50914         comment about bounded pointers.
50915         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
50916         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
50918 2013-03-04  Andreas Jaeger  <aj@suse.de>
50920         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
50921         common definitions.
50923         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
50924         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
50925         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
50926         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
50927         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
50928         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
50930 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50932         [BZ #15055]
50933         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
50934         __ieee754_sqrl instead of __sqrl.
50936 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
50938         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
50939         * sysdeps/powerpc/fpu_control.h: ... here.
50940         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
50941         * sysdeps/powerpc/bits/fenvinline.h: ... here.
50942         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
50943         * sysdeps/powerpc/bits/mathinline.h: ... here.
50945 2013-03-01  Roland McGrath  <roland@hack.frob.com>
50947         * elf/dl-hwcaps.c (_dl_important_hwcaps):
50948         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
50949         to just [NEED_DL_SYSINFO_DSO].
50950         * elf/dl-support.c: Likewise.
50951         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
50952         * elf/rtld.c (dl_main): Likewise.
50953         * elf/setup-vdso.h (setup_vdso): Likewise.
50954         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
50955         * sysdeps/unix/sysv/linux/dl-sysdep.c
50956         (_dl_discover_osversion): Likewise.
50958 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
50960         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
50961         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
50963 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
50965         * NEWS: Mention libm performance improvements and non-x86 PI
50966         futex support.
50968         * csu/libc-start.c (__pthread_initialize_minimal): Change
50969         function arguments.
50970         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
50972 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
50974         [BZ #13550]
50975         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
50976         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
50977         <bp-sym.h> and <bp-asm.h>.
50978         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
50979         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
50980         and <bp-asm.h>.
50981         (memcpy): Don't use BP_SYM.
50982         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
50983         <bp-asm.h>.
50984         (__mpn_add_n): Don't use BP_SYM.
50985         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
50986         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
50987         and <bp-asm.h>.
50988         (__mpn_addmul_1): Don't use BP_SYM.
50989         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50990         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
50991         <bp-sym.h>.
50992         (_setjmp): Don't use BP_SYM.
50993         (__novmx_setjmp): Likewise.
50994         (__GI__setjmp): Likewise.
50995         (__vmx_setjmp): Likewise.
50996         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
50997         <bp-sym.h>.
50998         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
50999         (__bzero): Don't use BP_SYM.
51000         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
51001         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
51002         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
51003         <bp-sym.h> and <bp-asm.h>.
51004         (memcpy): Don't use BP_SYM.
51005         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
51006         <bp-sym.h> and <bp-asm.h>.
51007         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
51008         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
51009         <bp-sym.h> and <bp-asm.h>.
51010         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
51011         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
51012         <bp-asm.h>.
51013         (__mpn_lshift): Don't use BP_SYM.
51014         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
51015         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
51016         <bp-asm.h>.
51017         (memset): Don't use BP_SYM.
51018         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
51019         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
51020         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
51021         <bp-asm.h>.
51022         (__mpn_mul_1): Don't use BP_SYM.
51023         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51024         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
51025         <bp-sym.h> and <bp-asm.h>.
51026         (memcmp): Don't use BP_SYM.
51027         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
51028         <bp-sym.h> and <bp-asm.h>.
51029         (memcpy): Don't use BP_SYM.
51030         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
51031         <bp-sym.h> and <bp-asm.h>.
51032         (memset): Don't use BP_SYM.
51033         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
51034         <bp-sym.h> and <bp-asm.h>.
51035         (strncmp): Don't use BP_SYM.
51036         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
51037         <bp-sym.h> and <bp-asm.h>.
51038         (memcpy): Don't use BP_SYM.
51039         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
51040         <bp-sym.h> and <bp-asm.h>.
51041         (memset): Don't use BP_SYM.
51042         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
51043         <bp-sym.h> and <bp-asm.h>.
51044         (__memchr): Don't use BP_SYM.
51045         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
51046         <bp-sym.h> and <bp-asm.h>.
51047         (memcmp): Don't use BP_SYM.
51048         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
51049         <bp-sym.h> and <bp-asm.h>.
51050         (memcpy): Don't use BP_SYM.
51051         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
51052         <bp-sym.h> and <bp-asm.h>.
51053         (__mempcpy): Don't use BP_SYM.
51054         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
51055         <bp-sym.h> and <bp-asm.h>.
51056         (__memrchr): Don't use BP_SYM.
51057         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
51058         <bp-sym.h> and <bp-asm.h>.
51059         (memset): Don't use BP_SYM.
51060         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
51061         <bp-sym.h> and <bp-asm.h>.
51062         (__rawmemchr): Don't use BP_SYM.
51063         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
51064         <bp-sym.h> and <bp-asm.h>.
51065         (__STRCMP): Don't use BP_SYM.
51066         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
51067         <bp-sym.h> and <bp-asm.h>.
51068         (strchr): Don't use BP_SYM.
51069         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
51070         <bp-sym.h> and <bp-asm.h>.
51071         (__strchrnul): Don't use BP_SYM.
51072         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
51073         <bp-sym.h> and <bp-asm.h>.
51074         (strlen): Don't use BP_SYM.
51075         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
51076         <bp-sym.h> and <bp-asm.h>.
51077         (strncmp): Don't use BP_SYM.
51078         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
51079         <bp-sym.h> and <bp-asm.h>.
51080         (__strnlen): Don't use BP_SYM.
51081         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
51082         <bp-asm.h>.
51083         (__mpn_rshift): Don't use BP_SYM.
51084         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
51085         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
51086         <bp-sym.h> and <bp-asm.h>.
51087         (__sigsetjmp): Don't use BP_SYM.
51088         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
51089         (L(start_addresses)): Don't use BP_SYM.
51090         (_start): Likewise.
51091         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
51092         <bp-asm.h>.
51093         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
51094         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
51095         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
51096         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
51097         <bp-asm.h>.
51098         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
51099         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
51100         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
51101         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
51102         <bp-asm.h>.
51103         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
51104         comments.
51105         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
51106         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
51107         <bp-asm.h>.
51108         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
51109         FIXME comments.
51110         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
51111         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
51112         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
51113         <bp-asm.h>.
51114         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
51115         comment.
51116         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
51117         and <bp-asm.h>.
51118         (strncmp): Don't use BP_SYM,
51119         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
51120         <bp-asm.h>.
51121         (__mpn_sub_n): Don't use BP_SYM.
51122         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
51123         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
51124         and <bp-asm.h>.
51125         (__mpn_submul_1): Don't use BP_SYM.
51126         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
51128         <bp-sym.h> and <bp-asm.h>.
51129         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
51130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
51131         <bp-sym.h> and <bp-asm.h>.
51132         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
51133         comment.
51135 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
51137         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
51138         Use ZK to minimize writes to Z.
51139         (sub_magnitudes): Simplify code a bit.
51140         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
51141         Use ZK to minimize writes to Z.
51142         (sub_magnitudes): Simplify code a bit.
51144 2013-02-27  Roland McGrath  <roland@hack.frob.com>
51146         * csu/gmon-start.c: Add special exception to license text.
51148 2013-02-27  Richard Henderson  <rth@redhat.com>
51150         * scripts/config.guess: Update from config.git.
51151         * scripts/config.sub: Likewise.
51153 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
51155         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
51157         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
51159         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
51161         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
51163         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
51165 2013-02-26  Roland McGrath  <roland@hack.frob.com>
51167         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
51168         [$(build-shared = yes].
51170 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
51172         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
51173         (__mul): Reduce iterations for calculating mantissa.
51175         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
51176         MPTWO.
51177         (__mpranred): Likewise.
51179         [BZ #15160]
51180         * malloc/memusagestat.c (main): Draw graphs for heap and stack
51181         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
51183 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
51185         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
51186         Define __attribute__.
51188 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
51190         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
51191         unused.
51192         * posix/regex_internal.h (__attribute): Remove.
51193         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
51194         (re_string_context_at): Likewise.
51195         (bitset_not): Use __attribute__ and mark function as possibly
51196         unused.
51197         (bitset_merge): Likewise.
51198         (bitset_mask): Likewise.
51199         (re_string_char_size_at): Likewise.
51200         (re_string_wchar_at): Likewise.
51201         (re_string_elem_size_at): Likewise.
51203 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
51205         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
51206         code.
51207         (cc32): Likewise.
51209         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
51210         (__acr): Likewise.
51211         (__cpy): Likewise.
51212         (norm): Likewise.
51213         (denorm): Likewise.
51214         (__dbl_mp): Likewise.
51215         (add_magnitudes): Likewise.
51216         (sub_magnitudes): Likewise.
51217         (__mul): Likewise.
51218         (__inv): Likewise.
51220         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
51221         style.
51223         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
51224         style.
51226         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
51227         code.
51229         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
51230         up changes with default code.
51231         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
51232         Likewise.
51234 2013-02-24  Allan McRae  <allan@archlinux.org>
51236         * manual/socket.texi (The Internet Namespace): Order menu items
51237         to match that in the file.
51239         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
51240         node listing of the info page menu.
51242 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
51244         [BZ #13550]
51245         * sysdeps/i386/bp-asm.h: Remove file.
51246         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
51247         (PARMS): Do not use macros from bp-asm.h.
51248         (S1): Likewise.
51249         (S2): Likewise.
51250         (SIZE): Likewise.
51251         (__mpn_add_n): Do not use BP_SYM
51252         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
51253         "bp-asm.h".
51254         (PARMS): Do not use macros from bp-asm.h.
51255         (S1): Likewise.
51256         (SIZE): Likewise.
51257         (__mpn_addmul_1): Do not use BP_SYM
51258         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
51259         "bp-asm.h".
51260         (PARMS): Do not use macros from bp-asm.h.
51261         (SIGMSK): Likewise.
51262         (_setjmp): Likewise.  Do not use BP_SYM.
51263         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
51264         "bp-asm.h".
51265         (PARMS): Do not use macros from bp-asm.h.
51266         (SIGMSK): Likewise.
51267         (setjmp): Likewise.  Do not use BP_SYM.
51268         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
51269         "bp-asm.h".
51270         (PARMS): Do not use macros from bp-asm.h.
51271         (__frexp): Do not use BP_SYM.
51272         (frexp): Likewise.
51273         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
51274         "bp-asm.h".
51275         (PARMS): Do not use macros from bp-asm.h.
51276         (__frexpf): Do not use BP_SYM.
51277         (frexpf): Likewise.
51278         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
51279         "bp-asm.h".
51280         (PARMS): Do not use macros from bp-asm.h.
51281         (__frexpl): Do not use BP_SYM.
51282         (frexpl): Likewise.
51283         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
51284         "bp-asm.h".
51285         (PARMS): Do not use macros from bp-asm.h.
51286         (__remquo): Do not use BP_SYM.
51287         (remquo): Likewise.
51288         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
51289         "bp-asm.h".
51290         (PARMS): Do not use macros from bp-asm.h.
51291         (__remquof): Do not use BP_SYM.
51292         (remquof): Likewise.
51293         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
51294         "bp-asm.h".
51295         (PARMS): Do not use macros from bp-asm.h.
51296         (__remquol): Do not use BP_SYM.
51297         (remquol): Likewise.
51298         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
51299         "bp-asm.h".
51300         (PARMS): Do not use macros from bp-asm.h.
51301         (DEST): Likewise.
51302         (SRC): Likewise.
51303         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
51304         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
51305         "bp-asm.h".
51306         (PARMS): Do not use macros from bp-asm.h.
51307         (strlen): Do not use BP_SYM.
51308         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
51309         "bp-asm.h".
51310         (PARMS): Do not use macros from bp-asm.h.
51311         (S1): Likewise.
51312         (S2): Likewise.
51313         (SIZE): Likewise.
51314         (__mpn_add_n): Do not use BP_SYM.
51315         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
51316         "bp-asm.h".
51317         (PARMS): Do not use macros from bp-asm.h.
51318         (S1): Likewise.
51319         (SIZE): Likewise.
51320         (__mpn_addmul_1): Do not use BP_SYM.
51321         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
51322         weak_alias.
51323         (bzero): Likewise.
51324         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
51325         "bp-asm.h".
51326         (PARMS): Do not use macros from bp-asm.h.
51327         (S): Likewise.
51328         (SIZE): Likewise.
51329         (__mpn_lshift): Do not use BP_SYM.
51330         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
51331         "bp-asm.h".
51332         (PARMS): Do not use macros from bp-asm.h.
51333         (DEST): Likewise.
51334         (SRC): Likewise.
51335         (LEN): Likewise.
51336         (memcpy): Likewise.  Do not use BP_SYM.
51337         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
51338         libc_hidden_def and weak_alias.
51339         (mempcpy): Do not use BP_SYM in weak_alias.
51340         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
51341         "bp-asm.h".
51342         (PARMS): Do not use macros from bp-asm.h.
51343         (DEST): Likewise.
51344         (LEN): Likewise.
51345         [!BZERO_P] (CHR): Likewise.
51346         (memset): Likewise.  Do not use BP_SYM.
51347         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
51348         "bp-asm.h".
51349         (PARMS): Do not use macros from bp-asm.h.
51350         (S1): Likewise.
51351         (SIZE): Likewise.
51352         (__mpn_mul_1): Do not use BP_SYM.
51353         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
51354         "bp-asm.h".
51355         (PARMS): Do not use macros from bp-asm.h.
51356         (S): Likewise.
51357         (SIZE): Likewise.
51358         (__mpn_rshift): Do not use BP_SYM.
51359         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
51360         "bp-asm.h".
51361         (PARMS): Do not use macros from bp-asm.h.
51362         (STR): Likewise.
51363         (CHR): Likewise.
51364         (strchr): Likewise.  Do not use BP_SYM.
51365         (index): Do not use BP_SYM in weak_alias.
51366         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
51367         "bp-asm.h".
51368         (PARMS): Do not use macros from bp-asm.h.
51369         (DEST): Likewise.
51370         (SRC): Likewise.
51371         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
51372         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
51373         "bp-asm.h".
51374         (PARMS): Do not use macros from bp-asm.h.
51375         (strlen): Do not use BP_SYM.
51376         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
51377         "bp-asm.h".
51378         (PARMS): Do not use macros from bp-asm.h.
51379         (S1): Likewise.
51380         (S2): Likewise.
51381         (SIZE): Likewise.
51382         (__mpn_sub_n): Do not use BP_SYM.
51383         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
51384         "bp-asm.h".
51385         (PARMS): Do not use macros from bp-asm.h.
51386         (S1): Likewise.
51387         (SIZE): Likewise.
51388         (__mpn_submul_1): Do not use BP_SYM.
51389         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
51390         "bp-asm.h".
51391         (PARMS): Do not use macros from bp-asm.h.
51392         (S1): Likewise.
51393         (S2): Likewise.
51394         (SIZE): Likewise.
51395         (__mpn_add_n): Do not use BP_SYM.
51396         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
51397         weak_alias.
51398         (bzero): Likewise.
51399         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
51400         "bp-asm.h".
51401         (PARMS): Do not use macros from bp-asm.h.
51402         (BLK2): Likewise.
51403         (LEN): Likewise.
51404         (memcmp): Do not use BP_SYM.
51405         (bcmp): Do not use BP_SYM in weak_alias.
51406         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
51407         "bp-asm.h".
51408         (PARMS): Do not use macros from bp-asm.h.
51409         (DEST): Likewise.
51410         (SRC): Likewise.
51411         (LEN): Likewise.
51412         (memcpy): Likewise.  Do not use BP_SYM.
51413         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
51414         "bp-asm.h".
51415         (PARMS): Do not use macros from bp-asm.h.
51416         (DEST): Likewise.
51417         (SRC): Likewise.
51418         (LEN): Likewise.
51419         (memmove): Likewise.  Do not use BP_SYM.
51420         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
51421         "bp-asm.h".
51422         (PARMS): Do not use macros from bp-asm.h.
51423         (DEST): Likewise.
51424         (SRC): Likewise.
51425         (LEN): Likewise.
51426         (__mempcpy): Likewise.  Do not use BP_SYM.
51427         (mempcpy): Do not use BP_SYM in weak_alias.
51428         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
51429         "bp-asm.h".
51430         (PARMS): Do not use macros from bp-asm.h.
51431         (DEST): Likewise.
51432         (LEN): Likewise.
51433         [!BZERO_P] (CHR): Likewise.
51434         (memset): Likewise.  Do not use BP_SYM.
51435         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
51436         "bp-asm.h".
51437         (PARMS): Do not use macros from bp-asm.h.
51438         (STR2): Likewise.
51439         (strcmp): Do not use BP_SYM.
51440         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
51441         "bp-asm.h".
51442         (PARMS): Do not use macros from bp-asm.h.
51443         (STR): Likewise.
51444         (DELIM): Likewise.
51445         [USE_AS_STRTOK_R] (SAVE): Likewise.
51446         (FUNCTION): Likewise.  Do not use BP_SYM.
51447         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
51448         aliases.
51449         (strtok_r): Likewise.
51450         (__GI___strtok_r): Likewise.
51451         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
51452         (PARMS): Do not use macros from bp-asm.h.
51453         (S): Likewise.
51454         (SIZE): Likewise.
51455         (__mpn_lshift): Do not use BP_SYM.
51456         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
51457         (PARMS): Do not use macros from bp-asm.h.
51458         (STR): Likewise.
51459         (CHR): Likewise.
51460         (__memchr): Do not use BP_SYM.
51461         (memchr): Do not use BP_SYM in weak_alias.
51462         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
51463         (PARMS): Do not use macros from bp-asm.h.
51464         (BLK2): Likewise.
51465         (LEN): Likewise.
51466         (memcmp): Do not use BP_SYM.
51467         (bcmp): Do not use BP_SYM in weak_alias.
51468         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
51469         (PARMS): Do not use macros from bp-asm.h.
51470         (S1): Likewise.
51471         (SIZE): Likewise.
51472         (__mpn_mul_1): Do not use BP_SYM.
51473         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
51474         "bp-asm.h".
51475         (PARMS): Do not use macros from bp-asm.h.
51476         (STR): Likewise.
51477         (CHR): Likewise.
51478         (__rawmemchr): Do not use BP_SYM.
51479         (rawmemchr): Do not use BP_SYM in weak_alias.
51480         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
51481         (PARMS): Do not use macros from bp-asm.h.
51482         (S): Likewise.
51483         (SIZE): Likewise.
51484         (__mpn_rshift): Do not use BP_SYM.
51485         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
51486         (PARMS): Do not use macros from bp-asm.h.
51487         (SIGMSK): Likewise.
51488         (__sigsetjmp): Likewise.  Do not use BP_SYM.
51489         * sysdeps/i386/start.S: Do not include "bp-sym.h".
51490         (_start): Do not use BP_SYM.
51491         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
51492         (PARMS): Do not use macros from bp-asm.h.
51493         (DEST): Likewise.
51494         (SRC): Likewise.
51495         (__stpcpy): Likewise.  Do not use BP_SYM.
51496         (stpcpy): Do not use BP_SYM in weak_alias.
51497         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
51498         "bp-asm.h".
51499         (PARMS): Do not use macros from bp-asm.h.
51500         (DEST): Likewise.
51501         (SRC): Likewise.
51502         (LEN): Likewise.
51503         (__stpncpy): Likewise.  Do not use BP_SYM.
51504         (stpncpy): Do not use BP_SYM in weak_alias.
51505         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
51506         (PARMS): Do not use macros from bp-asm.h.
51507         (STR): Likewise.
51508         (CHR): Likewise.
51509         (strchr): Likewise.  Do not use BP_SYM.
51510         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
51511         "bp-asm.h".
51512         (PARMS): Do not use macros from bp-asm.h.
51513         (STR): Likewise.
51514         (CHR): Likewise.
51515         (__strchrnul): Likewise.  Do not use BP_SYM.
51516         (strchrnul): Do not use BP_SYM in weak_alias.
51517         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
51518         "bp-asm.h".
51519         (PARMS): Do not use macros from bp-asm.h.
51520         (STOP): Likewise.
51521         (strcspn): Do not use BP_SYM.
51522         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
51523         "bp-asm.h".
51524         (PARMS): Do not use macros from bp-asm.h.
51525         (STR): Likewise.
51526         (STOP): Likewise.
51527         (strpbrk): Likewise.  Do not use BP_SYM.
51528         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
51529         "bp-asm.h".
51530         (PARMS): Do not use macros from bp-asm.h.
51531         (STR): Likewise.
51532         (CHR): Likewise.
51533         (strrchr): Likewise.  Do not use BP_SYM.
51534         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
51535         (PARMS): Do not use macros from bp-asm.h.
51536         (SKIP): Likewise.
51537         (strspn): Do not use BP_SYM.
51538         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
51539         (PARMS): Do not use macros from bp-asm.h.
51540         (STR): Likewise.
51541         (DELIM): Likewise.
51542         (SAVE): Likewise.
51543         (FUNCTION): Likewise.  Do not use BP_SYM.
51544         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
51545         aliases.
51546         (strtok_r): Likewise.
51547         (__GI___strtok_r): Likewise.
51548         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
51549         (PARMS): Do not use macros from bp-asm.h.
51550         (S1): Likewise.
51551         (S2): Likewise.
51552         (SIZE): Likewise.
51553         (__mpn_sub_n): Do not use BP_SYM.
51554         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
51555         "bp-asm.h".
51556         (PARMS): Do not use macros from bp-asm.h.
51557         (S1): Likewise.
51558         (SIZE): Likewise.
51559         (__mpn_submul_1): Do not use BP_SYM.
51560         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
51561         <bp-sym.h>.
51562         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
51563         and <bp-asm.h>.
51564         (PARMS): Do not use macros from bp-asm.h.
51565         (FLAGS): Likewise.
51566         (PTID): Likewise.
51567         (TLS): Likewise.
51568         (CTID): Likewise.
51569         (__clone): Do not use BP_SYM.
51570         (clone): Do not use BP_SYM in weak_alias.
51571         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
51572         and <bp-asm.h>.
51573         (PARMS): Do not use macros from bp-asm.h.
51574         (LEN): Likewise.
51575         (__mmap64): Do not use BP_SYM.
51576         (mmap64): Do not use BP_SYM in weak_alias.
51577         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
51578         <bp-sym.h> and <bp-asm.h>.
51579         (PARMS): Do not use macros from bp-asm.h.
51580         (__posix_fadvise64_l64): Do not use BP_SYM.
51581         * sysdeps/unix/sysv/linux/i386/semtimedop.S
51582         (PARMS): Do not use macros from bp-asm.h.
51583         (NSOPS): Likewise.
51584         (semtimedop): Do not use BP_SYM.
51585         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
51586         and <bp-asm.h>.
51588 2013-02-21  Allan McRae  <allan@archlinux.org>
51590         * manual/message.texi (Charset conversion in gettext):
51591         Move @end statement to beginning of line.
51593 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
51595         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
51596         static.
51597         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
51598         Likewise.
51600         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
51601         (denorm): Likewise.
51602         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
51603         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
51605 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51607         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
51608         tail-call to the resolved function if pltexit isn't needed.
51610 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
51612         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
51613         or Y being zero as being unlikely.
51614         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
51615         Likewise.
51617 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
51619         * manual/nss.texi (System Databases and Name Service Switch):
51620         Remove frobnicate @pxref.
51622 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
51624         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
51625         __attribute__ ((unused)) to __attribute__ ((__unused__)).
51627 2013-02-20  Petr Machata  <pmachata@redhat.com>
51629         * elf/elf.h (R_ARM_TARGET1): New macro.
51630         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
51631         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
51632         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
51633         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
51634         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
51635         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
51636         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
51637         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
51638         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
51639         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
51640         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
51641         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
51642         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
51643         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
51644         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
51645         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
51646         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
51647         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
51648         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
51649         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
51650         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
51651         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
51652         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
51653         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
51654         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
51655         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
51656         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
51657         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
51658         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
51659         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
51660         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
51661         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
51662         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
51663         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
51664         (R_ARM_THM_GOT_BREL12): Likewise.
51665         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
51666         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
51667         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
51668         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
51669         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
51670         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
51671         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
51672         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
51673         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
51675 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
51677         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
51678         __attribute_used__ to __attribute__ ((unused)).
51680 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
51682         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
51683         powerpc mpa.c.
51684         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
51685         comment formatting.
51686         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
51688 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
51690         [BZ #13550]
51691         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
51692         Remove macro.
51693         (ENTER): Remove both macro definitions.
51694         (LEAVE): Likewise.
51695         (CHECK_BOUNDS_LOW): Likewise.
51696         (CHECK_BOUNDS_HIGH): Likewise.
51697         (CHECK_BOUNDS_BOTH): Likewise.
51698         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
51699         (RETURN_BOUNDED_POINTER): Likewise.
51700         (RETURN_NULL_BOUNDED_POINTER): Likewise.
51701         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
51702         (POP_ERRNO_LOCATION_RETURN): Likewise.
51703         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
51704         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
51705         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
51706         macros.
51707         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51708         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
51709         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
51710         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
51711         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
51712         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
51713         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
51714         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
51715         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
51716         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
51717         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
51718         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
51719         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
51720         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
51721         removed macros.
51722         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51723         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
51724         macros.
51725         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
51726         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
51727         * sysdeps/i386/i586/memset.S (memset): Likewise.
51728         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
51729         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51730         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
51731         macros.
51732         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
51733         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
51734         Change uses of L(2) to L(out).
51735         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
51736         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
51737         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
51738         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
51739         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
51740         removed macros.
51741         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51742         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
51743         macros.
51744         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
51745         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
51746         (RETURN): Do not use macro LEAVE.
51747         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
51748         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
51749         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
51750         * sysdeps/i386/i686/memset.S (memset): Likewise.
51751         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
51752         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
51753         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
51754         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
51755         Likewise.
51756         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
51757         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
51758         L(1_2) and L(1_3) into L(1).
51759         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
51760         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
51761         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
51762         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
51763         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
51764         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
51765         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
51766         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51767         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
51768         macros.
51769         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
51770         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
51771         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
51772         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
51773         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
51774         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
51775         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
51776         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
51777         * sysdeps/i386/strcspn.S (strcspn): Likewise.
51778         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
51779         * sysdeps/i386/strrchr.S (strrchr): Likewise.
51780         * sysdeps/i386/strspn.S (strspn): Likewise.
51781         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
51782         conditional code.
51783         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
51784         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
51785         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
51786         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
51787         L(1_3) into L(1_1).
51788         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
51789         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
51790         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
51791         macros.
51792         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51794 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
51796         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
51797         macro.
51799 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
51801         * math/atest-exp.c (exp_mpn): Remove ROUND.
51802         * math/atest-exp2.c (exp_mpn): Likewise.
51803         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
51805         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
51806         * stdlib/tst-tls-atexit-lib.c: Likewise.
51807         * stdlib/tst-tls-atexit.c: Likewise.
51809 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
51811         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
51812         and __attribute_alloc_size__.
51814 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
51816         * include/programs/xmalloc.h: Change __attribute_alloc_size to
51817         __attribute_alloc_size__.
51818         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
51819         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
51821 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
51823         * include/programs/xmalloc.h: New file.
51824         * catgets/gencat.c: Include it.
51825         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
51826         * elf/pldd.c: Likewise.
51827         * iconv/iconv_charmap.c: Likewise.
51828         * iconv/iconvconfig.c: Likewise.
51829         * iconv/strtab.c: Likewise.
51830         * locale/programs/locale.c: Likewise.
51831         * locale/programs/localedef.h: Likewise.
51832         * locale/programs/simple-hash.c: Likewise.
51833         * nscd/nscd.h: Likewise.
51834         * nss/makedb.c: Likewise.
51835         * sysdeps/generic/ldconfig.h: Likewise.
51837 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
51839         * Versions.def: Add GLIBC_2.18.
51840         * include/link.h (struct link_map): New member l_tls_dtor_count.
51841         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
51842         (__call_tls_dtors): Likewise.
51843         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
51844         __cxa_thread_atexit_impl.
51845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
51846         Likewise.
51847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
51848         Likewise.
51849         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
51850         Likewise.
51851         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
51852         Likewise.
51853         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
51854         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
51855         Likewise.
51856         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
51857         Likewise.
51858         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
51859         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
51860         Likewise.
51861         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
51862         (tests): Add test case tst-tls-atexit.
51863         (modules-names): Add shared library for tst-tls-atexit.
51864         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
51865         (GLIBC_PRIVATE): Add __call_tls_dtors.
51866         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
51867         for libstdc++.
51868         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
51869         * stdlib/tst-tls-atexit.c: New test case.
51870         * stdlib/tst-tls-atexit-lib.c: New test case.
51872         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
51874         * elf/Versions (ld): Add _dl_find_dso_for_object.
51875         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
51876         * elf/dl-open.c (_dl_find_dso_for_object): New function.
51877         (dl_open_worker): Use _dl_find_dso_for_object.
51878         * elf/dl-sym.c (do_sym): Likewise.
51879         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
51881 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51883         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
51884         Syntactic changes only.
51885         (_dl_runtime_profile): Do a tail-call to the resolved function.
51887 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
51889         [BZ #13550]
51890         * sysdeps/x86_64/bp-asm.h: Remove file.
51891         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
51892         <bp-sym.h> and <bp-asm.h>.
51893         (__clone): Do not use BP_SYM.
51894         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
51895         <bp-sym.h> and <bp-asm.h>.
51896         * sysdeps/unix/x86_64/sysdep.S: Likewise.
51897         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
51898         "bp-asm.h".
51899         (_setjmp): Do not use BP_SYM.
51900         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
51901         "bp-asm.h".
51902         (setjmp): Do not use BP_SYM.
51903         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
51904         libc_hidden_def.
51905         (mempcpy): Do not use BP_SYM in weak_alias.
51906         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
51907         "bp-asm.h".
51908         (strchr): Do not use BP_SYM.
51909         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
51910         "bp-asm.h".
51911         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
51912         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
51913         (_start): Do not use BP_SYM.
51914         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
51915         "bp-asm.h".
51916         (strcat): Do not use BP_SYM.
51917         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
51918         "bp-asm.h".
51919         (STRCMP): Do not use BP_SYM.
51920         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
51921         "bp-asm.h".
51922         (STRCPY): Do not use BP_SYM.
51923         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
51924         "bp-asm.h".
51925         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
51926         "bp-asm.h".
51927         (FUNCTION): Do not use BP_SYM.
51928         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
51929         weak_alias.
51930         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
51932 2013-02-17  Andreas Jaeger  <aj@suse.de>
51934         * time/Versions: Sort entries.
51935         * string/Versions: Likewise.
51936         * resolv/Versions: Likewise.
51937         * posix/Versions: Likewise.
51938         * iconv/Versions: Likewise.
51939         * elf/Versions: Likewise.
51940         * wcsmbs/Versions: Likewise.
51942 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
51944         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
51945         loop termination condition.
51947         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
51948         variable to calculate EZ.
51949         (__sqr): Likewise.
51951         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
51952         the lower precision input.
51954 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
51956         [BZ #13550]
51957         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
51958         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
51959         (run-via-rtld-prefix): Do not handle %-bp tests.
51960         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
51961         (all-object-suffixes): Remove .ob.
51962         (bppfx): Remove variable.
51963         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
51964         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
51965         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
51966         [$(build-bounded) = yes] (libtype.ob): Likewise.
51967         * Makerules (elide-routines.ob): Remove variable.
51968         (do-tests-clean): Do not handle *-bp.out.
51969         (common-mostlyclean): Do not handle *-bp and *-bp.out.
51970         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
51971         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
51972         (tests): Do not include $(tests-bp.out).
51973         (xtests): Do not include $(xtests-bp.out).
51974         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
51975         [$(build-bounded) = yes] ($(addprefix
51976         $(objpfx),$(binaries-bounded))): Remove rule.
51977         ($(objpfx)%-bp.out): Remove rule.
51978         * config.make.in (build-bounded): Remove variable.
51979         * crypt/Makefile [$(build-bounded) = yes]
51980         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
51981         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
51982         append to variable.
51983         [$(build-bounded) = yes] (install-lib): Likewise.
51984         [$(build-bounded) = yes] (generated): Likewise.
51985         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
51986         Remove rule.
51987         * intl/Makefile [$(build-bounded) = yes]
51988         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
51989         * math/Makefile [$(build-bounded) = yes]
51990         ($(tests:%=$(objpfx)%-bp): Likewise.
51991         * misc/Makefile [$(build-bounded) = yes]
51992         ($(objpfx)tst-tsearch-bp): Likewise.
51993         * nptl/Makeconfig (bounded-thread-library): Remove variable.
51994         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
51995         Remove dependency.
51996         * string/Makefile (o-objects.ob): Remove variable.
51997         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
51998         (CFLAGS-.ob): Remove variable.
51999         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
52000         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
52001         both definitions of variable.
52002         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
52003         (ASFLAGS-.ob): Remove variable.
52005 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
52007         [BZ #13550]
52008         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
52009         Remove __BOUNDED_POINTERS__ from condition.
52010         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
52011         * string/bits/string2.h [!__NO_STRING_INLINES &&
52012         !__BOUNDED_POINTERS__]: Likewise.
52013         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
52014         Likewise.
52015         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
52016         Remove conditional code.
52017         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
52018         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
52019         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
52020         condition.
52022         [BZ #13550]
52023         * csu/libc-start.c: Do not include <bp-sym.h>.
52024         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
52025         * elf/dl-open.c: Do not include <bp-sym.h>.
52026         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
52027         * math/fegetenv.c: Do not include <bp-sym.h>.
52028         (fegetenv): Do not use BP_SYM in versioned symbols.
52029         * nptl/sysdeps/pthread/bits/libc-lockP.h
52030         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
52031         <bp-sym.h>.
52032         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52033         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
52034         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52035         (__pthread_mutex_destroy): Likewise.
52036         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52037         (__pthread_mutex_lock): Likewise.
52038         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52039         (__pthread_mutex_trylock): Likewise.
52040         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52041         (__pthread_mutex_unlock): Likewise.
52042         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52043         (__pthread_mutexattr_init): Likewise.
52044         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52045         (__pthread_mutexattr_destroy): Likewise.
52046         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52047         (__pthread_mutexattr_settype): Likewise.
52048         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52049         (__pthread_rwlock_init): Likewise.
52050         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52051         (__pthread_rwlock_destroy): Likewise.
52052         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52053         (__pthread_rwlock_rdlock): Likewise.
52054         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52055         (__pthread_rwlock_tryrdlock): Likewise.
52056         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52057         (__pthread_rwlock_wrlock): Likewise.
52058         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52059         (__pthread_rwlock_trywrlock): Likewise.
52060         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52061         (__pthread_rwlock_unlock): Likewise.
52062         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52063         (__pthread_key_create): Likewise.
52064         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52065         (__pthread_setspecific): Likewise.
52066         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52067         (__pthread_getspecific): Likewise.
52068         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
52069         Likewise.
52070         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52071         (_pthread_cleanup_push_defer): Likewise.
52072         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52073         (_pthread_cleanup_pop_restore): Likewise.
52074         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52075         (pthread_setcancelstate): Likewise.
52076         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
52077         <bp-sym.h>.
52078         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
52079         (memchr): Do not use BP_SYM in weak_alias.
52080         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
52081         (fegetenv): Do not use BP_SYM in versioned symbols.
52082         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
52083         (fesetenv): Do not use BP_SYM in versioned symbols.
52084         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
52085         (feupdateenv): Do not use BP_SYM in versioned symbols.
52086         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
52087         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
52088         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
52089         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
52090         (open64): Do not use BP_SYM in weak_alias.
52091         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
52092         (fegetenv): Do not use BP_SYM in versioned symbols.
52093         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
52094         (fesetenv): Do not use BP_SYM in versioned symbols.
52095         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
52096         (feupdateenv): Do not use BP_SYM in versioned symbols.
52097         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
52098         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
52099         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
52100         (feraiseexcept): Do not use BP_SYM in versioned symbols.
52101         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
52102         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
52103         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
52104         <bp-sym.h>.
52105         (__libc_start_main): Do not use BP_SYM.
52107 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
52109         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
52110         redundant return line.
52111         (norm): Likewise.
52112         (denorm): Likewise.
52113         (dbl_mp): Likewise.
52114         (sub_magnitudes): Likewise.
52115         (__add): Likewise.
52116         (__sub): Likewise.
52117         (__mul): Likewise.
52118         (__inv): Likewise.
52119         (__dvd): Likewise.
52120         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
52121         (norm): Likewise.
52122         (denorm): Likewise.
52123         (dbl_mp): Likewise.
52124         (sub_magnitudes): Likewise.
52125         (__add): Likewise.
52126         (__sub): Likewise.
52127         (__mul): Likewise.
52128         (__inv): Likewise.
52129         (__dvd): Likewise.
52131         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
52132         instead of __mul.
52133         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
52134         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
52135         (cc32): Likewise.
52137         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
52138         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
52139         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
52140         of __mul for squares.
52141         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
52142         function
52143         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
52144         Likewise.
52145         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
52146         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
52148 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
52150         [BZ #13550]
52151         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
52152         code.
52153         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
52154         prototype or function definition.  Rename ubp_* variables and
52155         parameters.  Remove argv definitions conditional on
52156         [__BOUNDED_POINTERS__].
52157         * debug/backtrace.c (__backtrace): Do not use __unbounded.
52158         * elf/dl-runtime.c (_dl_fixup): Likewise.
52159         * include/set-hooks.h (RUN_HOOK): Likewise.
52160         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
52161         definition.
52162         * string/strcpy.c (strcpy): Do not use __unbounded.
52163         * sysdeps/generic/frame.h (struct layout): Likewise.
52164         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
52165         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
52166         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
52167         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
52168         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
52169         (__backtrace): Likewise.
52170         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
52171         use __ptrvalue.
52172         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
52173         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
52174         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
52175         Likewise.
52176         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
52177         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
52178         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
52179         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
52180         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
52181         Do not use __unbounded.
52182         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
52183         Rename __unboundedrlimits parameter to rlimits in prototype.
52184         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
52185         Do not use __unbounded.
52186         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
52187         not use __ptrvalue.
52188         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
52189         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
52190         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
52191         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
52192         __ptrvalue or __unbounded.
52193         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
52194         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
52195         use __unbounded.
52196         (__new_msgctl): Do not use __ptrvalue.
52197         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
52198         __unbounded.
52199         (__libc_msgrcv): Do not use __ptrvalue.
52200         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
52201         startup_info): Do not use __unbounded.
52202         (__libc_start_main): Likewise.  Rename ubp_* variables and
52203         parameters.  Remove argv definitions conditional on
52204         [__BOUNDED_POINTERS__].
52205         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
52206         __ptrvalue.
52207         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
52208         use __unbounded.
52209         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
52210         or __ptrvalue.
52211         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
52212         use __unbounded.
52213         (__new_shmctl): Do not use __ptrvalue.
52214         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
52215         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
52216         Likewise.
52217         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
52218         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
52219         (__libc_sigaction): Likewise.
52220         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
52221         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
52222         Likewise.
52223         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
52225 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
52227         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
52229         * string/mempcpy.c: Implement by calling memcpy.
52231 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
52233         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
52235         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
52236         evaluation.
52238         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
52239         values in the mantissa.
52241         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
52242         minimize writes to Z.
52243         (sub_magnitudes): Simplify code a bit.
52245 2013-02-12  Roland McGrath  <roland@hack.frob.com>
52247         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
52248         from the message.  The linker prefixes all warnings with that already.
52250 2013-02-12  Andreas Schwab  <schwab@suse.de>
52252         [BZ #15078]
52253         * posix/regexec.c (extend_buffers): Add parameter min_len.
52254         (check_matching): Pass minimum needed length.
52255         (clean_state_log_if_needed): Likewise.
52256         (get_subexp): Likewise.
52257         * posix/Makefile (tests): Add bug-regex34.
52258         (bug-regex34-ENV): Define.
52259         * posix/bug-regex34.c: New file.
52261         [BZ #11561]
52262         * posix/regcomp.c (parse_bracket_exp): When looking up collating
52263         elements compare against the byte sequence of it, not its name.
52264         * posix/Makefile (tests): Add bug-regex35.
52265         (bug-regex35-ENV): Define.
52266         * posix/bug-regex35.c: New file.
52268 2013-02-11  Tom de Vries  <tom@codesourcery.com>
52270         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
52271         comment.
52272         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
52273         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
52274         (CHECK_EOL): Add undef.
52276 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
52278         * bits/stdlib-bsearch.h: New file.
52279         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
52280         * stdlib/stdlib.h: Likewise.
52282 2013-02-11  Roland McGrath  <roland@hack.frob.com>
52284         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
52285         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
52286         declaration.
52287         * manual/search.texi (Array Search Function): Add missing const in
52288         lfind prototype.
52289         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
52290         declaration to use rlim_t.
52291         (Basic Scheduling Functions): Remove erroneous const from
52292         sched_getparam prototype.  Remove erroneous * from
52293         sched_get_priority_max and sched_get_priority_min prototypes.
52294         (Resource Usage): Fix summary @comment on vtimes to refer to
52295         sys/vtimes.h rather than vtimes.h.
52296         Add missing *s in vtimes prototype.
52297         (Limits on Resources): Fix ulimit prototype to return long int.
52298         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
52299         prototypes to use long int rather than double.
52300         (BSD Random): Fix initstate and setstate to use char *, not void *.
52301         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
52302         prototype to make second argument 'struct aiocb64 *const[]'.
52303         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
52304         (Status of AIO Operations): Remove erroneous const in aio_return and
52305         aio_return64 prototypes.
52306         (Synchronizing I/O): Fix sync prototype to return void.
52307         * manual/startup.texi (Suboptions): Remove an erroneous const in
52308         getsubopt prototype.
52309         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
52310         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
52311         use size_t rather than int.
52312         (Scanning All Users): Likewise for getpwent_r.
52313         (Setting Groups): Add missing const to setgroups prototype.
52314         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
52315         * manual/socket.texi (Host Names): Fix gethostbyaddr and
52316         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
52317         'const void *' rather than 'const char *'.
52318         (Host Address Functions): Likewise for inet_ntop.
52319         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
52320         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
52321         ssize_t for return value.
52322         (Sending Data): Likewise for send, sendto, sendmsg.
52323         (Socket Option Functions): Add a missing const in setsockopt prototype.
52324         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
52325         use wchar_t for the argument.
52326         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
52327         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
52328         take no arguments.
52329         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
52330         double/float/long double for second argument.
52331         Fix return types of significand, significandf, significandl.
52332         * manual/filesys.texi (Setting Permissions): Use mode_t for second
52333         argument in fchmod prototype.
52334         (File Owner): Use uid_t and gid_t in fchown prototype.
52335         (File Times): Add const to utimes, futimes, and lutimes prototypes.
52336         (Making Special Files): Use mode_t and dev_t in mknod prototype.
52337         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
52338         use 'const struct dirent **' as argument types to CMP function pointer
52339         argument.
52340         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
52341         (File Times): Fix summary magic @comment for struct utimbuf and utime
52342         to refer to utime.h, not time.h.
52343         * manual/string.texi (Argz Functions): Add missing const in
52344         argz_extract and argz_next prototypes.
52345         (Finding Tokens in a String): Likewise for basename.
52346         (String/Array Comparison): Fix typo in wcscasecmp prototype.
52347         (Copying and Concatenation): Fix typo in wmemmove prototype.
52348         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
52349         (Signal Stack): Remove erroneous const in sigstack prototype.
52350         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
52351         prototype.
52352         (Simple Calendar Time): Likewise for stime.
52353         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
52354         prototype.
52355         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
52356         say sys/sysctl.h instead.
52357         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
52358         and vsyslog prototypes.
52360 2013-02-11  Tom de Vries  <tom@codesourcery.com>
52362         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
52363         Remove.
52365 2013-02-11  Roland McGrath  <roland@hack.frob.com>
52367         * misc/sys/mman.h: Fix typo in mremap comment.
52369 2013-02-08  Roland McGrath  <roland@hack.frob.com>
52371         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
52372         the '\0' terminator.
52374 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
52376         [BZ #13550]
52377         * debug/segfault.c: Don't include <bp-checks.h>.
52378         * sysdeps/generic/bp-checks.h: Remove file.
52379         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
52380         (__GETDENTS): Don't use CHECK_N.
52381         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
52382         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
52383         (__getgroups): Don't use CHECK_N.
52384         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
52385         (setgroups): Don't use CHECK_N.
52386         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
52387         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
52388         (__libc_msgrcv): Don't use CHECK_N.
52389         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
52390         (__libc_msgsnd): Don't use CHECK_N.
52391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
52392         <bp-checks.h>.
52393         (__libc_pread): Don't use CHECK_N.
52394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
52395         include <bp-checks.h>.
52396         (__libc_pread64): Don't use CHECK_N.
52397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
52398         include <bp-checks.h>.
52399         (__libc_pwrite): Don't use CHECK_N.
52400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
52401         include <bp-checks.h>.
52402         (__libc_pwrite64): Don't use CHECK_N.
52403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
52404         <bp-checks.h>.
52405         (__libc_pread): Don't use CHECK_N.
52406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
52407         include <bp-checks.h>.
52408         (__libc_pread64): Don't use CHECK_N.
52409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
52410         include <bp-checks.h>.
52411         (__libc_pwrite): Don't use CHECK_N.
52412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
52413         include <bp-checks.h>.
52414         (__libc_pwrite64): Don't use CHECK_N.
52415         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
52416         (do_pread): Don't use CHECK_N.
52417         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
52418         (do_pread64): Don't use CHECK_N.
52419         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
52420         (do_pwrite): Don't use CHECK_N.
52421         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
52422         (do_pwrite64): Don't use CHECK_N.
52423         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
52424         (__libc_readv): Don't use CHECK_N.
52425         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
52426         (semop): Don't use CHECK_N.
52427         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
52428         <bp-checks.h>.
52429         (semtimedop): Don't use CHECK_N.
52430         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
52431         (__libc_pread): Don't use CHECK_N.
52432         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
52433         <bp-checks.h>.
52434         (__libc_pread64): Don't use CHECK_N.
52435         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
52436         <bp-checks.h>.
52437         (__libc_pwrite): Don't use CHECK_N.
52438         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
52439         <bp-checks.h>.
52440         (__libc_pwrite64): Don't use CHECK_N.
52441         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
52442         <bp-checks.h>.
52443         (__libc_msgrcv): Don't use CHECK_N.
52444         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
52445         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
52446         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
52447         (__libc_writev): Don't use CHECK_N.
52449 2013-02-08  Roland McGrath  <roland@hack.frob.com>
52451         * string/strcpy.c: Removed unused variable.
52453         * Makeconfig (+sysdep-includes): Define with := rather than =.
52454         Use an existing include/ subdir of each sysdeps dir before it.
52456 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
52458         * nscd/connection.c (register_traced_file): Comment function.
52459         [HAVE_INOTIFY] (union __inev): Define.
52460         [HAVE_INOTIFY] (inotify_check_files): New function.
52461         [HAVE_INOTIFY] (clear_db_cache): Likewise.
52462         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
52463         clear_db_cache.
52464         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
52466 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
52468         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
52469         loaded if not already and that a failure is permanent.
52471 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
52473         [BZ #15006]
52474         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
52475         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
52477 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
52479         [BZ #13550]
52480         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
52481         (CHECK_1_NULL_OK): Likewise.
52482         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
52483         (__fxstat): Do not use CHECK_1.
52484         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
52485         <bp-checks.h>.
52486         (___fxstat64): Do not use CHECK_1.
52487         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
52488         <bp-checks.h>.
52489         (__fxstatat): Do not use CHECK_1.
52490         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
52491         <bp-checks.h>.
52492         (__fxstatat64): Do not use CHECK_1.
52493         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
52494         <bp-checks.h>.
52495         (__fxstat): Do not use CHECK_1.
52496         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
52497         <bp-checks.h>.
52498         (__fxstatat): Do not use CHECK_1.
52499         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
52500         <bp-checks.h>.
52501         (__getresgid): Do not use CHECK_1.
52502         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
52503         <bp-checks.h>.
52504         (__getresuid): Do not use CHECK_1.
52505         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
52506         <bp-checks.h>.
52507         (__lxstat): Do not use CHECK_1.
52508         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
52509         <bp-checks.h>.
52510         (__old_msgctl): Do not use CHECK_1.
52511         (__new_msgctl): Likewise.
52512         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
52513         <bp-checks.h>.
52514         (__new_setrlimit): Do not use CHECK_1.
52515         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
52516         <bp-checks.h>.
52517         (__old_shmctl): Do not use CHECK_1.
52518         (__new_shmctl): Likewise.
52519         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
52520         <bp-checks.h>.
52521         (__xstat): Do not use CHECK_1.
52522         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
52523         (__lxstat): Do not use CHECK_1.
52524         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
52525         <bp-checks.h>.
52526         (___lxstat64): Do not use CHECK_1.
52527         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
52528         (__old_msgctl): Do not use CHECK_1.
52529         (__new_msgctl): Likewise.
52530         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
52531         <bp-checks.h>.
52532         (__gettimeofday): Do not use CHECK_1.
52533         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
52534         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
52535         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
52536         <bp-checks.h>.
52537         (__gettimeofday): Do not use CHECK_1.
52538         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
52539         (__old_shmctl): Do not use CHECK_1_NULL_OK.
52540         (__new_shmctl): Do not use CHECK_1.
52541         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
52542         <bp-checks.h>.
52543         (do_sigtimedwait): Do not use CHECK_1.
52544         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
52545         <bp-checks.h>.
52546         (do_sigwaitinfo): Do not use CHECK_1.
52547         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
52548         <bp-checks.h>.
52549         (msgctl): Do not use CHECK_1.
52550         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
52551         <bp-checks.h>.
52552         (shmctl): Do not use CHECK_1.
52553         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
52554         (ustat): Do not use CHECK_1.
52555         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
52556         <bp-checks.h>.
52557         (__fxstat): Do not use CHECK_1.
52558         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
52559         <bp-checks.h>.
52560         (__fxstatat): Do not use CHECK_1.
52561         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
52562         <bp-checks.h>.
52563         (__lxstat): Do not use CHECK_1.
52564         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
52565         <bp-checks.h>.
52566         (__xstat): Do not use CHECK_1.
52567         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
52568         (__xstat): Do not use CHECK_1.
52569         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
52570         (___xstat64): Do not use CHECK_1.
52572         [BZ #13550]
52573         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
52574         definitions.
52575         (CHECK_BOUNDS_HIGH): Likewise.
52576         * string/strcpy.c: Do not include <bp-checks.h>.
52577         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
52579 2013-02-07  Roland McGrath  <roland@hack.frob.com>
52581         * nscd/nscd-client.h (__nscd_drop_map_ref):
52582         Add __attribute__ ((unused)).
52583         * nis/nss-nisplus.h (niserr2nss): Likewise.
52585         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
52586         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
52588         * csu/libc-tls.c (init_static_tls, init_slotinfo):
52589         Remove inline keyword.
52590         * include/rounding-mode.h (round_away): Likewise.
52591         * libio/wfileops.c (adjust_wide_data): Likewise.
52592         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
52593         (__m128i_strloadu_tolower): Likewise.
52594         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
52595         (__m128i_strloadu_tolower): Likewise.
52596         * time/mktime.c (ydhms_diff): Likewise.
52597         * locale/elem-hash.h (elem_hash): Likewise.
52598         * locale/setlocale.c (setdata): Likewise.
52599         * posix/regex_internal.h (re_string_char_size_at): Likewise.
52600         (re_string_wchar_at): Likewise.
52601         (bitset_not, bitset_merge, bitset_mask): Likewise.
52602         [!(__GNUC__ > 3)] (inline): Remove macro.
52603         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
52604         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
52605         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
52606         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
52607         * string/memcmp.c (memcmp_bytes): Likewise.
52608         * locale/programs/locarchive.c (compute_hashval): Likewise.
52609         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
52610         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
52611         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
52612         * nss/getent.c (print_rpc, print_protocols): Likewise.
52613         (print_passwd, print_group, print_aliases): Likewise.
52614         * nis/nss-nisplus.h (niserr2nss): Likewise.
52615         * nscd/connections.c (restart_p): Likewise.
52616         Change return type to bool.
52618 2013-02-05  Roland McGrath  <roland@hack.frob.com>
52620         * Makeconfig (all-Depend-files): Add existing
52621         $(sorted-subdirs:=/Depend) files.
52622         (all-subdirs): Remove nss.
52623         * sysdeps/unix/inet/Subdirs: Add it here instead.
52624         * hesiod/Depend: New file.
52626         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
52627         instead of calling alloca.
52629         * io/lseek.c (__lseek): Rename to __libc_lseek.
52630         Define __lseek as an alias.
52632         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
52634 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
52636         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
52637         else clause and remove check for non-standard endianness.
52639 2013-02-04  David S. Miller  <davem@davemloft.net>
52641         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52643 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
52645         [BZ #13550]
52646         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
52647         (__ubp_memchr): Remove prototype.
52648         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
52649         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
52650         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
52651         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
52652         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
52653         Remove alias.
52654         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
52655         (__ubp_memchr): Likewise.
52656         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
52657         (__ubp_memchr): Likewise.
52658         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
52659         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
52660         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
52661         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
52662         CHECK_STRING.
52663         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
52664         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
52665         (__getcwd): Do not use CHECK_STRING.
52666         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
52667         <bp-checks.h>.
52668         (__real_chown): Do not use CHECK_STRING.
52669         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
52670         <bp-checks.h>.
52671         (fchownat): Do not use CHECK_STRING.
52672         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
52673         CHECK_STRING.
52674         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
52675         <bp-checks.h>.
52676         (__lchown): Do not use CHECK_STRING.
52677         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
52678         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
52679         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
52680         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
52681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
52682         include <bp-checks.h>.
52683         (truncate64): Do not use CHECK_STRING.
52684         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
52685         <bp-checks.h>.
52686         (__real_chown): Do not use CHECK_STRING.
52687         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
52688         <bp-checks.h>.
52689         (__lchown): Do not use CHECK_STRING.
52690         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
52691         <bp-checks.h>.
52692         (__chown): Do not use CHECK_STRING.
52693         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
52694         <bp-checks.h>.
52695         (truncate64): Do not use CHECK_STRING.
52696         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
52697         Likewise.
52698         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
52699         (__xmknod): Do not use CHECK_STRING.
52700         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
52701         <bp-checks.h>.
52702         (__xmknodat): Do not use CHECK_STRING.
52703         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
52704         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
52706 2013-02-04  Andreas Schwab  <schwab@suse.de>
52708         [BZ #14142]
52709         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
52710         * include/netdb.h: Likewise for h_errno.
52711         * elf/tst-stackguard1.c: Include <tls.h>.
52713 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
52715         * elf/link.h (struct link_map): Extend the l_addr comment.
52716         * include/link.h (struct link_map): Likewise.
52718 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
52720         [BZ #13550]
52721         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
52722         (BOUNDED_1): Remove macro.
52723         * debug/backtrace.c: Don't include <bp-checks.h>.
52724         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
52725         (__backtrace): Likewise.
52726         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
52727         <bp-checks.h>.
52728         (__backtrace): Don't use BOUNDED_1.
52729         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
52730         <bp-checks.h>.
52731         (__backtrace): Don't use BOUNDED_1.
52732         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
52733         (__backtrace): Don't use BOUNDED_1.
52734         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
52735         (shmat): Don't use BOUNDED_N.
52737 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
52739         [BZ #13550]
52740         * sysdeps/generic/bp-start.h: Remove file.
52741         * csu/libc-start.c: Don't include <bp-start.h>.
52742         (LIBC_START_MAIN): Set up __environ directly instead of using
52743         INIT_ARGV_and_ENVIRON.
52744         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
52745         <bp-start.h>.
52747         [BZ #13550]
52748         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
52749         definitions.
52750         (CHECK_FCNTL): Likewise.
52751         (CHECK_N_PAGES): Likewise.
52753         [BZ #13550]
52754         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
52755         definitions.
52756         (CHECK_SIGSET_NULL_OK): Likewise.
52757         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
52758         <bp-checks.h>.
52759         (sigpending): Don't use CHECK_SIGSET.
52760         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
52761         <bp-checks.h>.
52762         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
52763         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
52764         <bp-checks.h>.
52765         (do_sigsuspend): Don't use CHECK_SIGSET.
52766         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
52767         use CHECK_SIGSET.
52768         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
52769         (do_sigwait): Don't use CHECK_SIGSET.
52770         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
52771         use CHECK_SIGSET.
52772         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
52773         include <bp-checks.h>.
52774         (sigpending): Don't use CHECK_SIGSET.
52775         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
52776         include <bp-checks.h>.
52777         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
52778         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
52779         <bp-checks.h>.
52780         (sigpending): Don't use CHECK_SIGSET.
52781         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
52782         <bp-checks.h>.
52783         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
52785         [BZ #13550]
52786         * sysdeps/generic/bp-semctl.h: Remove file.
52787         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
52788         <bp-checks.h> and <bp-semctl.h>.
52789         (__old_semctl): Don't use CHECK_SEMCTL.
52790         (__new_semctl): Likewise.
52791         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
52792         and <bp-semctl.h>.
52793         (__old_semctl): Don't use CHECK_SEMCTL.
52794         (__new_semctl): Likewise.
52795         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
52796         <bp-checks.h> and <bp-semctl.h>.
52797         (__old_semctl): Don't use CHECK_SEMCTL.
52798         (__new_semctl): Likewise.
52799         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
52800         <bp-checks.h> and <bp-semctl.h>.
52801         (semctl): Don't use CHECK_SEMCTL.
52803         [BZ #13550]
52804         * Makerules (elide-bp-thunks): Remove variable.
52805         (elide-routines.oS): Don't use $(elide-bp-thunks).
52806         (elide-routines.os): Likewise.
52807         (elide-routines.o): Likewise.
52808         (elide-routines.op): Likewise.
52809         (elide-routines.og): Likewise.
52810         (objects): Don't use $(bp-thunks).
52811         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
52812         include.
52813         (common-generated): Do not add s-proto-bp.d.
52814         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
52815         (int): Likewise.
52816         (typ): Likewise.
52817         Do not generate makefile rules for bounded-pointer thunks.
52818         * sysdeps/generic/bp-thunks.h: Remove file.
52819         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
52820         * sysdeps/unix/s-proto-bp.S: Likewise.
52822         [BZ #15062]
52823         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
52824         parts of result separately when argument is not close to line from
52825         -i to i and one part of argument is small.
52826         * math/k_casinhf.c (__kernel_casinhf): Likewise.
52827         * math/k_casinhl.c (__kernel_casinhl): Likewise.
52828         * math/libm-test.inc (cacos_test): Add more tests.
52829         (casin_test): Likewise.
52830         (casinh_test): Likewise.
52831         * sysdeps/i386/fpu/libm-test-ulps: Update.
52832         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52834 2013-01-31  David S. Miller  <davem@davemloft.net>
52836         * po/de.po: Update from translation team.
52838 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
52840         * time/tzfile.c: Include stdint.h for SIZE_MAX.
52842 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
52844         * configure.in (_AC_PROG_CC_C89): New definition.
52845         * configure: Regenerate.
52847         * configure.in (AC_PROG_CPP): New definition.
52848         * configure: Regenerate.
52850 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
52852         * debug/tst-backtrace.h: New file.
52853         * debug/tst-backtrace2.c: Include tst-backtrace.h.
52854         (ret): Remove variable.
52855         (x): Likewise.
52856         (FAIL): Remove macro.
52857         (NO_INLINE): Likewise.
52858         (fn1): Use match function instead of strstr.
52859         * debug/tst-backtrace3.c: Include tst-backtrace.h.
52860         (ret): Remove variable.
52861         (x): Likewise.
52862         (FAIL): Remove macro.
52863         (NO_INLINE): Likewise.
52864         (fn): Use match function instead of strstr.
52865         * debug/tst-backtrace4.c: Include tst-backtrace.h.
52866         (ret): Remove variable.
52867         (x): Likewise.
52868         (FAIL): Remove macro.
52869         (NO_INLINE): Likewise.
52870         (handle_signal): Use match function instead of strstr.
52871         * debug/tst-backtrace5.c: Include tst-backtrace.h.
52872         (ret): Remove variable.
52873         (x): Likewise.
52874         (FAIL): Remove macro.
52875         (NO_INLINE): Likewise.
52876         (handle_signal): Use match function instead of strstr.
52878 2013-01-23  Roland McGrath  <roland@hack.frob.com>
52880         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
52882 2013-01-23  David S. Miller  <davem@davemloft.net>
52884         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
52885         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
52886         argument of CAS if possible.
52887         * sysdeps/sparc/sparc64/bits/atomic.h
52888         (__arch_compare_and_exchange_val_32_acq): Likewise.
52889         (__arch_compare_and_exchange_val_64_acq): Likewise.
52891 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
52893         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
52894         * sysdeps/posix/ulimit.c: ... this.
52895         Include <limits.h>.
52896         * sysdeps/unix/bsd/ulimit.c: Remove file.
52898 2013-01-23  Adam Conrad  <adconrad@0c3.net>
52900         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
52901         (LDFLAGS-tst-array5): Likewise.
52903 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
52905         [BZ #15036]
52906         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
52907         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
52908         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
52909         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
52911 2013-01-21  David S. Miller  <davem@davemloft.net>
52913         * sysdeps/sparc/backtrace.c: New file.
52914         * sysdeps/sparc/sparc32/backtrace.h: New file.
52915         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
52916         * sysdeps/sparc/sparc64/backtrace.h: New file.
52917         * sysdeps/sparc/sparc64/backtrace.c: Delete.
52918         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
52919         -funwind-tables.
52921 2013-01-21  Andreas Schwab  <schwab@suse.de>
52923         [BZ #15020]
52924         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
52925         closed its stdout.
52927 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
52929         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
52930         "mpa2.h".
52931         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
52933 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
52934             Mark Mitchell  <mark@codesourcery.com>
52935             Tom de Vries  <tom@codesourcery.com>
52936             Paul Pluzhnikov  <ppluzhnikov@google.com>
52938         * debug/tst-backtrace2.c: New file.
52939         * debug/tst-backtrace3.c: Likewise.
52940         * debug/tst-backtrace4.c: Likewise.
52941         * debug/tst-backtrace5.c: Likewise.
52942         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
52943         (CFLAGS-tst-backtrace3.c): Likewise.
52944         (CFLAGS-tst-backtrace4.c): Likewise.
52945         (CFLAGS-tst-backtrace5.c): Likewise.
52946         (LDFLAGS-tst-backtrace2): Likewise.
52947         (LDFLAGS-tst-backtrace3): Likewise.
52948         (LDFLAGS-tst-backtrace4): Likewise.
52949         (LDFLAGS-tst-backtrace5): Likewise.
52950         (tests): Add new tests tst-backtrace2, tst-backtrace3,
52951         tst-backtrace4 and tst-backtrace5.
52953 2013-01-18  Anton Blanchard  <anton@samba.org>
52954             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
52956         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
52957         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
52958         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
52959         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
52960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
52961         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
52962         "+r" and remove output regs list as redundant.  Add explicit inline
52963         asm to specify register of return val to work around compiler codegen
52964         bug.  Remove (int) cast on return value.  Add return type parameter to
52965         use in macro so that this macro does not truncate return value for
52966         64-bit values.
52967         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
52968         pass to INTERNAL_VSYSCALL_NCS.
52969         (INLINE_VSYSCALL): Add 'long int' as return type to
52970         INTERNAL_VSYSCALL_NCS macro invocation.
52971         (INTERNAL_VSYSCALL): Add 'long int' as return type to
52972         INTERNAL_VSYSCALL_NCS macro invocation.
52973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
52975 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
52977         [BZ #14496]
52978         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
52979         Fix application of SIMD FP exception mask.
52981         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
52982         mp_no from a power of two.
52983         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
52984         __mpexp_twomm1.  Use __pow_mp.
52986         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
52987         multiplication.
52989 2013-01-17  David S. Miller  <davem@davemloft.net>
52991         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52993 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
52995         [BZ #15023]
52996         * include/complex.h: Condition contents on [!_COMPLEX_H].
52997         (__kernel_casinhf): New prototype.
52998         (__kernel_casinh): Likewise.
52999         (__kernel_casinhl): Likewise.
53000         * math/Makefile (libm_calls): Add k_casinh.
53001         * math/k_casinh.c: New file.
53002         * math/k_casinhf.c: Likewise.
53003         * math/k_casinhl.c: Likewise.
53004         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
53005         finite nonzero arguments.
53006         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
53007         finite nonzero arguments.
53008         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
53009         finite nonzero arguments.
53010         * math/s_casinh.c: Do not include <float.h>.
53011         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
53012         * math/s_casinhf.c: Do not include <float.h>.
53013         (__casinhf): Move code for finite nonzero arguments to
53014         k_casinhf.c.
53015         * math/s_casinhl.c: Do not include <float.h>.
53016         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
53017         redefine.
53018         (__casinhl): Move code for finite nonzero arguments to
53019         k_casinhl.c.
53020         * math/libm-test.inc (cacos_test): Add more tests.
53021         * sysdeps/i386/fpu/libm-test-ulps: Update.
53022         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53024 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
53026         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
53027         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
53028         [!HAVE_MREMAP]: Remove [defined linux] case.
53029         * malloc/arena.c: Do not include <malloc-sysdep.h>.
53031 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
53033         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
53035 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
53037         * elf/elf.h (R_386_SIZE32): New relocation.
53038         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
53039         R_386_SIZE32.
53040         (elf_machine_rela): Likewise.
53041         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
53042         R_X86_64_SIZE64 and R_X86_64_SIZE32.
53044 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
53046         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
53047         (FP_FAST_FMA): Do not define.
53048         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
53049         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
53050         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
53051         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
53052         !_SOFT_FLOAT]: Likewise.
53053         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
53054         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
53055         value.
53056         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
53057         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
53058         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
53059         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
53060         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
53061         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
53062         file.
53064 2013-01-16  Andreas Schwab  <schwab@suse.de>
53066         [BZ #14327]
53067         * include/stdlib.h (__mktemp): Add declaration.
53068         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
53069         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
53071 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
53073         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
53074         definitions.
53075         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
53076         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
53077         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
53078         definitions here.
53079         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
53080         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
53081         definitions.
53082         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
53083         and ONE.
53084         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
53085         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
53086         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
53087         definitions.
53088         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
53089         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
53090         definitions.
53091         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
53093         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
53095 2013-01-15  David S. Miller  <davem@davemloft.net>
53097         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
53098         trunc{,f} to libm-sysdep_routes.
53099         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
53100         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
53101         file.
53102         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
53103         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
53104         file.
53105         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
53106         file.
53107         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
53108         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
53109         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
53110         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
53111         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
53112         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
53113         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
53114         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
53116         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
53117         nearbyint{,f} to libm-sysdep_routes.
53118         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
53119         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
53120         New file.
53121         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
53122         file.
53123         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
53124         New file.
53125         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
53126         file.
53127         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
53128         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
53129         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
53130         file.
53131         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
53132         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
53133         file.
53134         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
53135         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
53136         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
53138         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
53139         libc_feholdexcept and libc_fesetenv.
53141 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
53143         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
53145 2013-01-14  David S. Miller  <davem@davemloft.net>
53147         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
53148         (SPARC_ASM_VIS2_IFUNC): Likewise.
53149         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
53150         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
53151         use of 'siam' instruction.
53152         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
53153         Likewise.
53154         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
53155         Likewise.
53156         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
53157         Likewise.
53158         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
53159         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
53160         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
53161         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
53162         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
53163         file.
53164         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
53165         file.
53166         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
53167         file.
53168         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
53169         file.
53170         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
53171         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
53172         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
53173         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
53174         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
53175         new VIS2 routines.
53176         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
53177         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
53178         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
53179         Likewise.
53180         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
53181         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
53182         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
53183         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
53184         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
53185         routines to libm-sysdep_routines.
53186         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
53188         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
53189         fdim/fdimf to libm-sysdep_routines.
53190         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
53191         file.
53192         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
53193         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
53194         file.
53195         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
53196         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
53197         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
53198         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
53199         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
53200         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
53201         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
53203 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
53205         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
53206         to optimize copies.
53208         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
53209         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
53210         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
53212         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
53213         local variable MPTWO.
53214         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
53215         Likewise.
53217 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
53219         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
53220         GLOB_NOESCAPE.
53222 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
53224         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
53226 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
53228         * manual/pattern.texi (glob_t): Document gl_flags.
53229         (glob64_t): Likewise.
53231 2013-01-11  David S. Miller  <davem@davemloft.net>
53233         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
53234         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
53235         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
53236         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
53237         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
53238         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
53239         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
53240         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
53241         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
53242         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
53243         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
53244         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
53245         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
53247         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
53248         sparc V9 rather than using V8 code.
53249         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
53250         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
53252         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
53253         Move to...
53254         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
53255         Here.
53257 2013-01-11  Roland McGrath  <roland@hack.frob.com>
53259         [BZ #14941]
53260         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
53261         not in the main loop.
53262         * configure: Regenerated.
53264 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
53266         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
53267         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
53268         to just #else.
53269         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
53270         [!__GLIBC_HAVE_LONG_LONG] case.
53271         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
53272         condition to just #else.
53273         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
53274         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
53275         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
53276         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
53277         unconditional.
53278         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
53279         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
53280         #elif condition to just #else.
53281         * sysdeps/unix/sysv/linux/sys/sysmacros.h
53282         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
53283         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
53284         #elif condition to just #else.
53286 2013-01-11  Steve Ellcey  <sellcey@mips.com>
53288         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
53289         (EF_MIPS_ARCH_64): Fix value.
53290         (EF_MIPS_ARCH_32R2): New.
53291         (EF_MIPS_ARCH_64R2): New.
53293 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
53295         * Makeconfig (+link-pie-before-libc): New.
53296         (+link-pie-after-libc): Likewise.
53297         (+link-pie-tests): Likewise.
53298         (+link-pie): Rewritten.
53299         (link-before-libc): Remove $(config-LDFLAGS).
53300         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
53301         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
53302         (config-LDFLAGS): Renamed to ...
53303         (rtld-LDFLAGS): This.
53304         (rtld-tests-LDFLAGS): New macro.
53305         (link-libc-rpath-link): Likewise.
53306         (link-libc-tests-rpath-link): Likewise.
53307         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
53308         (link-libc): Prepand $(link-libc-rpath-link).
53309         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
53310         (test-program-prefix): New macro.
53311         (test-via-rtld-prefix): Likewise.
53312         (test-program-cmd): Likewise.
53313         (host-test-program-cmd): Likewise.
53314         * Makefile ($(common-objpfx)testrun.sh): Replace
53315         $(run-program-prefix) with $(test-program-prefix).
53316         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
53317         $(rtld-LDFLAGS).
53318         ($(common-objpfx)shlib.lds): Likewise.
53319         (build-module-helper): Likewise.
53320         ($(common-objpfx)format.lds): Likewise.
53321         * Rules (binaries-pie-tests): New.
53322         (binaries-pie-notests): Likewise.
53323         (binaries-pie): Rewritten.
53324         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
53325         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
53326         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
53327         (make-test-out): Replace $(host-built-program-cmd) with
53328         $(host-test-program-cmd).
53329         * config.make.in (build-hardcoded-path-in-tests): New variable.
53330         * configure.in (--enable-hardcoded-path-in-tests): New configure
53331         option.
53332         (hardcoded_path_in_tests): New AC_SUBST.
53333         * configure: Regenerated.
53334         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
53335         $(built-program-cmd) with $(test-program-cmd).
53336         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
53337         (test_program_cmd): This.
53338         * elf/Makefile ($(objpfx)order.out): Run test with
53339         $(test-program-prefix).
53340         ($(objpfx)order2.out): Likewise.
53341         ($(objpfx)tst-initorder.out): Likewise.
53342         ($(objpfx)tst-initorder2.out): Likewise.
53343         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
53344         $(test-program-cmd).
53345         ($(objpfx)tst-array1-static.out): Likewise.
53346         ($(objpfx)tst-array2.out): Likewise.
53347         ($(objpfx)tst-array3.out): Likewise.
53348         ($(objpfx)tst-array4.out): Likewise.
53349         ($(objpfx)tst-array5.out): Likewise.
53350         ($(objpfx)tst-array5-static.out): Likewise.
53351         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
53352         $(test-program-cmd).
53353         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
53354         $(run-program-prefix) with $(test-program-prefix).
53355         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
53356         (test_program_prefix): This.
53357         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
53358         $(run-program-prefix) with $(test-program-prefix).
53359         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
53360         (test_program_prefix): This.
53361         * iconvdata/tst-tables.sh: Likewise.
53362         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
53363         $(run-program-prefix) with $(test-program-prefix).
53364         ($(objpfx)tst-translit.out): Likewise.
53365         ($(objpfx)tst-gettext2.out): Likewise.
53366         ($(objpfx)tst-gettext4.out): Likewise.
53367         ($(objpfx)tst-gettext6.out): Likewise.
53368         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
53369         (test_program_prefix): This.
53370         * intl/tst-gettext2.sh: Likewise.
53371         * intl/tst-gettext4.sh  Likewise.
53372         * intl/tst-gettext6.sh: Likewise.
53373         * intl/tst-translit.sh: Likewise.
53374         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
53375         with $(test-program-cmd).
53376         * libio/Makefile ($(objpfx)test-freopen.out): Replace
53377         $(run-program-prefix) with $(test-program-prefix).
53378         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
53379         (test_program_prefix): This.
53380         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
53381         $(run-program-prefix) with $(test-program-prefix).
53382         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
53383         (test_program_prefix): This.
53384         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
53385         * posix/Makefile ($(objpfx)globtest.out): Replace
53386         $(run-via-rtld-prefix) and $(test-wrapper) with
53387         $(test-program-prefix) and $(test-via-rtld-prefix).
53388         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
53389         $(test-program-prefix).
53390         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
53391         $(host-test-program-cmd).
53392         (tst-spawn-ARGS): Likewise.
53393         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
53394         $(test-program-prefix).
53395         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
53396         (test_via_rtld_prefix): This.
53397         (test_wrapper): Renamed to ...
53398         (test_program_prefix): This.
53399         (run_program_prefix): Replaced by test_program_prefix.
53400         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
53401         (test_program_prefix): This.
53402         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
53403         with $(host-test-program-cmd).
53404         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
53405         $(run-program-prefix) with $(test-program-prefix).
53406         ($(objpfx)tst-printf.out): Likewise.
53407         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
53408         $(test-program-cmd).
53409         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
53410         (test_program_prefix): This.
53411         * stdio-common/tst-unbputc.sh: Likewise.
53412         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
53413         $(run-program-prefix) with $(test-program-prefix).
53414         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
53415         (test_program_prefix): This.
53416         * string/Makefile ($(objpfx)tst-svc.out):  Replace
53417         $(built-program-cmd) with $(test-program-cmd).
53419 2013-01-11  Andreas Jaeger  <aj@suse.de>
53421         [BZ #15003]
53422         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
53423         value. Sync with Linux 3.7.
53425 2013-01-10  David S. Miller  <davem@davemloft.net>
53427         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
53428         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
53429         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
53431 2013-01-10  Roland McGrath  <roland@hack.frob.com>
53433         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
53434         never set.
53435         * configure: Regenerated.
53437 2013-01-10  David S. Miller  <davem@davemloft.net>
53439         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
53440         sparc V9 rather than using V8 code.
53441         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
53442         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
53444 2013-01-10  Roland McGrath  <roland@hack.frob.com>
53446         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
53447         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
53448         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
53449         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
53450         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
53451         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
53452         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
53453         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
53454         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
53455         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
53456         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
53457         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
53458         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
53459         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
53460         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
53461         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
53462         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
53463         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
53464         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
53465         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
53466         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
53467         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
53468         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
53469         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
53470         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
53471         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
53472         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
53474 2013-01-10  David S. Miller  <davem@davemloft.net>
53476         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53478 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
53480         * posix/Makefile (tests-static): New variable.
53481         (tests): Add $(tests-static).
53482         (tst-exec-static-ARGS): New variable.
53483         (tst-spawn-static-ARGS): Likewise.
53484         * posix/tst-exec-static.c: New file.
53485         * posix/tst-spawn-static.c: Likewise.
53486         * posix/tst-exec.c: Support run directly.
53487         * posix/tst-spawn.c: Likewise.
53489 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
53491         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
53492         long.
53493         * math/bits/mathcalls.h (llrint): Likewise.
53494         (llround): Likewise.
53495         * stdlib/stdlib.h (struct drand48_data): Likewise.
53496         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
53497         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
53498         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
53499         Likewise.
53500         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
53501         Likewise.
53502         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
53503         (elf_greg_t): Likewise.
53504         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
53505         (__jmp_buf): Likewise.
53506         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
53507         definitions.
53508         (llrint): Likewise, for all definitions.
53509         (llrintl): Likewise.
53511         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
53512         Remove [__GNUC__] condition.
53513         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
53514         condition to just [__USE_ISOC99].
53515         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
53517 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
53519         [BZ #14200]
53520         * sysdeps/unix/sysv/linux/x86/bits/environments.h
53521         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
53522         defined.
53523         (_POSIX_V6_ILP32_OFF32): Likewise.
53524         (_XBS5_ILP32_OFF32): Likewise.
53525         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
53526         (__ILP32_OFFBIG_LDFLAGS): Likewise.
53528 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
53530         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
53532         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
53533         doubles __mpexp_twomm1.  Adjust usage.
53534         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
53535         Remove.
53537 2013-01-10  Andreas Schwab  <schwab@suse.de>
53539         [BZ #14964]
53540         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
53541         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
53543 2013-01-09  David S. Miller  <davem@davemloft.net>
53545         [BZ #15003]
53546         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
53547         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
53548         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
53549         (TCP_FASTOPEN): Define.
53550         (tcp_repair_opt): New structure.
53551         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
53552         enum values.
53553         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
53554         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
53555         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
53556         (tcp_cookie_transactions): New structure.
53558 2013-01-09  Anton Blanchard  <anton@samba.org>
53560         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
53561         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
53562         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
53563         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
53565 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
53567         * include/features.h (__USE_ANSI): Remove.
53569 2013-01-09  Roland McGrath  <roland@hack.frob.com>
53571         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
53573         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
53575 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
53577         * sysdeps/s390/fpu/libm-test-ulps: Update.
53579         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53581         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
53582         (__acr): Likewise.
53583         (__cpy): Likewise.
53584         (norm): Likewise.
53585         (denorm): Likewise.
53586         (__mp_dbl): Likewise.
53587         (__dbl_mp): Likewise.
53588         (add_magnitudes): Likewise.
53589         (sub_magnitudes): Likewise.
53590         (__add): Likewise.
53591         (__sub): Likewise.
53592         (__mul): Likewise.
53593         (__inv): Likewise.
53594         (__dvd): Likewise.
53595         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
53596         (__acr): Likewise.
53597         (__cpy): Likewise.
53598         (norm): Likewise.
53599         (denorm): Likewise.
53600         (__mp_dbl): Likewise.
53601         (__dbl_mp): Likewise.
53602         (add_magnitudes): Likewise.
53603         (sub_magnitudes): Likewise.
53604         (__add): Likewise.
53605         (__sub): Likewise.
53606         (__mul): Likewise.
53607         (__inv): Likewise.
53608         (__dvd): Likewise.
53609         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
53610         (__acr): Likewise.
53611         (__cpy): Likewise.
53612         (norm): Likewise.
53613         (denorm): Likewise.
53614         (__mp_dbl): Likewise.
53615         (__dbl_mp): Likewise.
53616         (add_magnitudes): Likewise.
53617         (sub_magnitudes): Likewise.
53618         (__add): Likewise.
53619         (__sub): Likewise.
53620         (__mul): Likewise.
53621         (__inv): Likewise.
53622         (__dvd): Likewise.
53624 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
53626         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
53627         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
53628         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
53629         2 && __USE_EXTERN_INLINES]: Likewise.
53631 2013-01-08  Andreas Jaeger  <aj@suse.de>
53633         [BZ# 14985]
53634         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
53635         Remove.
53636         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
53637         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
53639 2013-01-07  Anton Blanchard  <anton@samba.org>
53641         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
53642         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
53643         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
53644         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
53645         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
53646         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
53647         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
53648         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
53649         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
53650         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
53651         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
53652         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
53653         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
53654         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
53655         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
53656         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
53657         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
53658         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
53659         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
53660         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
53661         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
53662         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
53663         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
53664         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
53665         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
53666         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
53667         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
53668         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
53669         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
53670         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
53671         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
53672         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
53673         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
53674         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
53675         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
53676         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
53677         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
53678         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
53679         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
53680         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
53681         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
53682         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
53683         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
53685 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
53687         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
53688         (__MALLOC_PMT): Likewise.
53689         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
53690         [__GNUC__], only on [_LIBC].
53691         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
53692         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
53693         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
53694         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
53695         forward declaration.
53696         (realloc_hook_ini): Likewise.
53697         (memalign_hook_ini): Likewise.
53698         (__libc_memalign): Do not use __MALLOC_PMT in variable
53699         declaration.
53700         (__libc_valloc): Likewise.
53701         (__libc_pvalloc): Likewise.
53702         (__libc_calloc): Likewise.
53703         (__posix_memalign): Likewise.
53705         [BZ #14996]
53706         * math/s_casinh.c: Include <float.h>.
53707         (__casinh): Do not do computation with squaring and square root
53708         for large arguments.
53709         * math/s_casinhf.c: Include <float.h>.
53710         (__casinhf): Do not do computation with squaring and square root
53711         for large arguments.
53712         * math/s_casinhl.c: Include <float.h>.
53713         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
53714         (__casinhl): Do not do computation with squaring and square root
53715         for large arguments.
53716         * math/libm-test.inc (casin_test): Add more tests.
53717         (casinh_test): Likewise.
53718         * sysdeps/i386/fpu/libm-test-ulps: Update.
53719         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53721 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
53723         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
53724         (__x86_64_raw_data_cache_size): Likewise.
53725         (__x86_64_data_cache_size_half): Likewise.
53726         (__x86_64_raw_data_cache_size_half): Likewise.
53727         (__x86_64_shared_cache_size): Likewise.
53728         (__x86_64_raw_shared_cache_size): Likewise.
53729         (__x86_64_shared_cache_size_half): Likewise.
53730         (__x86_64_raw_shared_cache_size_half): Likewise.
53731         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
53732         to ...
53733         (__x86_data_cache_size): This.
53734         (__x86_64_raw_data_cache_size): Renamed to ...
53735         (__x86_raw_data_cache_size): This.
53736         (__x86_64_data_cache_size_half): Renamed to ...
53737         (__x86_data_cache_size_half): This.
53738         (__x86_64_raw_data_cache_size_half): Renamed to ...
53739         (__x86_raw_data_cache_size_half): This.
53740         (__x86_64_shared_cache_size): Renamed to ...
53741         (__x86_shared_cache_size): This.
53742         (__x86_64_raw_shared_cache_size): Renamed to ...
53743         (__x86_raw_shared_cache_size): This.
53744         (__x86_64_shared_cache_size_half): Renamed to ...
53745         (__x86_shared_cache_size_half): This.
53746         (__x86_64_raw_shared_cache_size_half): Renamed to ...
53747         (__x86_raw_shared_cache_size_half): This.
53748         * sysdeps/x86_64/memcpy.S: Updated.
53749         * sysdeps/x86_64/memset.S: Likewise.
53750         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
53751         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
53752         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
53754 2013-01-04  David S. Miller  <davem@davemloft.net>
53756         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53758 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
53760         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
53761         1 to avoid redefinition warning.
53762         (__USE_GNU): Don't define.
53763         (init_signaling_nan): Protoize.
53765         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53767 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
53769         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
53770         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
53771         (__cpymn): Likewise.
53772         (norm): Remove commented code.
53773         (denorm): Likewise.
53774         (__mp_dbl): Likewise.
53775         (__inv): Likewise.
53776         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
53777         (__cpymn): Likewise.
53778         (norm): Remove commented code.
53779         (denorm): Likewise.
53780         (__mp_dbl): Likewise.
53781         (__inv): Likewise.
53783         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
53784         mp_no value for 1.0 and 2.0.
53785         (norm): Use RADIXI instead of radixi.d.
53786         (denorm): Likewise.
53787         (__mul): Use 0.0 instead of zero.d.
53788         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
53789         mp_no value for 1.0 and 2.0.
53790         (norm): Use RADIXI instead of radixi.d.
53791         (denorm): Likewise.
53792         (__mul): Use 0.0 instead of zero.d.
53794 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
53796         [BZ #14994]
53797         * math/s_casinh.c (__casinh): Reduce finite argument to first
53798         quadrant then set signs of results at the end.
53799         * math/s_casinhf.c (__casinhf): Likewise.
53800         * math/s_casinhl.c (__casinhl): Likewise.
53801         * math/libm-test.inc (casin_test): Add more tests.
53802         (casinh_test): Likewise.
53803         * sysdeps/i386/fpu/libm-test-ulps: Update.
53804         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53806 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
53808         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
53810         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
53812         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
53813         declarations.
53814         (denorm): Likewise.
53815         (__mp_dbl): Likewise.
53816         (__inv): Likewise.
53818         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
53819         and adjust the header comment.
53821         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
53822         variable name from declaration.
53824 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
53826         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53827         Initialize COMMON_CPUID_INDEX_7 element.
53828         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
53829         (CPUID_RTM): Likewise.
53830         (HAS_RTM): Likewise.
53831         (COMMON_CPUID_INDEX_7): New enum.
53833 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
53835         [BZ #14981]
53836         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
53837         size is zero, record memory as freed.
53839 2013-01-03  Andreas Jaeger  <aj@suse.de>
53841         * po/ia.po: Add new Interlingua translation.
53843 2012-01-03  Allan McRae  <allan@archlinux.org>
53845         * locale/programs/localedef.c: Fix description of '--posix' flag.
53847 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
53849         * NEWS: Update dates in second copyright notice.
53850         * README: Update copyright dates in example.
53851         * manual/libc.texinfo: Update copyright dates.
53852         * scripts/test-installation.pl: Update copyright date in --version
53853         output.
53855         * hurd/ctty-input.c: Fix copyright notice formatting.
53856         * hurd/ctty-output.c: Likewise.
53857         * hurd/dtable.c: Likewise.
53858         * hurd/hurd-raise.c: Likewise.
53859         * hurd/hurdprio.c: Likewise.
53860         * hurd/msgportdemux.c: Likewise.
53861         * misc/sys/file.h: Likewise.
53862         * misc/sys/ioctl.h: Likewise.
53863         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
53864         * sysdeps/mach/hurd/chdir.c: Likewise.
53865         * sysdeps/mach/hurd/fchdir.c: Likewise.
53866         * sysdeps/mach/hurd/rename.c: Likewise.
53867         * sysdeps/mach/hurd/rmdir.c: Likewise.
53868         * sysdeps/mach/hurd/seekdir.c: Likewise.
53869         * sysdeps/mach/hurd/setsid.c: Likewise.
53870         * sysdeps/posix/wait3.c: Likewise.
53872         * All files with FSF copyright notices: Update copyright dates
53873         using scripts/update-copyrights.
53874         * intl/plural.c: Regenerated.
53875         * locale/programs/charmap-kw.h: Likewise.
53876         * locale/programs/locfile-kw.h: Likewise.
53878 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
53880         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
53881         four values.
53883         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
53884         calculation loop and add branch prediction.
53886         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
53887         check access beyond bounds of m1np.
53889         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
53890         MPTWO.
53891         (__inv): Remove local variable MPTWO to use the global
53892         constant.
53893         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
53894         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
53895         variable MPTWO.
53896         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
53897         MP3HALFS static const.
53899 2013-01-01  David S. Miller  <davem@davemloft.net>
53901         * po/ca.po: Update from translation team.
53903 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
53905         * scripts/update-copyrights: New file.
53906         * Makeconfig: Reformat copyright notice.
53907         * ctype/ctype.h: Likewise.
53908         * debug/swprintf_chk.c: Likewise.
53909         * elf/dl-cache.c: Likewise.
53910         * elf/dl-debug.c: Likewise.
53911         * elf/dl-object.c: Likewise.
53912         * grp/initgroups.c: Likewise.
53913         * hurd/Makefile: Likewise.
53914         * hurd/hurd/signal.h: Likewise.
53915         * hurd/hurdfault.c: Likewise.
53916         * hurd/hurdioctl.c: Likewise.
53917         * hurd/hurdlookup.c: Likewise.
53918         * hurd/intr-msg.c: Likewise.
53919         * iconv/gconv_open.c: Likewise.
53920         * libio/swprintf.c: Likewise.
53921         * locale/lc-ctype.c: Likewise.
53922         * locale/nl_langinfo.c: Likewise.
53923         * mach/Machrules: Likewise.
53924         * mach/Makefile: Likewise.
53925         * malloc/obstack.h: Likewise.
53926         * manual/Makefile: Likewise.
53927         * manual/tsort.awk: Likewise.
53928         * misc/bits/stab.def: Likewise.
53929         * nis/nis_print_group_entry.c: Likewise.
53930         * nis/nis_table.c: Likewise.
53931         * nis/nss_compat/compat-pwd.c: Likewise.
53932         * nis/nss_compat/compat-spwd.c: Likewise.
53933         * po/Makefile: Likewise.
53934         * posix/fnmatch.c: Likewise.
53935         * posix/regex.h: Likewise.
53936         * resolv/Makefile: Likewise.
53937         * resolv/nss_dns/dns-network.c: Likewise.
53938         * resolv/res_hconf.c: Likewise.
53939         * scripts/gen-sorted.awk: Likewise.
53940         * soft-fp/soft-fp.h: Likewise.
53941         * stdio-common/printf.h: Likewise.
53942         * stdlib/monetary.h: Likewise.
53943         * stdlib/random.c: Likewise.
53944         * stdlib/random_r.c: Likewise.
53945         * sysdeps/generic/Makefile: Likewise.
53946         * sysdeps/gnu/Makefile: Likewise.
53947         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
53948         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
53949         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
53950         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53951         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
53952         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53953         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53954         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
53955         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
53956         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53957         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
53958         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
53959         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
53960         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
53961         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
53962         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
53963         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
53964         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
53965         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
53966         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
53967         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
53968         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
53969         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
53970         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
53971         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
53972         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
53973         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
53974         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
53975         * sysdeps/mach/hurd/errnos.awk: Likewise.
53976         * sysdeps/mach/hurd/fork.c: Likewise.
53977         * sysdeps/mach/hurd/getcwd.c: Likewise.
53978         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
53979         * sysdeps/mach/hurd/mmap.c: Likewise.
53980         * sysdeps/mach/hurd/utimes.c: Likewise.
53981         * sysdeps/mach/hurd/xmknod.c: Likewise.
53982         * sysdeps/posix/profil.c: Likewise.
53983         * sysdeps/posix/readdir_r.c: Likewise.
53984         * sysdeps/powerpc/bits/mathdef.h: Likewise.
53985         * sysdeps/powerpc/bits/setjmp.h: Likewise.
53986         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
53987         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
53988         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
53989         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
53990         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
53991         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
53992         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
53993         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
53994         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
53995         * sysdeps/pthread/lio_listio.c: Likewise.
53996         * sysdeps/sparc/dl-procinfo.h: Likewise.
53997         * sysdeps/unix/i386/sysdep.S: Likewise.
53998         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
53999         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
54000         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
54001         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
54002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
54003         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
54004         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
54005         * sysdeps/unix/sysv/linux/speed.c: Likewise.
54006         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
54007         * sysdeps/wordsize-32/divdi3.c: Likewise.
54008         * time/sys/time.h: Likewise.
54009         * wcsmbs/Makefile: Likewise.
54011 2013-01-01  David S. Miller  <davem@davemloft.net>
54013         * po/fr.po: Update from translation team.
54015         * catgets/gencat.c: Update copyright year.
54016         * csu/version.c: Likewise.
54017         * debug/catchsegv.sh: Likewise.
54018         * debug/pcprofiledump.c: Likewise.
54019         * debug/xtrace.sh: Likewise.
54020         * elf/ldconfig.c: Likewise.
54021         * elf/ldd.bash.in: Likewise.
54022         * elf/pldd.c: Likewise.
54023         * elf/sotruss.ksh: Likewise.
54024         * elf/sprof.c: Likewise.
54025         * iconv/iconv_prog.c: Likewise.
54026         * iconv/iconvconfig.c: Likewise.
54027         * locale/programs/locale.c: Likewise.
54028         * locale/programs/localedef.c: Likewise.
54029         * login/programs/pt_chown.c: Likewise.
54030         * malloc/memusage.sh: Likewise.
54031         * malloc/memusagestat.c: Likewise.
54032         * malloc/mtrace.pl: Likewise.
54033         * nscd/nscd.c: Likewise.
54034         * nss/getent.c: Likewise.
54035         * nss/makedb.c: Likewise.
54036         * posix/getconf.c: Likewise.
54038 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
54040         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
54041         numbers.
54043 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
54045         * math/bits/mathcalls.h (modf): Use __nonnull.
54047 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
54049         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
54050         (split): Use macro CN instead of the bare value.
54051         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
54052         could be used.
54053         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
54054         instead of the bare value.
54055         (power1): Likewise.
54057 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
54059         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
54060         __ATAN_TWOM.
54061         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
54063         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
54064         their values.
54065         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
54066         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
54067         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
54068         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
54070 2012-12-28  Andreas Jaeger  <aj@suse.de>
54072         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
54073         values are from Linux 3.7.
54075         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
54076         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
54078 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
54080         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
54081         TRUE case.
54083         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
54084         (norm): Likewise.
54085         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
54086         variables with preprocessor constants.
54087         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
54088         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
54089         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
54091 2012-12-27  Bruno Haible  <bruno@clisp.org>
54093         [BZ #14317]
54094         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
54095         only if needed.
54097 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
54099         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
54100         and use variable directly.
54101         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
54103         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
54104         MPONE.
54105         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
54106         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
54107         variable MPONE.
54108         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
54109         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
54110         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
54111         include directive.  Remove local variable MPONE.
54112         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
54113         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
54114         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
54116 2012-12-25  David S. Miller  <davem@davemloft.net>
54118         * version.h (RELEASE): Set to "development".
54119         (VERSION): Set to "2.17.90".
54120         * NEWS: Add 2.18 section.
54122 2012-12-21  David S. Miller  <davem@davemloft.net>
54124         * po/hr.po: Update from translation team.
54126 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54128         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
54130 2012-12-19  Steve Ellcey  <sellcey@mips.com>
54132         * NEWS:  Mention new memcpy for MIPS.
54134 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54136         * manual/contrib.texi (Contributors): Spelling correction.
54138 2012-12-15  David S. Miller  <davem@davemloft.net>
54140         * po/ru.po: Update from translation team.
54142 2012-12-13  David S. Miller  <davem@davemloft.net>
54144         * NEWS: Mention IFUNC testsuite enhancements.
54146         * po/pl.po: Update from translation team.
54147         * po/bg.po: Likewise.
54149         * manual/contrib.texi (Contributors): Update entries for Hongjiu
54150         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
54152 2012-12-11  David S. Miller  <davem@davemloft.net>
54154         * po/sv.po: Update from translation team.
54156         * po/vi.po: Update from translation team.
54158         * po/cs.po: Update from translation team.
54160         * po/de.po: Update from translation team.
54161         * po/eo.po: Likewise.
54162         * po/nl.po: Likewise.
54164 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
54166         [BZ #14246]
54167         * manual/argp.texi (Argp Helper Functions): Move node to follow
54168         Argp Parsing State.
54170         [BZ #14872]
54171         * manual/conf.texi (Limits on File System Capacity): Mention if
54172         terminating null is included in the max size.
54174 2012-12-10  Andreas Jaeger  <aj@suse.de>
54176         * po/cs.po: Update from translation team.
54178 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
54180         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
54181         void pointer and cast to uintptr_t.
54182         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
54183         path.
54184         * sysdeps/s390/s390-64/memcpy.S: Likewise.
54185         * sysdeps/s390/s390-64/memset.S: Likewise.
54187 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
54189         [BZ #14833]
54190         * menual/message.texi (Message Translation): Fix typos.
54191         (Helper programs for gettext): Likewise.
54193 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
54195         [BZ #14898]
54196         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
54197         Change to -1.
54199 2012-12-07  David S. Miller  <davem@davemloft.net>
54201         * po/libc.pot: Update.
54203 2012-12-07  Richard Henderson  <rth@redhat.com>
54205         [BZ #10114]
54206         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
54207         normal/normal case to before the switch.
54208         (_FP_DIV): Likewise.
54210 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
54211             Mike Frysinger  <vapier@gentoo.org>
54213         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
54214         check for __NR_fadvise64_64.
54216 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
54218         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
54219         0, not just to plain "0" as a statement.
54220         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
54221         with cw.
54223 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
54225         * NEWS: Use sourceware.org in Bugzilla URL.
54227 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
54229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
54230         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
54232         * stdio-common/tst-put-error.c (do_test): Add newline to the
54233         padded test to ensure flush.
54235 2012-12-05  Jeff Law  <law@redhat.com>
54237         * sunrpc/etc.rpc (fedfs_admin): Add entry.
54239 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
54241         * README: Don't refer to ports add-on as distributed separately.
54242         Mention AArch64 in list of systems supported in the ports add-on.
54244         * LICENSES: Add more non-FSF copyright and license notices.
54246         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
54247         ((unused)).
54249         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
54251         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
54252         10000 as width of padded output.
54254 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
54256         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
54258         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
54259         variable LX with __attribute__ ((unused)).
54260         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
54261         Likewise.
54262         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
54263         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
54264         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
54265         with __attribute__ ((unused)).
54267 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
54269         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
54271 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
54273         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
54274         (CFLAGS-nldbl-acos.c): New variable.
54275         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
54276         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
54277         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
54278         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
54279         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
54280         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
54281         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
54282         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
54283         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
54284         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
54285         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
54286         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
54287         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
54288         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
54289         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
54290         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
54291         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
54292         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
54293         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
54294         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
54295         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
54296         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
54297         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
54298         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
54299         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
54300         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
54301         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
54302         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
54303         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
54304         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
54305         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
54306         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
54307         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
54308         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
54309         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
54310         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
54311         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
54312         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
54313         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
54314         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
54315         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
54316         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
54317         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
54318         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
54319         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
54320         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
54321         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
54322         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
54323         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
54324         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
54325         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
54326         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
54327         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
54328         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
54329         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
54330         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
54331         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
54332         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
54333         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
54334         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
54335         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
54336         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
54337         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
54338         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
54339         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
54340         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
54341         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
54342         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
54343         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
54344         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
54345         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
54346         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
54347         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
54348         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
54349         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
54350         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
54351         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
54352         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
54353         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
54354         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
54355         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
54356         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
54357         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
54358         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
54359         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
54360         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
54361         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
54362         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
54363         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
54364         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
54365         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
54366         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
54367         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
54368         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
54369         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
54370         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
54371         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
54373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
54374         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
54376         [BZ #14914]
54377         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
54378         whole low double instead of just low 47 bits when splitting values
54379         into two parts.
54381 2012-12-03  Allan McRae  <allan@archlinux.org>
54383         * manual/stdio.texi (Predefined Printf Handlers): Remove
54384         @hsep and @vsep usage.
54386 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
54388         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
54389         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
54391 2012-12-03  Jeff Law  <law@redhat.com>
54393         * time/sys/time.h (settimeofday): Do not mark TV argument
54394         as __nonnull.
54396 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
54398         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
54399         when currently writing and seek to current position when not.
54400         * libio/Makefile (tests): Remove bug-fclose1.
54401         * libio/bug-fclose1.c: Delete.
54403 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
54405         * manual/arith.texi (feenableexcept): Fix typo.
54406         (fedisableexcept): Likewise.
54408 2012-11-30  Roland McGrath  <roland@hack.frob.com>
54410         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
54411         second, differently-typed declaration, rather than a cast.
54413 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
54415         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
54416         * include/rpc/svc.h: ... here.
54418 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
54420         [BZ #13013]
54421         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
54422         depending n and resplen2 to catch cases where answer
54423         equals answerp2.
54425 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
54427         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
54428         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
54430 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
54432         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
54434 2012-11-29  Roland McGrath  <roland@hack.frob.com>
54436         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
54438 2012-11-28  Jeff Law  <law@redhat.com>
54440         [BZ #13761]
54441         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
54442         dataset_temporary.  Track alloca usage into alloca_used.
54443         If dataset is large allocate and release it via malloc/free.
54445 2012-06-04  Florian Weimer  <fweimer@redhat.com>
54447         [BZ #14197]
54448         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
54450 2012-11-28  David S. Miller  <davem@davemloft.net>
54452         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54454 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
54456         [BZ #14803]
54457         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
54458         of pi/2 rounded to nearest to 64 bits.
54459         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
54460         nearest to 64 bits.
54461         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
54462         bits.
54464 2012-11-28  Jeff Law <law@redhat.com>
54465             Martin Osvald <mosvald@redhat.com>
54467         [BZ #14889]
54468         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
54469         * sunrpc/svc.c: Include time.h.
54470         (__svc_accept_failed): New function.
54471         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
54472         any reason other than EINTR, call __svc_accept_failed.
54473         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
54474         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
54476 2012-11-28  Andreas Schwab  <schwab@suse.de>
54478         * scripts/abilist.awk: Also handle indirect functions in .opd
54479         section.
54481 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
54483         [BZ #13881]
54484         * sysdeps/x86/fpu/powl_helper.c: New file.
54485         * sysdeps/x86/fpu/Makefile: Likewise.
54486         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
54487         (p3): New object.
54488         (__ieee754_powl): Use __powl_helper for finite arguments except
54489         integer exponents below 8.
54490         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
54491         (p3): New object.
54492         (__ieee754_powl): Use __powl_helper for finite arguments except
54493         integer exponents below 8.
54494         * math/libm-test.inc (pow_test): Add more tests and enable some
54495         previously disabled tests.
54496         * sysdeps/i386/fpu/libm-test-ulps: Update.
54497         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54499 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
54500             Carlos O'Donell  <carlos_odonell@mentor.com>
54502         * nss/makedb.c (is_prime): Assert that input is odd and greater
54503         than 4.  Note that fact in a comment too.
54504         (next_prime): Add 4 to input.
54506 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
54508         [BZ #11741]
54509         * libio/Makefile (tests): Add test case tst-fwrite-error.
54510         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
54511         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
54512         * libio/tst-fwrite-error.c: New test case.
54514 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
54516         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
54517         before casting to void *.
54518         * include/libc-internal.h (__pointer_type): New macro.
54519         (__integer_if_pointer_type_sub): Likewise.
54520         (__integer_if_pointer_type): Likewise.
54521         (cast_to_integer): Likewise.
54522         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
54523         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
54524         before casting to atomic64_t.
54525         (atomic_exchange_acq): Likewise.
54526         (__arch_exchange_and_add_body): Likewise.
54527         (__arch_add_body): Likewise.
54528         (atomic_add_negative): Likewise.
54529         (atomic_add_zero): Likewise.
54531 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
54533         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
54534         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
54535         (add_fdes): Likewise.
54536         (linear_search_fdes): Likewise.
54537         (binary_search_unencoded_fdes): Likewise.
54539 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
54541         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
54543 2012-11-24  Adam Conrad  <adconrad@0c3.net>
54545         * configure.in: Autodetect C++ header directories.
54546         * configure: Regenerated.
54548 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
54550         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
54552 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
54554         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54556 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
54558         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
54559         LDBL_MANT_DIG == 106]: Disable some tests.
54560         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
54561         Likewise.
54562         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
54563         Likewise.
54565         [BZ #14871]
54566         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
54567         input for small inputs.  Return +/- pi/2 for large inputs.
54568         * math/libm-test.inc (atan_test): Add more tests.
54570         * sysdeps/generic/unwind-dw2-fde-glibc.c
54571         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
54572         __attribute__ ((unused)).
54574         [BZ #14645]
54575         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
54576         x * y if x and y are nonzero and z is zero.
54578         [BZ #14811]
54579         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
54580         nonzero exponents with absolute value below 0x1p-117 to +/-
54581         0x1p-117.
54583         [BZ #14869]
54584         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
54585         up arguments below 2**-450, not just those below 2**-500.
54586         * math/libm-test.inc (hypot_test): Add another test.
54588         [BZ #14868]
54589         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
54590         Return a+b for ratio over 2**120, not 2**60.
54591         * math/libm-test.inc (hypot_test): Add another test.
54593         * math/libm-test.inc (clog_test): Use
54594         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
54595         (clog10_test): Likewise.
54597         [BZ #6778]
54598         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
54600 2012-11-22  Andreas Schwab  <schwab@suse.de>
54602         * sysdeps/i386/fpu/libm-test-ulps: Update.
54604 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
54606         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
54607         printf output with newline.
54609 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
54611         [BZ #14865]
54612         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
54613         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
54614         -z nodlopen, -z initfirst and -z execstack support.
54615         * configure: Regenerated.
54617         * elf/elf.h (DF_1_NODIRECT): New macro.
54618         (DF_1_IGNMULDEF): Likewise.
54619         (DF_1_NOKSYMS): Likewise.
54620         (DF_1_NOHDR): Likewise.
54621         (DF_1_EDITED): Likewise.
54622         (DF_1_NORELOC): Likewise.
54623         (DF_1_SYMINTPOSE): Likewise.
54624         (DF_1_GLOBAUDIT): Likewise.
54625         (DF_1_SINGLETON): Likewise.
54626         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
54627         DT_1_SUPPORTED_MASK bits.
54628         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
54630 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
54632         * sysdeps/unix/make-syscalls.sh: Document prefixes.
54634 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
54636         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
54637         macro.
54639         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
54640         (sendmmsg): Move declarations...
54641         * socket/sys/socket.h: ... here.
54642         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
54643         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
54644         include it from...
54645         * socket/recvmmsg.c: ... this new file.
54646         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
54647         (sendmmsg): Rename to __sendmmsg, create weak alias and make
54648         definition of __sendmmsg hidden.
54649         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
54650         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
54651         Move ENOSYS stub into and include it from...
54652         * socket/sendmmsg.c: ... this new file.
54653         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
54654         (sysdep_routines): Move recvmmsg and sendmmsg...
54655         * socket/Makefile (routines): ... here.
54656         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
54657         (GLIBC_PRIVATE): Add __sendmmsg.
54658         * include/sys/socket.h (__sendmmsg): Add declarations.
54659         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
54660         sendmmsg.
54662 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
54664         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
54665         variable I1 with __attribute__ ((unused)).
54666         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
54668 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
54670         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
54671         DUMMY variables with __attribute__ ((unused)).
54673         * bits/byteswap.h: Include <bits/types.h>.
54674         (__bswap_64): Use __uint64_t instead of unsigned long long int.
54676 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
54678         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
54679         string_t.  Do not manually set errno.
54680         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
54681         length with __strnlen.  Make sure to both set errno and return it on
54682         failure.
54684 2012-11-19  David S. Miller  <davem@davemloft.net>
54686         With help from Joseph Myers.
54687         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
54688         very large arguments properly.
54689         * math/libm-test.inc (atan_test): New tests.
54690         (atan2_test): New tests.
54691         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54692         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54694 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
54696         [BZ #14856]
54697         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
54698         Define to 3.
54700         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
54701         [POSIX] (EADDRNOTAVAIL): Likewise.
54702         [POSIX] (EAFNOSUPPORT): Likewise.
54703         [POSIX] (EALREADY): Likewise.
54704         [POSIX] (ECONNABORTED): Likewise.
54705         [POSIX] (ECONNREFUSED): Likewise.
54706         [POSIX] (ECONNRESET): Likewise.
54707         [POSIX] (EDESTADDRREQ): Likewise.
54708         [POSIX] (EDQUOT): Likewise.
54709         [POSIX] (EHOSTUNREACH): Likewise.
54710         [POSIX] (EIDRM): Likewise.
54711         [POSIX] (EISCONN): Likewise.
54712         [POSIX] (ELOOP): Likewise.
54713         [POSIX] (EMULTIHOP): Likewise.
54714         [POSIX] (ENETDOWN): Likewise.
54715         [POSIX] (ENETUNREACH): Likewise.
54716         [POSIX] (ENOBUFS): Likewise.
54717         [POSIX] (ENODATA): Likewise.
54718         [POSIX] (ENOLINK): Likewise.
54719         [POSIX] (ENOMSG): Likewise.
54720         [POSIX] (ENOPROTOOPT): Likewise.
54721         [POSIX] (ENOSR): Likewise.
54722         [POSIX] (ENOSTR): Likewise.
54723         [POSIX] (ENOTCONN): Likewise.
54724         [POSIX] (ENOTSOCK): Likewise.
54725         [POSIX] (EOPNOTSUPP): Likewise.
54726         [POSIX] (EOVERFLOW): Likewise.
54727         [POSIX] (EPROTO): Likewise.
54728         [POSIX] (EPROTONOSUPPORT): Likewise.
54729         [POSIX] (EPROTOTYPE): Likewise.
54730         [POSIX] (ESTALE): Likewise.
54731         [POSIX] (ETIME): Likewise.
54732         [POSIX] (ETXTBSY): Likewise.
54733         [POSIX] (EWOULDBLOCK): Likewise.
54734         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
54735         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
54736         [POSIX] (SEEK_CUR): Likewise.
54737         [POSIX] (SEEK_END): Likewise.
54738         [POSIX || UNIX98] (mode_t): Do not require.
54739         [POSIX] (off_t): Likewise.
54740         [POSIX] (pid_t): Likewise.
54741         [POSIX] (sys/stat.h): Do not allow header.
54742         [POSIX] (unistd.h): Likewise.
54743         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
54744         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
54745         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
54746         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
54747         require.
54748         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
54749         sigevent): Specify elements.
54750         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
54751         entry.
54752         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
54753         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
54755         * conform/data/cpio.h-data [POSIX]: Disable whole file.
54756         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
54757         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
54758         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
54759         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
54760         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
54761         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
54762         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
54763         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
54764         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
54765         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
54766         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
54767         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
54768         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
54769         Likewise.
54770         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
54771         Likewise.
54772         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
54773         Likewise.
54774         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
54775         Likewise.
54776         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
54777         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
54778         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
54779         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
54780         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
54781         Specify lower bound on value.
54782         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
54783         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
54784         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
54785         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
54786         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
54787         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
54788         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
54789         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
54790         value.
54791         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
54792         as optional.
54793         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
54794         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
54795         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
54796         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
54797         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
54798         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
54799         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
54800         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
54801         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
54802         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
54803         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
54804         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
54805         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
54806         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
54807         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
54808         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
54809         entry.
54810         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
54811         optional.
54812         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
54813         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
54814         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
54815         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
54816         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
54817         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
54818         Likewise.
54819         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
54820         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
54821         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
54822         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
54823         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
54824         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
54825         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
54826         as optional.
54827         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
54828         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
54829         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
54830         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
54831         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
54832         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
54833         specify as optional.
54834         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
54835         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
54836         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
54837         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
54838         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
54839         [XPG3] (NL_LANGMAX): Likewise.
54840         [POSIX || XPG3] (NL_MSGMAX): Likewise.
54841         [POSIX || XPG3] (NL_NMAX): Likewise.
54842         [POSIX || XPG3] (NL_SETMAX): Likewise.
54843         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
54844         [XPG3] (NZERO): Likewise.
54845         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
54846         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
54847         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
54848         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
54849         (REG_ERANGE): Expect.
54850         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
54851         optional-constant.
54852         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
54853         Use (void) in prototype.
54854         [POSIX] (*_t): Allow.
54855         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
54856         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
54857         (WRDE_BADVAL): Expect.
54859         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
54860         expect.
54861         [XPG3 || XPG4] (O_RSYNC): Likewise.
54862         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
54863         Likewise.
54864         [XPG3 || XPG4] (pthread_sigmask): Likewise.
54865         [XPG3 || XPG4] (sigqueue): Likewise.
54866         [XPG3 || XPG4] (sigtimedwait): Likewise.
54867         [XPG3 || XPG4] (sigwaitinfo): Likewise.
54868         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
54869         [XPG3 || XPG4] (vsnprintf): Likewise.
54870         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
54871         Likewise.
54872         [XPG3 || XPG4] (blksize_t): Likewise.
54873         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
54874         Likewise.
54875         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
54876         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
54877         [XPG3 || XPG4] (struct itimerspec): Likewise.
54878         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
54879         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
54880         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
54881         [XPG3 || XPG4] (clockid_t): Likewise.
54882         [XPG3 || XPG4] (timer_t): Likewise.
54883         [XPG3 || XPG4] (clock_getres): Likewise.
54884         [XPG3 || XPG4] (clock_gettime): Likewise.
54885         [XPG3 || XPG4] (clock_settime): Likewise.
54886         [XPG3 || XPG4] (nanosleep): Likewise.
54887         [XPG3 || XPG4] (timer_create): Likewise.
54888         [XPG3 || XPG4] (timer_delete): Likewise.
54889         [XPG3 || XPG4] (timer_gettime): Likewise.
54890         [XPG3 || XPG4] (timer_getoverrun): Likewise.
54891         [XPG3 || XPG4] (timer_settime): Likewise.
54892         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
54893         [XPG3 || XPG4] (getlogin_r): Likewise.
54894         [XPG3 || XPG4] (pread): Likewise.
54895         [XPG3 || XPG4] (pthread_atfork): Likewise.
54896         [XPG3 || XPG4] (pwrite): Likewise.
54898         [BZ #14835]
54899         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
54900         <bits/siginfo.h>.
54902 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
54904         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
54905         finalizing MALLSTREAM.
54907         * sysdeps/mach/hurd/syncfs.c: New file.
54909 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
54911         [BZ #14719]
54912         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
54913         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
54914         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
54915         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
54916         (_nss_dns_gethostbyname4_r): Likewise.
54917         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
54918         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
54920 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
54922         [BZ #13763]
54923         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
54925 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
54927         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
54928         * elf/cache.c (print_entry): Print ",AArch64" for
54929         FLAG_AARCH64_LIB64
54931         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
54932         * elf/cache.c (print_entry): Print ",hard-float" for
54933         FLAG_ARM_LIBHF.
54935 2012-11-18  David S. Miller  <davem@davemloft.net>
54937         With help from Joseph Myers.
54938         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
54939         cutoff to 2**-13.
54940         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
54941         cutoff to 2**-25.
54942         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
54943         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
54944         small.
54945         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
54946         * math/libm-test.inc (y0_test): New tests.
54947         (y1_test): New tests.
54948         * sysdeps/i386/fpu/libm-test-ulps: Update.
54949         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54950         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54952 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
54954         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
54955         64-bit targets.
54956         * configure: Regenerated.
54958 2012-11-17  David S. Miller  <davem@davemloft.net>
54960         [BZ #14811]
54961         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
54962         nonzero exponents with absolute value below 0x1p-128 to +/-
54963         0x1p-128.
54965 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
54967         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
54969         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
54971         * posix/getconf-speclist.c: New file.
54972         * posix/posix-envs.def: Likewise.
54973         * posix/confstr.c (START_ENV_GROUP): New macro.
54974         (END_ENV_GROUP): Likewise.
54975         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
54976         (KNOWN_PRESENT_ENV_STRING): Likewise.
54977         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
54978         (UNKNOWN_ENVIRONMENT): Likewise.
54979         (confstr): Include posix-envs.def instead of handling
54980         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
54981         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
54982         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
54983         (END_ENV_GROUP): Likewise.
54984         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
54985         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
54986         (UNKNOWN_ENVIRONMENT): Likewise.
54987         (__sysconf): Include posix-envs.def instead of handling associated
54988         cases directly here.
54989         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
54990         preprocessing getconf-speclist.c rather than running getconf or
54991         generating empty file.
54993 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
54995         * scripts/check-local-headers.sh: Ignore 'mach' headers.
54997 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
54999         [BZ #14672]
55000         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
55002 2012-11-16  David S. Miller  <davem@davemloft.net>
55004         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
55005         smaller than LDBL_EPSILON/2.0L, just return xm1.
55007 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
55009         * elf/tst-array1.c (init): Set constructor priority to 1000.
55010         (fini): Set destructor priority to 1000.
55011         * elf/tst-array2dep.c: Likewise.
55013 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
55015         [BZ #11741]
55016         * libio/fileops.c (_IO_new_file_write): Correctly return error.
55017         (_IO_new_file_xsputn): Also return EOF if none of the input
55018         data was written when overflow failed.
55019         * libio/iopadn.c (_IO_padn): Likewise.
55020         * libio/iowpadn.c (_IO_wpadn): Likewise.
55021         * stdio-common/tst-put-error.c: Add copyright notice.
55022         (do_test): Add case for printing padded string.
55023         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
55024         _IO_padn returned error.
55025         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
55026         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
55027         return EOF.
55029 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
55031         * libio/libioP.h: Add comment note that the references to C++
55032         bits are now obsolete.
55034 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55036         * math/libm-test.inc (check_complex): Use asprintf.
55038 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
55040         * debug/pcprofiledump.c (print_version): Update copyright year.
55041         * malloc/memusagestat.c (print_version): Likewise.
55043 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
55045         [BZ #14831]
55046         * elf/Makefile (tests): Add tst-audit8.
55047         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
55048         ($(objpfx)tst-audit8.out): New target.
55049         (tst-audit8-ENV): New variable.
55050         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
55051         audit if l_reloc_result is NULL.
55052         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
55053         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
55054         * elf/tst-audit8.c: New file.
55056 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55058         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
55059         * misc/Makefile (CFLAGS-select.c): Define.
55060         * posix/Makefile (CFLAGS-pause.c): Define.
55062 2012-11-13  David S. Miller  <davem@davemloft.net>
55064         * crypt/Makefile: Move test targets after toplevel Rules
55065         inclusion.  Grab any necessary sysdep routines when linking.
55066         * crypt/md5.c (md5_process_block): Remove define, we will always
55067         name it __md5_process_block.
55068         (md5_finish_ctx): Update md5_process_block call.
55069         (md5_stream): Likewise.
55070         (md5_process_bytes): Likewise.
55071         (md5_process_block): Rename to __md5_process_block and move to ...
55072         * crypt/md5-block.c: ... here.
55073         * crypt/sha256.c (sha256_process_block): Move to ...
55074         * crypt/sha256-block.c: ... here.
55075         * crypt/sha512.c (sha512_process_block): Move to ...
55076         * crypt/sha512-block.c: ... here.
55077         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
55078         path.
55079         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
55080         * sysdeps/sparc/sparc64/multiarch/Makefile
55081         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
55082         crypt subdir.
55083         (localedef-aux): Add md5 crypto assembler when in locale subdir.
55084         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
55085         multiarch changes.
55086         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
55087         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
55088         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
55089         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
55090         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
55091         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
55092         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
55093         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
55094         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
55095         file.
55096         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
55097         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
55098         file.
55099         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
55101 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
55103         * timezone/tzselect.ksh: Update from tzcode git revision
55104         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
55105         * timezone/zdump.c: Likewise.
55106         * timezone/zic.c: Likewise.
55107         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
55108         in TZVERSION setting, not $(PKGVERSION).
55109         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
55110         REPORT_BUGS_TO settings.
55112         [BZ #14838]
55113         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
55114         macro.
55116 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55118         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
55119         detection to immediately after _FP_ROUND().
55120         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
55121         bits are 0.
55123 2012-11-11  David S. Miller  <davem@davemloft.net>
55125         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
55126         inttypes.h
55127         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
55128         __close rather than their public counterparts.
55130 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
55132         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
55133         file.
55134         [UNIX98] (sem_timedwait): Do not expect.
55135         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
55136         [XPG4 || UNIX98] (sockatmark): Do not expect.
55137         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
55138         (clock_getcpuclockid): Do not expect.
55139         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
55140         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
55141         Do not expect.
55142         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
55143         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
55144         [UNIX98] (vwscanf): Likewise.
55145         [UNIX98] (vswscanf): Likewise.
55147 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
55149         * timezone/version.h: Remove file.
55150         * timezone/README: Do not refer to version.h.
55151         * timezone/Makefile ($(objpfx)zic.o): New dependency on
55152         $(objpfx)version.h.
55153         ($(objpfx)zdump.o): Likewise.
55154         ($(objpfx)version.h): New target.
55156         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
55157         2012i.
55158         * timezone/README: Don't mention modification to tzselect.ksh.
55159         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
55160         work on unmodified tzselect.ksh.  Substitute version numbers in
55161         tzselect.ksh.
55163         * Makefile (format-me): Remove.
55164         (INSTALL): Adjust indentation.  Use commands directly instead of
55165         using $(format-me).
55167         * aclocal.m4 (ACX_PKGVERSION): New macro.
55168         (ACX_BUGURL): Likewise.
55169         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
55170         (PKGVERSION): New AC_DEFINE_UNQUOTED.
55171         (REPORT_BUGS_TO): Likewise.
55172         * configure: Regenerated.
55173         * config.h.in (PKGVERSION): New macro.
55174         (REPORT_BUGS_TO): Likewise.
55175         * config.make.in (PKGVERSION): New variable.
55176         (PKGVERSION_TEXI): Likewise.
55177         (REPORT_BUGS_TO): Likewise.
55178         (REPORT_BUGS_TEXI): Likewise.
55179         * Makefile (format-me): Use -I$(common-objpfx)manual.
55180         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
55181         ($(common-objpfx)manual/%): New target.
55182         (manual/%): Remove target.
55183         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
55184         (print_version): Use PKGVERSION.
55185         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
55186         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
55187         and REPORT_BUGS_TO.
55188         ($(objpfx)xtrace): Likewise.
55189         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
55190         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
55191         (print_version): Use PKGVERSION.
55192         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
55193         (do_version): Use PKGVERSION.
55194         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
55195         REPORT_BUGS_TO.
55196         (common-ldd-rewrite): Likewise.
55197         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
55198         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
55199         (print_version): Use PKGVERSION.
55200         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
55201         * elf/pldd.c (argp_program_bug_address): Remove variable.
55202         (more_help): New function.
55203         (argp): Use more_help.
55204         (print_version): Use PKGVERSION.
55205         * elf/sln.c (main): Use PKGVERSION.
55206         (usage): Use REPORT_BUGS_TO.
55207         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
55208         (top level): Use PKGVERSION.
55209         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
55210         (print_version): Use PKGVERSION.
55211         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
55212         (print_version): Use PKGVERSION.
55213         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
55214         (print_version): Use PKGVERSION.
55215         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
55216         (print_version): Use PKGVERSION.
55217         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
55218         (print_version): Use PKGVERSION.
55219         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
55220         (print_version): Use PKGVERSION.
55221         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
55222         and BUGURL.
55223         ($(objpfx)memusage): Likewise.
55224         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
55225         (do_version): Use PKGVERSION.
55226         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
55227         (print_version): Use PKGVERSION.
55228         * malloc/mtrace.pl ($PACKAGE): Remove variable.
55229         ($PKGVERSION): New variable.
55230         ($REPORT_BUGS_TO): Likewise.
55231         (usage): Use $REPORT_BUGS_TO.
55232         (top level): Use $PKGVERSION.
55233         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
55234         ($(objpfx)pkgvers.texi): New rule.
55235         ($(objpfx)stamp-pkgvers): Likewise.
55236         * manual/install.texi: Include pkgvers.texi.
55237         (--with-pkgversion): Document new configure option.
55238         (--with-bugurl): Likewise.
55239         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
55240         than necessarily for this particular distribution.  Use
55241         REPORT_BUGS_TO for where to report bugs.
55242         * INSTALL: Regenerated.
55243         * manual/libc.texinfo: Include pkgvers.texi.
55244         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
55245         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
55246         (print_version): Use PKGVERSION.
55247         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
55248         (print_version): Use PKGVERSION.
55249         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
55250         (print_version): Use PKGVERSION.
55251         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
55252         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
55253         macro.
55254         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
55255         (print_version): Use PKGVERSION.
55256         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
55257         (print_version): Use PKGVERSION.
55258         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
55259         and PKGVERSION.
55261         * timezone/checktab.awk: Update from tzcode 2012i.
55262         * timezone/ialloc.c: Likewise.
55263         * timezone/private.h: Likewise.
55264         * timezone/scheck.c: Likewise.
55265         * timezone/tzfile.h: Likewise.
55266         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
55267         (TZVERSION): Hardcode tzcode version number.
55268         * timezone/zdump.c: Update from tzcode 2012i.
55269         * timezone/zic.c: Likewise.
55270         * timezone/version.h: New file.
55271         * timezone/README: Describe version.h.  Update upstream location.
55273         [BZ #14824]
55274         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
55275         (mktemp): Enable declaration.
55276         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
55277         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
55278         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
55279         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
55280         Likewise.
55281         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
55282         Likewise.
55283         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
55284         Likewise.
55285         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
55286         Likewise.
55287         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
55288         Likewise.
55289         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
55290         Likewise.
55292         [BZ #14821]
55293         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
55294         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
55295         for copies of such integer values.
55296         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
55297         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
55299 2012-11-09  Andreas Jaeger  <aj@suse.de>
55301         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
55302         definitions and declarations that are provided by
55303         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
55305 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55307         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
55308         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
55309         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
55310         definition.
55312 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55314         * elf/elf.h: Update comment before AArch64 relocations.
55316 2012-11-07  David S. Miller  <davem@davemloft.net>
55318         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
55319         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
55320         (__start_context): Declare.
55321         (__makecontext_ret): Delete.
55322         (__makecontext): Hook up __start_context instead of
55323         __makecontext_ret.
55324         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
55325         (sysdep_routines): Add __start_context when in stdlib.
55327 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
55329         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
55330         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
55331         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
55332         hardcoded "nm".
55333         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
55334         (READELF): New variable.  Use it instead of hardcoded "readelf".
55336 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
55338         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
55339         * sysdeps/x86/Makefile: Here.
55340         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
55341         * sysdeps/x86/tst-xmmymm.sh: This.
55343 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
55345         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
55346         expectations.
55347         [UNIX98] (pthread_barrier_t): Do not expect.
55348         [UNIX98] (pthread_barrierattr_t): Likewise.
55349         [UNIX98] (pthread_spinlock_t): Likewise.
55350         [UNIX98] (pthread_barrier_destroy): Likewise.
55351         [UNIX98] (pthread_barrier_init): Likewise.
55352         [UNIX98] (pthread_barrier_wait): Likewise.
55353         [UNIX98] (pthread_barrierattr_destroy): Likewise.
55354         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
55355         [UNIX98] (pthread_barrierattr_init): Likewise.
55356         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
55357         [UNIX98] (pthread_getcpuclockid): Likewise.
55358         [UNIX98] (pthread_mutex_timedlock): Likewise.
55359         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
55360         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
55361         [UNIX98] (pthread_sigmask): Likewise.
55362         [UNIX98] (pthread_spin_destroy): Likewise.
55363         [UNIX98] (pthread_spin_init): Likewise.
55364         [UNIX98] (pthread_spin_lock): Likewise.
55365         [UNIX98] (pthread_spin_trylock): Likewise.
55366         [UNIX98] (pthread_spin_unlock): Likewise.
55367         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
55368         Do not expect.
55369         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
55370         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
55371         [XPG3 || XPG4] (pthread_cond_t): Likewise.
55372         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
55373         [XPG3 || XPG4] (pthread_key_t): Likewise.
55374         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
55375         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
55376         [XPG3 || XPG4] (pthread_once_t): Likewise.
55377         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
55378         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
55379         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
55380         [XPG3 || XPG4] (pthread_t): Likewise.
55382         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
55383         not expect.
55384         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
55386         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
55387         Change function return type to int.
55389         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
55390         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
55391         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
55392         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
55393         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
55394         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
55395         [!POSIX] (posix_madvise): Likewise.
55396         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
55397         && !UNIX98].
55398         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
55399         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
55400         (mode_t): Likewise.
55401         (posix_mem_offset): Likewise.
55402         (posix_typed_mem_get_info): Likewise.
55403         (posix_typed_mem_open): Likewise.
55405         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
55406         Change condition to [XOPEN2K8].
55408         * conform/conformtest.pl: Preprocess allow-header data with -x c
55409         instead of from stdin.
55410         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
55411         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
55412         [C99-based standards] (cerfc): Likewise.
55413         [C99-based standards] (cexp2): Likewise.
55414         [C99-based standards] (cexpm1): Likewise.
55415         [C99-based standards] (clog10): Likewise.
55416         [C99-based standards] (clog1p): Likewise.
55417         [C99-based standards] (clog2): Likewise.
55418         [C99-based standards] (clgamma): Likewise.
55419         [C99-based standards] (ctgamma): Likewise.
55420         [C99-based standards] (cerff): Likewise.
55421         [C99-based standards] (cerfcf): Likewise.
55422         [C99-based standards] (cexp2f): Likewise.
55423         [C99-based standards] (cexpm1f): Likewise.
55424         [C99-based standards] (clog10f): Likewise.
55425         [C99-based standards] (clog1pf): Likewise.
55426         [C99-based standards] (clog2f): Likewise.
55427         [C99-based standards] (clgammaf): Likewise.
55428         [C99-based standards] (ctgammaf): Likewise.
55429         [C99-based standards] (cerfl): Likewise.
55430         [C99-based standards] (cerfcl): Likewise.
55431         [C99-based standards] (cexp2l): Likewise.
55432         [C99-based standards] (cexpm1l): Likewise.
55433         [C99-based standards] (clog10l): Likewise.
55434         [C99-based standards] (clog1pl): Likewise.
55435         [C99-based standards] (clog2l): Likewise.
55436         [C99-based standards] (clgammal): Likewise.
55437         [C99-based standards] (ctgammal): Likewise.
55438         * conform/data/inttypes.h-data [C99-based standards]: Include
55439         stdint.h-data.  Remove all expectations for stdint.h contents.
55440         [C99-based standards] (PRI*): Do not allow.
55441         [C99-based standards] (SCN*): Likewise.
55442         [C99-based standards] (*_t): Likewise.
55443         [C99-based-standards] (PRId8): Expect macro.
55444         [C99-based-standards] (PRIi8): Likewise.
55445         [C99-based-standards] (PRIo8): Likewise.
55446         [C99-based-standards] (PRIu8): Likewise.
55447         [C99-based-standards] (PRIx8): Likewise.
55448         [C99-based-standards] (PRIX8): Likewise.
55449         [C99-based-standards] (SCNd8): Likewise.
55450         [C99-based-standards] (SCNi8): Likewise.
55451         [C99-based-standards] (SCNo8): Likewise.
55452         [C99-based-standards] (SCNu8): Likewise.
55453         [C99-based-standards] (SCNx8): Likewise.
55454         [C99-based-standards] (PRIdLEAST8): Likewise.
55455         [C99-based-standards] (PRIiLEAST8): Likewise.
55456         [C99-based-standards] (PRIoLEAST8): Likewise.
55457         [C99-based-standards] (PRIuLEAST8): Likewise.
55458         [C99-based-standards] (PRIxLEAST8): Likewise.
55459         [C99-based-standards] (PRIXLEAST8): Likewise.
55460         [C99-based-standards] (SCNdLEAST8): Likewise.
55461         [C99-based-standards] (SCNiLEAST8): Likewise.
55462         [C99-based-standards] (SCNoLEAST8): Likewise.
55463         [C99-based-standards] (SCNuLEAST8): Likewise.
55464         [C99-based-standards] (SCNxLEAST8): Likewise.
55465         [C99-based-standards] (PRIdFAST8): Likewise.
55466         [C99-based-standards] (PRIiFAST8): Likewise.
55467         [C99-based-standards] (PRIoFAST8): Likewise.
55468         [C99-based-standards] (PRIuFAST8): Likewise.
55469         [C99-based-standards] (PRIxFAST8): Likewise.
55470         [C99-based-standards] (PRIXFAST8): Likewise.
55471         [C99-based-standards] (SCNdFAST8): Likewise.
55472         [C99-based-standards] (SCNiFAST8): Likewise.
55473         [C99-based-standards] (SCNoFAST8): Likewise.
55474         [C99-based-standards] (SCNuFAST8): Likewise.
55475         [C99-based-standards] (SCNxFAST8): Likewise.
55476         [C99-based-standards] (PRId16): Likewise.
55477         [C99-based-standards] (PRIi16): Likewise.
55478         [C99-based-standards] (PRIo16): Likewise.
55479         [C99-based-standards] (PRIu16): Likewise.
55480         [C99-based-standards] (PRIx16): Likewise.
55481         [C99-based-standards] (PRIX16): Likewise.
55482         [C99-based-standards] (SCNd16): Likewise.
55483         [C99-based-standards] (SCNi16): Likewise.
55484         [C99-based-standards] (SCNo16): Likewise.
55485         [C99-based-standards] (SCNu16): Likewise.
55486         [C99-based-standards] (SCNx16): Likewise.
55487         [C99-based-standards] (PRIdLEAST16): Likewise.
55488         [C99-based-standards] (PRIiLEAST16): Likewise.
55489         [C99-based-standards] (PRIoLEAST16): Likewise.
55490         [C99-based-standards] (PRIuLEAST16): Likewise.
55491         [C99-based-standards] (PRIxLEAST16): Likewise.
55492         [C99-based-standards] (PRIXLEAST16): Likewise.
55493         [C99-based-standards] (SCNdLEAST16): Likewise.
55494         [C99-based-standards] (SCNiLEAST16): Likewise.
55495         [C99-based-standards] (SCNoLEAST16): Likewise.
55496         [C99-based-standards] (SCNuLEAST16): Likewise.
55497         [C99-based-standards] (SCNxLEAST16): Likewise.
55498         [C99-based-standards] (PRIdFAST16): Likewise.
55499         [C99-based-standards] (PRIiFAST16): Likewise.
55500         [C99-based-standards] (PRIoFAST16): Likewise.
55501         [C99-based-standards] (PRIuFAST16): Likewise.
55502         [C99-based-standards] (PRIxFAST16): Likewise.
55503         [C99-based-standards] (PRIXFAST16): Likewise.
55504         [C99-based-standards] (SCNdFAST16): Likewise.
55505         [C99-based-standards] (SCNiFAST16): Likewise.
55506         [C99-based-standards] (SCNoFAST16): Likewise.
55507         [C99-based-standards] (SCNuFAST16): Likewise.
55508         [C99-based-standards] (SCNxFAST16): Likewise.
55509         [C99-based-standards] (PRId32): Likewise.
55510         [C99-based-standards] (PRIi32): Likewise.
55511         [C99-based-standards] (PRIo32): Likewise.
55512         [C99-based-standards] (PRIu32): Likewise.
55513         [C99-based-standards] (PRIx32): Likewise.
55514         [C99-based-standards] (PRIX32): Likewise.
55515         [C99-based-standards] (SCNd32): Likewise.
55516         [C99-based-standards] (SCNi32): Likewise.
55517         [C99-based-standards] (SCNo32): Likewise.
55518         [C99-based-standards] (SCNu32): Likewise.
55519         [C99-based-standards] (SCNx32): Likewise.
55520         [C99-based-standards] (PRIdLEAST32): Likewise.
55521         [C99-based-standards] (PRIiLEAST32): Likewise.
55522         [C99-based-standards] (PRIoLEAST32): Likewise.
55523         [C99-based-standards] (PRIuLEAST32): Likewise.
55524         [C99-based-standards] (PRIxLEAST32): Likewise.
55525         [C99-based-standards] (PRIXLEAST32): Likewise.
55526         [C99-based-standards] (SCNdLEAST32): Likewise.
55527         [C99-based-standards] (SCNiLEAST32): Likewise.
55528         [C99-based-standards] (SCNoLEAST32): Likewise.
55529         [C99-based-standards] (SCNuLEAST32): Likewise.
55530         [C99-based-standards] (SCNxLEAST32): Likewise.
55531         [C99-based-standards] (PRIdFAST32): Likewise.
55532         [C99-based-standards] (PRIiFAST32): Likewise.
55533         [C99-based-standards] (PRIoFAST32): Likewise.
55534         [C99-based-standards] (PRIuFAST32): Likewise.
55535         [C99-based-standards] (PRIxFAST32): Likewise.
55536         [C99-based-standards] (PRIXFAST32): Likewise.
55537         [C99-based-standards] (SCNdFAST32): Likewise.
55538         [C99-based-standards] (SCNiFAST32): Likewise.
55539         [C99-based-standards] (SCNoFAST32): Likewise.
55540         [C99-based-standards] (SCNuFAST32): Likewise.
55541         [C99-based-standards] (SCNxFAST32): Likewise.
55542         [C99-based-standards] (PRId64): Likewise.
55543         [C99-based-standards] (PRIi64): Likewise.
55544         [C99-based-standards] (PRIo64): Likewise.
55545         [C99-based-standards] (PRIu64): Likewise.
55546         [C99-based-standards] (PRIx64): Likewise.
55547         [C99-based-standards] (PRIX64): Likewise.
55548         [C99-based-standards] (SCNd64): Likewise.
55549         [C99-based-standards] (SCNi64): Likewise.
55550         [C99-based-standards] (SCNo64): Likewise.
55551         [C99-based-standards] (SCNu64): Likewise.
55552         [C99-based-standards] (SCNx64): Likewise.
55553         [C99-based-standards] (PRIdLEAST64): Likewise.
55554         [C99-based-standards] (PRIiLEAST64): Likewise.
55555         [C99-based-standards] (PRIoLEAST64): Likewise.
55556         [C99-based-standards] (PRIuLEAST64): Likewise.
55557         [C99-based-standards] (PRIxLEAST64): Likewise.
55558         [C99-based-standards] (PRIXLEAST64): Likewise.
55559         [C99-based-standards] (SCNdLEAST64): Likewise.
55560         [C99-based-standards] (SCNiLEAST64): Likewise.
55561         [C99-based-standards] (SCNoLEAST64): Likewise.
55562         [C99-based-standards] (SCNuLEAST64): Likewise.
55563         [C99-based-standards] (SCNxLEAST64): Likewise.
55564         [C99-based-standards] (PRIdFAST64): Likewise.
55565         [C99-based-standards] (PRIiFAST64): Likewise.
55566         [C99-based-standards] (PRIoFAST64): Likewise.
55567         [C99-based-standards] (PRIuFAST64): Likewise.
55568         [C99-based-standards] (PRIxFAST64): Likewise.
55569         [C99-based-standards] (PRIXFAST64): Likewise.
55570         [C99-based-standards] (SCNdFAST64): Likewise.
55571         [C99-based-standards] (SCNiFAST64): Likewise.
55572         [C99-based-standards] (SCNoFAST64): Likewise.
55573         [C99-based-standards] (SCNuFAST64): Likewise.
55574         [C99-based-standards] (SCNxFAST64): Likewise.
55575         [C99-based-standards] (PRIdMAX): Likewise.
55576         [C99-based-standards] (PRIiMAX): Likewise.
55577         [C99-based-standards] (PRIoMAX): Likewise.
55578         [C99-based-standards] (PRIuMAX): Likewise.
55579         [C99-based-standards] (PRIxMAX): Likewise.
55580         [C99-based-standards] (PRIXMAX): Likewise.
55581         [C99-based-standards] (SCNdMAX): Likewise.
55582         [C99-based-standards] (SCNiMAX): Likewise.
55583         [C99-based-standards] (SCNoMAX): Likewise.
55584         [C99-based-standards] (SCNuMAX): Likewise.
55585         [C99-based-standards] (SCNxMAX): Likewise.
55586         [C99-based-standards] (PRIdPTR): Likewise.
55587         [C99-based-standards] (PRIiPTR): Likewise.
55588         [C99-based-standards] (PRIoPTR): Likewise.
55589         [C99-based-standards] (PRIuPTR): Likewise.
55590         [C99-based-standards] (PRIxPTR): Likewise.
55591         [C99-based-standards] (PRIXPTR): Likewise.
55592         [C99-based-standards] (SCNdPTR): Likewise.
55593         [C99-based-standards] (SCNiPTR): Likewise.
55594         [C99-based-standards] (SCNoPTR): Likewise.
55595         [C99-based-standards] (SCNuPTR): Likewise.
55596         [C99-based-standards] (SCNxPTR): Likewise.
55597         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
55598         allow.
55599         * conform/data/stdint.h-data: Update comments to clarify
55600         requirements.
55601         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
55602         type.
55603         [C99-based standards] (INT8_MAX): Likewise.
55604         [C99-based standards] (INT16_MIN): Likewise.
55605         [C99-based standards] (INT16_MAX): Likewise.
55606         [C99-based standards] (INT32_MIN): Likewise.
55607         [C99-based standards] (INT32_MAX): Likewise.
55608         [C99-based standards] (INT64_MIN): Likewise.
55609         [C99-based standards] (INT64_MAX): Likewise.
55610         [C99-based standards] (UINT8_MAX): Likewise.
55611         [C99-based standards] (UINT16_MAX): Likewise.
55612         [C99-based standards] (UINT32_MAX): Likewise.
55613         [C99-based standards] (UINT64_MAX): Likewise.
55614         [C99-based standards] (INT_LEAST8_MIN): Likewise.
55615         [C99-based standards] (INT_LEAST8_MAX): Likewise.
55616         [C99-based standards] (INT_LEAST16_MIN): Likewise.
55617         [C99-based standards] (INT_LEAST16_MAX): Likewise.
55618         [C99-based standards] (INT_LEAST32_MIN): Likewise.
55619         [C99-based standards] (INT_LEAST32_MAX): Likewise.
55620         [C99-based standards] (INT_LEAST64_MIN): Likewise.
55621         [C99-based standards] (INT_LEAST64_MAX): Likewise.
55622         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
55623         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
55624         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
55625         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
55626         [C99-based standards] (INT_FAST8_MIN): Likewise.
55627         [C99-based standards] (INT_FAST8_MAX): Likewise.
55628         [C99-based standards] (INT_FAST16_MIN): Likewise.
55629         [C99-based standards] (INT_FAST16_MAX): Likewise.
55630         [C99-based standards] (INT_FAST32_MIN): Likewise.
55631         [C99-based standards] (INT_FAST32_MAX): Likewise.
55632         [C99-based standards] (INT_FAST64_MIN): Likewise.
55633         [C99-based standards] (INT_FAST64_MAX): Likewise.
55634         [C99-based standards] (UINT_FAST8_MAX): Likewise.
55635         [C99-based standards] (UINT_FAST16_MAX): Likewise.
55636         [C99-based standards] (UINT_FAST32_MAX): Likewise.
55637         [C99-based standards] (UINT_FAST64_MAX): Likewise.
55638         [C99-based standards] (INTPTR_MIN): Likewise.
55639         [C99-based standards] (INTPTR_MAX): Likewise.
55640         [C99-based standards] (UINTPTR_MAX): Likewise.
55641         [C99-based standards] (INTMAX_MIN): Likewise.
55642         [C99-based standards] (INTMAX_MAX): Likewise.
55643         [C99-based standards] (UINTMAX_MAX): Likewise.
55644         [C99-based standards] (PTRDIFF_MIN): Likewise.
55645         [C99-based standards] (PTRDIFF_MAX): Likewise.
55646         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
55647         [C99-based standards] (SIZE_MAX): Likewise.
55648         [C99-based standards] (WCHAR_MAX): Likewise.
55649         [C99-based standards] (WINT_MAX): Likewise.
55650         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
55651         constraint on value.
55652         [C99-based standards] (WCHAR_MIN): Likewise.
55653         [C99-based standards] (WINT_MIN): Likewise.
55654         [C99-based standards] (*_t): Allow.
55655         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
55656         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
55657         Include math.h-data and complex.h-data.  Remove all expectations
55658         of math.h and complex.h contents.
55659         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
55660         at end of line.
55661         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
55662         (struct tm): Expect tag.
55663         [C99-based-standards] (wcstof): Expect function.
55664         [C99-based-standards] (wcstold): Likewise.
55665         [C99-based-standards] (wcstoll): Likewise.
55666         [C99-based-standards] (wcstoull): Likewise.
55667         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
55668         macro-int-constant.  Specify type.
55669         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
55670         constraint on value.
55671         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
55672         Specify type.
55673         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
55674         Specify value.
55675         [ISO C standards]: Do not allow headers.
55676         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
55677         wcs[abcdefghijklmnopqrstuvwxyz]*.
55678         [ISO C standards] (*_t): Do not allow.
55679         * conform/data/wctype.h-data [C99-based standards] (iswblank):
55680         Expect function.
55681         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
55682         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
55683         Specify type.
55684         [ISO C standards]: Do not allow headers.
55685         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
55686         is[abcdefghijklmnopqrstuvwxyz]*.
55687         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
55688         to[abcdefghijklmnopqrstuvwxyz]*.
55689         [ISO C standards] (*_t): Do not allow.
55690         * conform/data/stdalign.h-data: New file.
55691         * conform/data/stdbool.h-data: Likewise.
55692         * conform/data/stdnoreturn.h-data: Likewise.
55694 2012-11-07  Roland McGrath  <roland@hack.frob.com>
55696         [BZ #14815]
55697         * manual/filesys.texi (Directory Entries): Typo fix.
55698         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
55700 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55702         * elf/elf.h (EM_AARCH64): New macro.
55703         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
55704         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
55705         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
55706         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
55707         (R_AARCH64_TLSDESC): Likewise.
55708         (NT_ARM_TLS): Likewise.
55709         (NT_ARM_HW_BREAK): Likewise.
55710         (NT_ARM_HW_WATCH): Likewise.
55712 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
55714         [BZ #14811]
55715         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
55716         (__ieee754_powl): Saturate nonzero exponents with absolute value
55717         below 0x1p-79 to +/- 0x1p-79.
55718         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
55719         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
55720         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
55721         nonzero exponents with absolute value below 0x1p-32 to +/-
55722         0x1p-32.
55723         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
55724         (__ieee754_powl): Saturate nonzero exponents with absolute value
55725         below 0x1p-79 to +/- 0x1p-79.
55726         * math/libm-test.inc (pow_test): Add more tests.
55728 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55730         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
55731         _dl_s390_cap_flags with kernel. Increase string length.
55732         (_dl_s390_platforms): Add z196 and zEC12.
55734 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
55736         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
55737         Change XOPEN21K to XOPEN2K.
55739 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
55741         * string/memmove.c: Use memcpy when possible.
55743 2012-11-06  Andreas Jaeger  <aj@suse.de>
55745         * po/eo.po: Update from translation team.
55747 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
55749         [BZ #14793]
55750         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
55751         exponent and small x and y exponents, scale x or y up.  Increase
55752         by 2 the exponent used in scaling up.
55753         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
55754         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
55755         * math/libm-test.inc (fma_test): Add more tests.
55756         (fma_test_towardzero): Likewise.
55757         (fma_test_downward): Likewise.
55758         (fma_test_upward): Likewise.
55760 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
55762         [BZ #14805]
55763         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
55764         fenv_t *.
55766         [BZ #14801]
55767         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
55768         namespace for names of struct fields.
55769         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
55770         fenv_t fields.
55771         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
55772         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
55774 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55776         [BZ #3665]
55777         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
55779 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
55781         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
55782         PTR_DEMANGLE.
55784         [BZ #5246]
55785         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
55786         PTR_DEMANGLE.
55788 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
55790         [BZ #14797]
55791         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
55792         definitely overflow as x * y not x * y + z.
55793         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
55794         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
55795         * math/libm-test.inc (fma_test): Add more tests.
55796         (fma_test_towardzero): Likewise.
55797         (fma_test_downward): Likewise.
55798         (fma_test_upward): Likewise.
55800 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
55802         [BZ #157]
55804         * include/stub-tag.h: Remove file.
55805         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
55806         '#include' of it.
55807         * manual/maint.texi (Porting): Don't reference it.
55808         * Makerules ($(objpfx)stubs): Likewise.
55809         * dirent/closedir.c: Don't include <stub-tag.h>.
55810         * dirent/dirfd.c: Likewise.
55811         * dirent/fdopendir.c: Likewise.
55812         * dirent/getdents.c: Likewise.
55813         * dirent/getdents64.c: Likewise.
55814         * dirent/opendir.c: Likewise.
55815         * dirent/readdir.c: Likewise.
55816         * dirent/readdir64.c: Likewise.
55817         * dirent/readdir64_r.c: Likewise.
55818         * dirent/readdir_r.c: Likewise.
55819         * dirent/rewinddir.c: Likewise.
55820         * dirent/seekdir.c: Likewise.
55821         * dirent/telldir.c: Likewise.
55822         * gmon/profil.c: Likewise.
55823         * grp/setgroups.c: Likewise.
55824         * inet/if_index.c: Likewise.
55825         * io/access.c: Likewise.
55826         * io/chdir.c: Likewise.
55827         * io/chmod.c: Likewise.
55828         * io/chown.c: Likewise.
55829         * io/close.c: Likewise.
55830         * io/dup.c: Likewise.
55831         * io/dup2.c: Likewise.
55832         * io/dup3.c: Likewise.
55833         * io/euidaccess.c: Likewise.
55834         * io/faccessat.c: Likewise.
55835         * io/fchdir.c: Likewise.
55836         * io/fchmod.c: Likewise.
55837         * io/fchmodat.c: Likewise.
55838         * io/fchown.c: Likewise.
55839         * io/fchownat.c: Likewise.
55840         * io/fcntl.c: Likewise.
55841         * io/flock.c: Likewise.
55842         * io/fstatfs.c: Likewise.
55843         * io/fstatfs64.c: Likewise.
55844         * io/fstatvfs.c: Likewise.
55845         * io/fstatvfs64.c: Likewise.
55846         * io/futimens.c: Likewise.
55847         * io/fxstat.c: Likewise.
55848         * io/fxstat64.c: Likewise.
55849         * io/fxstatat.c: Likewise.
55850         * io/fxstatat64.c: Likewise.
55851         * io/getcwd.c: Likewise.
55852         * io/isatty.c: Likewise.
55853         * io/lchmod.c: Likewise.
55854         * io/lchown.c: Likewise.
55855         * io/link.c: Likewise.
55856         * io/linkat.c: Likewise.
55857         * io/lseek.c: Likewise.
55858         * io/lseek64.c: Likewise.
55859         * io/lxstat64.c: Likewise.
55860         * io/mkdir.c: Likewise.
55861         * io/mkdirat.c: Likewise.
55862         * io/mkfifo.c: Likewise.
55863         * io/mkfifoat.c: Likewise.
55864         * io/open.c: Likewise.
55865         * io/open64.c: Likewise.
55866         * io/openat.c: Likewise.
55867         * io/openat64.c: Likewise.
55868         * io/pipe.c: Likewise.
55869         * io/pipe2.c: Likewise.
55870         * io/poll.c: Likewise.
55871         * io/posix_fadvise.c: Likewise.
55872         * io/posix_fadvise64.c: Likewise.
55873         * io/posix_fallocate.c: Likewise.
55874         * io/posix_fallocate64.c: Likewise.
55875         * io/read.c: Likewise.
55876         * io/readlink.c: Likewise.
55877         * io/readlinkat.c: Likewise.
55878         * io/rmdir.c: Likewise.
55879         * io/sendfile.c: Likewise.
55880         * io/sendfile64.c: Likewise.
55881         * io/statfs.c: Likewise.
55882         * io/statfs64.c: Likewise.
55883         * io/statvfs.c: Likewise.
55884         * io/statvfs64.c: Likewise.
55885         * io/symlink.c: Likewise.
55886         * io/symlinkat.c: Likewise.
55887         * io/ttyname.c: Likewise.
55888         * io/ttyname_r.c: Likewise.
55889         * io/umask.c: Likewise.
55890         * io/unlink.c: Likewise.
55891         * io/unlinkat.c: Likewise.
55892         * io/utime.c: Likewise.
55893         * io/utimensat.c: Likewise.
55894         * io/write.c: Likewise.
55895         * io/xmknod.c: Likewise.
55896         * io/xmknodat.c: Likewise.
55897         * io/xstat.c: Likewise.
55898         * io/xstat64.c: Likewise.
55899         * login/getpt.c: Likewise.
55900         * login/grantpt.c: Likewise.
55901         * login/unlockpt.c: Likewise.
55902         * math/e_acoshl.c: Likewise.
55903         * math/e_acosl.c: Likewise.
55904         * math/e_asinl.c: Likewise.
55905         * math/e_atan2l.c: Likewise.
55906         * math/e_atanhl.c: Likewise.
55907         * math/e_coshl.c: Likewise.
55908         * math/e_expl.c: Likewise.
55909         * math/e_fmodl.c: Likewise.
55910         * math/e_gammal_r.c: Likewise.
55911         * math/e_hypotl.c: Likewise.
55912         * math/e_j0l.c: Likewise.
55913         * math/e_j1l.c: Likewise.
55914         * math/e_jnl.c: Likewise.
55915         * math/e_lgammal_r.c: Likewise.
55916         * math/e_log10l.c: Likewise.
55917         * math/e_log2l.c: Likewise.
55918         * math/e_logl.c: Likewise.
55919         * math/e_powl.c: Likewise.
55920         * math/e_rem_pio2l.c: Likewise.
55921         * math/e_sinhl.c: Likewise.
55922         * math/e_sqrtl.c: Likewise.
55923         * math/fclrexcpt.c: Likewise.
55924         * math/fedisblxcpt.c: Likewise.
55925         * math/feenablxcpt.c: Likewise.
55926         * math/fegetenv.c: Likewise.
55927         * math/fegetexcept.c: Likewise.
55928         * math/fegetround.c: Likewise.
55929         * math/feholdexcpt.c: Likewise.
55930         * math/fesetenv.c: Likewise.
55931         * math/fesetround.c: Likewise.
55932         * math/feupdateenv.c: Likewise.
55933         * math/fgetexcptflg.c: Likewise.
55934         * math/fraiseexcpt.c: Likewise.
55935         * math/fsetexcptflg.c: Likewise.
55936         * math/ftestexcept.c: Likewise.
55937         * math/k_cosl.c: Likewise.
55938         * math/k_rem_pio2l.c: Likewise.
55939         * math/k_sinl.c: Likewise.
55940         * math/k_tanl.c: Likewise.
55941         * math/s_asinhl.c: Likewise.
55942         * math/s_atanl.c: Likewise.
55943         * math/s_cbrtl.c: Likewise.
55944         * math/s_erfl.c: Likewise.
55945         * math/s_expm1l.c: Likewise.
55946         * math/s_log1pl.c: Likewise.
55947         * math/s_tanhl.c: Likewise.
55948         * misc/acct.c: Likewise.
55949         * misc/brk.c: Likewise.
55950         * misc/chflags.c: Likewise.
55951         * misc/chroot.c: Likewise.
55952         * misc/fchflags.c: Likewise.
55953         * misc/fgetxattr.c: Likewise.
55954         * misc/flistxattr.c: Likewise.
55955         * misc/fremovexattr.c: Likewise.
55956         * misc/fsetxattr.c: Likewise.
55957         * misc/fsync.c: Likewise.
55958         * misc/ftruncate.c: Likewise.
55959         * misc/futimes.c: Likewise.
55960         * misc/futimesat.c: Likewise.
55961         * misc/getdomain.c: Likewise.
55962         * misc/getdtsz.c: Likewise.
55963         * misc/gethostid.c: Likewise.
55964         * misc/gethostname.c: Likewise.
55965         * misc/getloadavg.c: Likewise.
55966         * misc/getpagesize.c: Likewise.
55967         * misc/getsysstats.c: Likewise.
55968         * misc/getxattr.c: Likewise.
55969         * misc/gtty.c: Likewise.
55970         * misc/ioctl.c: Likewise.
55971         * misc/lgetxattr.c: Likewise.
55972         * misc/listxattr.c: Likewise.
55973         * misc/llistxattr.c: Likewise.
55974         * misc/lremovexattr.c: Likewise.
55975         * misc/lsetxattr.c: Likewise.
55976         * misc/lutimes.c: Likewise.
55977         * misc/madvise.c: Likewise.
55978         * misc/mincore.c: Likewise.
55979         * misc/mlock.c: Likewise.
55980         * misc/mlockall.c: Likewise.
55981         * misc/mmap.c: Likewise.
55982         * misc/mprotect.c: Likewise.
55983         * misc/msync.c: Likewise.
55984         * misc/munlock.c: Likewise.
55985         * misc/munlockall.c: Likewise.
55986         * misc/munmap.c: Likewise.
55987         * misc/preadv.c: Likewise.
55988         * misc/preadv64.c: Likewise.
55989         * misc/ptrace.c: Likewise.
55990         * misc/pwritev.c: Likewise.
55991         * misc/pwritev64.c: Likewise.
55992         * misc/readv.c: Likewise.
55993         * misc/reboot.c: Likewise.
55994         * misc/remap_file_pages.c: Likewise.
55995         * misc/removexattr.c: Likewise.
55996         * misc/revoke.c: Likewise.
55997         * misc/select.c: Likewise.
55998         * misc/setdomain.c: Likewise.
55999         * misc/setegid.c: Likewise.
56000         * misc/seteuid.c: Likewise.
56001         * misc/sethostid.c: Likewise.
56002         * misc/sethostname.c: Likewise.
56003         * misc/setregid.c: Likewise.
56004         * misc/setreuid.c: Likewise.
56005         * misc/setxattr.c: Likewise.
56006         * misc/sstk.c: Likewise.
56007         * misc/stty.c: Likewise.
56008         * misc/swapoff.c: Likewise.
56009         * misc/swapon.c: Likewise.
56010         * misc/sync.c: Likewise.
56011         * misc/syncfs.c: Likewise.
56012         * misc/syscall.c: Likewise.
56013         * misc/truncate.c: Likewise.
56014         * misc/ualarm.c: Likewise.
56015         * misc/usleep.c: Likewise.
56016         * misc/ustat.c: Likewise.
56017         * misc/utimes.c: Likewise.
56018         * misc/vhangup.c: Likewise.
56019         * misc/writev.c: Likewise.
56020         * posix/_exit.c: Likewise.
56021         * posix/alarm.c: Likewise.
56022         * posix/execve.c: Likewise.
56023         * posix/fexecve.c: Likewise.
56024         * posix/fork.c: Likewise.
56025         * posix/fpathconf.c: Likewise.
56026         * posix/getaddrinfo.c: Likewise.
56027         * posix/getegid.c: Likewise.
56028         * posix/geteuid.c: Likewise.
56029         * posix/getgid.c: Likewise.
56030         * posix/getgroups.c: Likewise.
56031         * posix/getlogin.c: Likewise.
56032         * posix/getlogin_r.c: Likewise.
56033         * posix/getpgid.c: Likewise.
56034         * posix/getpid.c: Likewise.
56035         * posix/getppid.c: Likewise.
56036         * posix/getresgid.c: Likewise.
56037         * posix/getresuid.c: Likewise.
56038         * posix/getsid.c: Likewise.
56039         * posix/getuid.c: Likewise.
56040         * posix/glob64.c: Likewise.
56041         * posix/nanosleep.c: Likewise.
56042         * posix/pathconf.c: Likewise.
56043         * posix/pause.c: Likewise.
56044         * posix/posix_madvise.c: Likewise.
56045         * posix/pread.c: Likewise.
56046         * posix/pread64.c: Likewise.
56047         * posix/pwrite.c: Likewise.
56048         * posix/pwrite64.c: Likewise.
56049         * posix/sched_getaffinity.c: Likewise.
56050         * posix/sched_getp.c: Likewise.
56051         * posix/sched_gets.c: Likewise.
56052         * posix/sched_primax.c: Likewise.
56053         * posix/sched_primin.c: Likewise.
56054         * posix/sched_rr_gi.c: Likewise.
56055         * posix/sched_setaffinity.c: Likewise.
56056         * posix/sched_setp.c: Likewise.
56057         * posix/sched_sets.c: Likewise.
56058         * posix/sched_yield.c: Likewise.
56059         * posix/setgid.c: Likewise.
56060         * posix/setlogin.c: Likewise.
56061         * posix/setpgid.c: Likewise.
56062         * posix/setresgid.c: Likewise.
56063         * posix/setresuid.c: Likewise.
56064         * posix/setsid.c: Likewise.
56065         * posix/setuid.c: Likewise.
56066         * posix/sleep.c: Likewise.
56067         * posix/spawni.c: Likewise.
56068         * posix/sysconf.c: Likewise.
56069         * posix/times.c: Likewise.
56070         * posix/wait.c: Likewise.
56071         * posix/wait3.c: Likewise.
56072         * posix/wait4.c: Likewise.
56073         * posix/waitpid.c: Likewise.
56074         * resolv/gai_sigqueue.c: Likewise.
56075         * resource/getpriority.c: Likewise.
56076         * resource/getrlimit.c: Likewise.
56077         * resource/getrusage.c: Likewise.
56078         * resource/nice.c: Likewise.
56079         * resource/setpriority.c: Likewise.
56080         * resource/setrlimit.c: Likewise.
56081         * resource/ulimit.c: Likewise.
56082         * rt/aio_cancel.c: Likewise.
56083         * rt/aio_fsync.c: Likewise.
56084         * rt/aio_read.c: Likewise.
56085         * rt/aio_sigqueue.c: Likewise.
56086         * rt/aio_suspend.c: Likewise.
56087         * rt/aio_write.c: Likewise.
56088         * rt/clock_getres.c: Likewise.
56089         * rt/clock_gettime.c: Likewise.
56090         * rt/clock_nanosleep.c: Likewise.
56091         * rt/clock_settime.c: Likewise.
56092         * rt/lio_listio.c: Likewise.
56093         * rt/mq_close.c: Likewise.
56094         * rt/mq_getattr.c: Likewise.
56095         * rt/mq_notify.c: Likewise.
56096         * rt/mq_open.c: Likewise.
56097         * rt/mq_receive.c: Likewise.
56098         * rt/mq_send.c: Likewise.
56099         * rt/mq_setattr.c: Likewise.
56100         * rt/mq_timedreceive.c: Likewise.
56101         * rt/mq_timedsend.c: Likewise.
56102         * rt/mq_unlink.c: Likewise.
56103         * rt/shm_open.c: Likewise.
56104         * rt/shm_unlink.c: Likewise.
56105         * rt/timer_create.c: Likewise.
56106         * rt/timer_delete.c: Likewise.
56107         * rt/timer_getoverr.c: Likewise.
56108         * rt/timer_gettime.c: Likewise.
56109         * rt/timer_settime.c: Likewise.
56110         * setjmp/__longjmp.c: Likewise.
56111         * setjmp/setjmp.c: Likewise.
56112         * signal/kill.c: Likewise.
56113         * signal/killpg.c: Likewise.
56114         * signal/raise.c: Likewise.
56115         * signal/sigaction.c: Likewise.
56116         * signal/sigaltstack.c: Likewise.
56117         * signal/sigblock.c: Likewise.
56118         * signal/sigignore.c: Likewise.
56119         * signal/sigintr.c: Likewise.
56120         * signal/signal.c: Likewise.
56121         * signal/sigpause.c: Likewise.
56122         * signal/sigpending.c: Likewise.
56123         * signal/sigqueue.c: Likewise.
56124         * signal/sigreturn.c: Likewise.
56125         * signal/sigset.c: Likewise.
56126         * signal/sigsetmask.c: Likewise.
56127         * signal/sigstack.c: Likewise.
56128         * signal/sigsuspend.c: Likewise.
56129         * signal/sigtimedwait.c: Likewise.
56130         * signal/sigvec.c: Likewise.
56131         * signal/sigwait.c: Likewise.
56132         * signal/sigwaitinfo.c: Likewise.
56133         * signal/sysv_signal.c: Likewise.
56134         * socket/accept.c: Likewise.
56135         * socket/accept4.c: Likewise.
56136         * socket/bind.c: Likewise.
56137         * socket/connect.c: Likewise.
56138         * socket/getpeername.c: Likewise.
56139         * socket/getsockname.c: Likewise.
56140         * socket/getsockopt.c: Likewise.
56141         * socket/isfdtype.c: Likewise.
56142         * socket/listen.c: Likewise.
56143         * socket/recv.c: Likewise.
56144         * socket/recvfrom.c: Likewise.
56145         * socket/recvmsg.c: Likewise.
56146         * socket/send.c: Likewise.
56147         * socket/sendmsg.c: Likewise.
56148         * socket/sendto.c: Likewise.
56149         * socket/setsockopt.c: Likewise.
56150         * socket/shutdown.c: Likewise.
56151         * socket/sockatmark.c: Likewise.
56152         * socket/socket.c: Likewise.
56153         * socket/socketpair.c: Likewise.
56154         * stdio-common/ctermid.c: Likewise.
56155         * stdio-common/cuserid.c: Likewise.
56156         * stdio-common/remove.c: Likewise.
56157         * stdio-common/rename.c: Likewise.
56158         * stdio-common/renameat.c: Likewise.
56159         * stdio-common/tempname.c: Likewise.
56160         * stdlib/getcontext.c: Likewise.
56161         * stdlib/makecontext.c: Likewise.
56162         * stdlib/setcontext.c: Likewise.
56163         * stdlib/swapcontext.c: Likewise.
56164         * stdlib/system.c: Likewise.
56165         * streams/fattach.c: Likewise.
56166         * streams/fdetach.c: Likewise.
56167         * streams/getmsg.c: Likewise.
56168         * streams/getpmsg.c: Likewise.
56169         * streams/putmsg.c: Likewise.
56170         * streams/putpmsg.c: Likewise.
56171         * sysdeps/unix/bsd/getpt.c: Likewise.
56172         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
56173         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
56174         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
56175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
56176         Likewise.
56177         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
56178         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
56179         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
56180         * sysvipc/msgctl.c: Likewise.
56181         * sysvipc/msgget.c: Likewise.
56182         * sysvipc/msgrcv.c: Likewise.
56183         * sysvipc/msgsnd.c: Likewise.
56184         * sysvipc/semctl.c: Likewise.
56185         * sysvipc/semget.c: Likewise.
56186         * sysvipc/semop.c: Likewise.
56187         * sysvipc/semtimedop.c: Likewise.
56188         * sysvipc/shmat.c: Likewise.
56189         * sysvipc/shmctl.c: Likewise.
56190         * sysvipc/shmdt.c: Likewise.
56191         * sysvipc/shmget.c: Likewise.
56192         * termios/tcdrain.c: Likewise.
56193         * termios/tcflow.c: Likewise.
56194         * termios/tcflush.c: Likewise.
56195         * termios/tcgetattr.c: Likewise.
56196         * termios/tcgetpgrp.c: Likewise.
56197         * termios/tcsendbrk.c: Likewise.
56198         * termios/tcsetattr.c: Likewise.
56199         * termios/tcsetpgrp.c: Likewise.
56200         * time/adjtime.c: Likewise.
56201         * time/clock.c: Likewise.
56202         * time/getitimer.c: Likewise.
56203         * time/gettimeofday.c: Likewise.
56204         * time/setitimer.c: Likewise.
56205         * time/settimeofday.c: Likewise.
56206         * time/stime.c: Likewise.
56207         * time/time.c: Likewise.
56209 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
56211         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
56212         /usr/old/bin.
56214         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
56215         instead of spaces.
56216         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
56218 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
56220         [BZ #14796]
56221         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
56222         FE_TONEAREST before applying Dekker multiplication and Knuth
56223         addition.  Clear inexact exceptions and check for exact zero
56224         results afterwards.
56225         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
56226         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
56227         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56228         * math/libm-test.inc (fma_test): Add more tests.
56229         (fma_test_towardzero): Likewise.
56230         (fma_test_downward): Likewise.
56231         (fma_test_upward): Likewise.
56232         * sysdeps/generic/math_private.h (default_libc_fesetround): New
56233         function.
56234         (libc_fesetround): New macro.
56235         (libc_fesetroundf): Likewise.
56236         (libc_fesetroundl): Likewise.
56237         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
56238         function.
56239         (libc_fesetround_387): Likewise.
56240         (libc_fesetroundf): New macro.
56241         (libc_fesetround): Likewise.
56242         (libc_fesetroundl): Likewise.
56243         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
56244         function.
56245         (libc_fesetroundf): New macro.
56246         (libc_fesetround): Likewise.
56247         (libc_fesetroundl): Likewise.
56248         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
56249         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
56250         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
56251         libm_hidden_ver.
56252         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
56253         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
56254         libm_hidden_def.
56255         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
56256         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
56257         libm_hidden_ver.
56258         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
56259         libm_hidden_def.
56261         [BZ #3439]
56262         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
56263         integer constant usable in #if and use that to give value to enum
56264         constant.
56265         (FE_DIVBYZERO): Likewise.
56266         (FE_UNDERFLOW): Likewise.
56267         (FE_OVERFLOW): Likewise.
56268         (FE_INVALID): Likewise.
56269         (FE_INVALID_SNAN): Likewise.
56270         (FE_INVALID_ISI): Likewise.
56271         (FE_INVALID_IDI): Likewise.
56272         (FE_INVALID_ZDZ): Likewise.
56273         (FE_INVALID_IMZ): Likewise.
56274         (FE_INVALID_COMPARE): Likewise.
56275         (FE_INVALID_SOFTWARE): Likewise.
56276         (FE_INVALID_SQRT): Likewise.
56277         (FE_INVALID_INTEGER_CONVERSION): Likewise.
56278         (FE_TONEAREST): Likewise.
56279         (FE_TOWARDZERO): Likewise.
56280         (FE_UPWARD): Likewise.
56281         (FE_DOWNWARD): Likewise.
56282         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
56283         (FE_DIVBYZERO): Likewise.
56284         (FE_OVERFLOW): Likewise.
56285         (FE_UNDERFLOW): Likewise.
56286         (FE_INEXACT): Likewise.
56287         (FE_TONEAREST): Likewise.
56288         (FE_DOWNWARD): Likewise.
56289         (FE_UPWARD): Likewise.
56290         (FE_TOWARDZERO): Likewise.
56291         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
56292         (FE_UNDERFLOW): Likewise.
56293         (FE_OVERFLOW): Likewise.
56294         (FE_DIVBYZERO): Likewise.
56295         (FE_INVALID): Likewise.
56296         (FE_TONEAREST): Likewise.
56297         (FE_TOWARDZERO): Likewise.
56298         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
56299         (FE_OVERFLOW): Likewise.
56300         (FE_UNDERFLOW): Likewise.
56301         (FE_DIVBYZERO): Likewise.
56302         (FE_INEXACT): Likewise.
56303         (FE_TONEAREST): Likewise.
56304         (FE_TOWARDZERO): Likewise.
56305         (FE_UPWARD): Likewise.
56306         (FE_DOWNWARD): Likewise.
56307         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
56308         (FE_DIVBYZERO): Likewise.
56309         (FE_OVERFLOW): Likewise.
56310         (FE_UNDERFLOW): Likewise.
56311         (FE_INEXACT): Likewise.
56312         (FE_TONEAREST): Likewise.
56313         (FE_DOWNWARD): Likewise.
56314         (FE_UPWARD): Likewise.
56315         (FE_TOWARDZERO): Likewise.
56317 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
56319         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
56321 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
56323         * scripts/cross-test-ssh.sh (command): Use newlines to separate
56324         commands.  Quote $PWD.
56325         (blacklist_exports): Don't use remove_newlines.  Replace "declare
56326         -x" by "export".
56327         (remove_newlines): Remove.
56329 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
56331         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
56332         * stdlib/stdlib.h (atof): Moved to ...
56333         * include/bits/stdlib-float.h: Here.  New file.
56334         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
56335         * stdlib/bits/stdlib-float.h: New file.
56336         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
56337         -mno-sse -mno-mmx.
56338         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
56339         <xmmintrin.h>.
56341 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
56343         * conform/conformtest.pl (@headers): Add fenv.h.
56344         * conform/data/fenv.h-data: New file.
56345         * include/fenv.h [_ISOMAC]: Disable all contents of file except
56346         include of <math/fenv.h>.
56348         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
56349         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
56350         && !UNIX98].  Enables tests for XOPEN2K8.
56351         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
56352         POSIX2008]: Likewise.
56354         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
56355         (struct rusage): Do not expect type or its members.
56357         [BZ #3439]
56358         * math/math.h (FP_NAN): Define macro to integer constant usable in
56359         #if and use that to give value to enum constant.
56360         (FP_INFINITE): Likewise.
56361         (FP_ZERO): Likewise.
56362         (FP_SUBNORMAL): Likewise.
56363         (FP_NORMAL): Likewise.
56365 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
56367         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
56368         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
56369         arguments.
56371 2012-11-02  Roland McGrath  <roland@hack.frob.com>
56373         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
56374         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
56375         autoconf-time if not.
56376         * configure.in: Remove AC_PREREQ.
56378 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
56380         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
56381         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
56382         of the internal implementation.
56384 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
56386         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
56387         except include of <misc/sys/syslog.h>.
56389 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
56391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
56392         function returns with a NULL context exit with zero.
56394 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
56396         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
56398 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
56400         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
56401         (run_program_cmd): This.
56402         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
56403         (tst_langinfo): New variable.  Use it.
56405 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
56407         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
56408         floating point opcodes.
56410 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
56412         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
56413         variable.
56415         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
56417         * sysdeps/mach/hurd/powerpc: Remove directory.
56418         * sysdeps/mach/powerpc: Likewise.
56420 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
56422         * scripts/check-local-headers.sh: Ignore c++ headers.
56424 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
56426         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
56427         __libc_cleanup_region_start argument.
56429 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
56431         [BZ #14784]
56432         [BZ #14785]
56433         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
56434         x * y using scaling, not as x * y + z.
56435         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
56436         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56437         * math/libm-test.inc (fma_test): Add more tests.
56438         (fma_test_towardzero): Likewise.
56439         (fma_test_downward): Likewise.
56440         (fma_test_upward): Likewise.
56442 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
56444         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
56446 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
56448         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
56449         New variable.
56451 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
56453         * rt/tst-shm.c (worker): Correct checking for mmap failure.
56455 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
56457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
56458         Fix sort order.
56459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
56460         Likewise.
56462 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
56464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
56465         Fix the order of the list for glibc 2.17.
56466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
56467         Likewise.
56469 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
56471         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56473 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
56475         [BZ #14610]
56476         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
56477         for low part of x being zero before using __atanl (y).
56478         * math/libm-test.inc (atan2_test): Add another test.
56480         * manual/install.texi (Configuring and compiling): Document
56481         general use of test-wrapper and test-wrapper-env.
56482         * INSTALL: Regenerated.
56484         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
56485         (__fma): Do not extract and scale down low bits on after-rounding
56486         systems when result rounded to normal precision would have normal
56487         exponent.
56488         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
56489         (__fmal): Do not extract and scale down low bits on after-rounding
56490         systems when result rounded to normal precision would have normal
56491         exponent.
56492         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
56493         (__fmal): Do not extract and scale down low bits on after-rounding
56494         systems when result rounded to normal precision would have normal
56495         exponent.
56496         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
56497         macro.
56498         (fma_test): Add more tests.
56499         (fma_test_towardzero): Likewise.
56500         (fma_test_downward): Likewise.
56501         (fma_test_upward): Likewise.
56503 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
56505         * sysdeps/i386/tininess.h: Renamed to ...
56506         * sysdeps/x86/tininess.h: This.
56507         * sysdeps/x86_64/tininess.h: Removed.
56509 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
56511         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
56512         input.  Use $(build-program-cmd).
56513         ($(objpfx)tst-array1-static.out): Likewise.
56514         ($(objpfx)tst-array2.out): Likewise.
56515         ($(objpfx)tst-array3.out): Likewise.
56516         ($(objpfx)tst-array4.out): Likewise.
56517         ($(objpfx)tst-array5.out): Likewise.
56518         ($(objpfx)tst-array5-static.out): Likewise.
56520 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
56522         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
56523         if defined.
56525         * nss/nsswitch.h (nss_interface_function): Provide new
56526         macro for use with NSS functions.
56527         * grp/initgroups.c: Use new macro.
56528         * nss/getXXbyYY.c: Likewise.
56529         * nss/getXXbyYY_r.c: Likewise.
56530         * nss/getXXent.c: Likewise.
56531         * nss/getXXent_r.c: Likewise.
56532         * sysdeps/posix/getaddrinfo.c: Likewise.
56534 2012-10-30  Andreas Jaeger  <aj@suse.de>
56536         * po/ru.po: Update Russion translation from translation project.
56538 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
56540         [BZ #14152]
56541         [BZ #14783]
56542         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
56543         result and shift together with sticky bit instead of replicating
56544         round-to-nearest rounding.
56545         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
56546         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56547         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
56548         missing underflow exceptions.
56549         (fma_test_towardzero): Add more tests.
56550         (fma_test_downward): Likewise.
56551         (fma_test_upward): Likewise.
56553         [BZ #14047]
56554         * sysdeps/generic/tininess.h: New file.
56555         * sysdeps/i386/tininess.h: Likewise.
56556         * sysdeps/sh/tininess.h: Likewise.
56557         * sysdeps/x86_64/tininess.h: Likewise.
56558         * stdlib/tst-strtod-underflow.c: Likewise.
56559         * stdlib/tst-tininess.c: Likewise.
56560         * stdlib/strtod_l.c: Include <tininess.h>.
56561         (round_and_return): Do not set errno for exact underflow cases.
56562         Force an underflow exception when setting errno for underflow.
56563         Determine underflow based on rounding to normal precision if
56564         TININESS_AFTER_ROUNDING.
56565         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
56566         ERANGE for exact underflow cases.
56567         * stdlib/Makefile (tests): Add tst-tininess and
56568         tst-strtod-underflow.
56569         ($(objpfx)tst-tininess): Use $(link-libm).
56570         ($(objpfx)tst-strtod-underflow): Likewise.
56572 2012-10-30  Andreas Jaeger  <aj@suse.de>
56574         [BZ#14767]
56575         * elf/Makefile (tests): Remove conditional for have-initfini-array
56576         since this is now always required and the variable does not exist
56577         anymore.
56578         (tests-static): Likewise.
56579         (modules-names): Likewise.
56581         * po/eo.po: Add Esperanto translation from translation project.
56583         * elf/tst-array1.c (fini_array): Make writeable so that it can be
56584         merged with constructor/destructor.
56585         (init_array): Likewise.
56586         * elf/tst-array2dep.c (fini_array): Likewise.
56587         (init_array): Likewise.
56589 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
56591         * manual/message.texi: Delete @cartouche tags.
56593 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
56595         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
56596         EOPNOTSUPP.
56597         * sysdeps/mach/hurd/fsync.c: Likewise.
56599         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
56600         [_POSIX_REALTIME_SIGNALS]: Change condition to
56601         [_POSIX_REALTIME_SIGNALS > 0].
56603 2012-10-27  Andreas Jaeger  <aj@suse.de>
56605         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
56606         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
56607         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
56608         [__WORDSIZE != 64]: Likewise.
56610 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
56612         *  iconvdata/tst-table.sh: Remove ${SHELL}.
56613         *  iconvdata/tst-tables.sh: Likewise.
56615 2012-10-25  David S. Miller  <davem@davemloft.net>
56617         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
56618         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
56619         of strtoull.
56621         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
56622         ifunc-impl-list.c
56623         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
56624         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
56625         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
56626         file.
56628 2012-10-25  Roland McGrath  <roland@hack.frob.com>
56630         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
56631         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
56632         __getdirentries.
56634 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
56635             Jim Blandy  <jimb@codesourcery.com>
56637         * scripts/cross-test-ssh.sh: New file.
56638         * manual/install.texi (Configuring and compiling): Document use of
56639         cross-test-ssh.sh.
56640         * INSTALL: Regenerated.
56642 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
56644         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
56645         EOPNOTSUPP.
56647 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
56649         * Makeconfig (run-program-prefix): Fix comment.
56651 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
56652             Jim Blandy  <jimb@codesourcery.com>
56654         * Makeconfig (test-wrapper): New variable,
56655         (test-wrapper-env): Likewise.
56656         [$(cross-compiling) = yes && $(test-wrapper) != ""]
56657         (run-built-tests): Define to yes.
56658         (run-program-prefix): Use $(test-wrapper).
56659         (built-program-cmd): Likewise.
56660         * Rules (make-test-out): Use $(test-wrapper-env) and
56661         $(host-built-program-cmd).
56662         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
56663         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
56664         tst-pathopt.sh.
56665         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
56666         $(test-wrapper-env) to tst-rtld-load-self.sh.
56667         ($(objpfx)order2.out): Use $(test-wrapper).
56668         ($(objpfx)tst-initorder.out): Likewise.
56669         ($(objpfx)tst-initorder2.out): Likewise.
56670         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
56671         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
56672         (test_wrapper_env): New variable.  Use it to run ld.so.
56673         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
56674         Use it to run ld.so.
56675         (test_wrapper_env): Likewise.
56676         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
56677         $(test-wrapper) to run-iconv-test.sh.
56678         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
56679         (ICONV): Use $test_wrapper.
56680         * posix/Makefile ($(objpfx)globtest.out): Pass
56681         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
56682         globtest.sh, not $(run-program-prefix).
56683         * posix/globtest.sh (run_via_rtld_prefix): New variable.
56684         (test_wrapper): Likewise.
56685         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
56686         set together with run_via_rtld_prefix.
56687         (run_program_prefix): Define in terms of test_wrapper and
56688         run_via_rtld_prefix.
56690 2012-10-24  Roland McGrath  <roland@hack.frob.com>
56692         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
56693         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
56694         Targets removed.
56696         [BZ #14743]
56697         * include/time.h: Remove librt_hidden_proto (clock_gettime).
56698         Declare __clock_getres, __clock_gettime, __clock_settime,
56699         __clock_nanosleep, and __clock_getcpuclockid.
56700         * rt/clock_gettime.c: Define __clock_gettime as an alias.
56701         Remove librt_hidden_def (clock_gettime).
56702         * sysdeps/unix/clock_gettime.c: Likewise.
56703         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
56704         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
56705         * rt/clock_getres.c: Define __clock_getres as an alias.
56706         * sysdeps/posix/clock_getres.c: Likewise.
56707         * rt/clock_settime.c: Define __clock_settime as an alias.
56708         * sysdeps/unix/clock_settime.c: Likewise.
56709         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
56710         * sysdeps/unix/clock_nanosleep.c: Likewise.
56711         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
56712         * rt/clock-compat.c: New file.
56713         * rt/Makefile (librt-routines): Add clock-compat and move
56714         $(clock-routines) to ...
56715         (routines): ... here, new variable.
56716         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
56717         Don't add get_clockfreq here.
56718         * rt/Versions (libc: GLIBC_2.17): New version set.
56719         Add clock_* symbols here.
56720         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
56721         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
56722         (GLIBC_2.17): Add clock_* symbols.
56723         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
56724         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
56725         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
56726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
56727         Likewise.
56728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
56729         Likewise.
56730         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
56731         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
56732         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
56733         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
56734         * NEWS: Mention the move.
56736         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
56737         Use __open, __read, __close rather than their public counterparts.
56738         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
56739         (__get_clockfreq_via_cpuinfo): Likewise.
56740         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
56741         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
56743         * config.h.in (HAVE_IFUNC): New #undef.
56744         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
56745         was successful.
56746         * configure: Regenerated.
56748 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
56750         * configure.in: Move READELF check to start of file.
56751         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
56752         libc_cv_asm_gnu_indirect_function in the process.
56753         * configure: Regenerated.
56755 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
56757         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
56758         send the output to /dev/null.
56759         (libc_cv_cc_with_libunwind): Likewise.
56760         (libc_cv_as_noexecstack): Likewise.
56761         * configure: Regenerate.
56763 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
56765         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
56767         * posix/globtest.sh (TMPDIR): Do not set.
56768         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
56769         (testout): Likewise.
56771 2012-10-24  Andreas Jaeger  <aj@suse.de>
56773         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
56774         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
56775         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
56776         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
56777         posix_fadvise64, posix_fallocate64.
56779         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
56780         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
56781         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
56782         Likewise.
56783         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
56784         Likewise.
56785         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
56787         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
56788         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
56789         <bits/fcntl-linux.h>.
56790         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
56792         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
56793         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
56794         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
56795         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
56796         [__WORDSIZE != 64]: Likewise.
56798 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
56800         * Makeconfig (run-built-tests): New variable.
56801         * Rules [$(cross-compiling) = yes]: Change condition to
56802         [$(run-built-tests) = no].
56803         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
56804         to [$(run-built-tests) = yes].
56805         * elf/Makefile [$(cross-compiling) = no]: Likewise.
56806         * grp/Makefile [$(cross-compiling) = no]: Likewise.
56807         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
56808         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
56809         * intl/Makefile [$(cross-compiling) = no]: Likewise.
56810         * io/Makefile [$(cross-compiling) = no]: Likewise.
56811         * libio/Makefile [$(cross-compiling) = no]: Likewise.
56812         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
56813         * misc/Makefile [$(cross-compiling) = no]: Likewise.
56814         * posix/Makefile [$(cross-compiling) = no]: Likewise.
56815         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
56816         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
56817         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
56818         * string/Makefile [$(cross-compiling) = no]: Likewise.
56820         * posix/Makefile ($(objpfx)globtest.out): Pass
56821         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
56822         $(rtld-installed-name).
56823         * posix/globtest.sh (elf_objpfx): Remove variable.
56824         (rtld_installed_name): Likewise.
56825         (library_path): Likewise.
56826         (run_program_prefix): New variable.  Use for running globtest
56827         binary.
56829 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
56830             Joseph Myers  <joseph@codesourcery.com>
56832         * Makeconfig (host-built-program-cmd): New variable.
56833         * elf/Makefile (tst-stackguard1-ARGS): Use
56834         $(host-built-program-cmd).
56835         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
56836         (tst-spawn-ARGS): Likewise.
56837         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
56839 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
56840             Jim Blandy  <jimb@codesourcery.com>
56842         * Makeconfig (run-via-rtld-prefix): New variable.
56843         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
56844         (built-program-cmd): Likewise.
56846 2012-10-22  Andreas Jaeger  <aj@suse.de>
56848         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
56849         __O_RSYNC if it exists, otherwise to O_SYNC.
56851 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
56852             Joseph Myers  <joseph@codesourcery.com>
56854         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
56855         /dev/null.
56856         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
56857         from /dev/null
56858         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
56859         /dev/null.
56861 2012-10-22  Andreas Jaeger  <aj@suse.de>
56863         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
56864         Define always.
56865         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
56867         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56868         bits/fcntl-linux.h.
56870         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
56871         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
56873         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
56874         to __O_LARGEFILE.
56875         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
56876         to __O_LARGEFILE.
56878 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
56879             Joseph Myers  <joseph@codesourcery.com>
56881         * config.make.in (NM): New variable.
56883 2012-10-21  Andreas Jaeger  <aj@suse.de>
56885         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
56886         definitions and declarations that are provided by
56887         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
56889 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
56891         [BZ #14683]
56892         * elf/Makefile (tests-static): Add tst-leaks1-static.
56893         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
56894         ($(objpfx)tst-leaks1-static): New rule.
56895         ($(objpfx)tst-leaks1-static-mem): Likewise.
56896         (tst-leaks1-static-ENV): New macro.
56897         * elf/dl-open.c (dl_open_worker): Check the main application
56898         only if SHARED is defined.
56899         * elf/tst-leaks1-static.c: New file.
56901 2012-10-20  Andreas Jaeger  <aj@suse.de>
56903         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
56904         generic values for Linux.
56905         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
56906         and declarations that are provided by <bits/fcntl-linux.h> and
56907         include <bits/fcntl-linux.h>.
56908         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56909         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56911 2012-10-20  Roland McGrath  <roland@hack.frob.com>
56913         * io/fcntl.h: Move include of <bits/types.h> to the top and
56914         include it unconditionally.
56916 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
56918         * wcsmbs/Makefile (tests-ifunc): New variable.
56919         (tests): Add $(tests-ifunc).
56920         * wcsmbs/test-wcschr-ifunc.c: New file.
56921         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
56922         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
56923         * wcsmbs/test-wcslen-ifunc.c: Likewise.
56924         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
56925         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
56927         * string/Makefile (tests-ifunc): New variable.
56928         (tests): Add $(tests-ifunc).
56929         * string/test-memccpy.c (TEST_NAME): New macro.
56930         * string/test-memchr.c (TEST_NAME): Likewise.
56931         * string/test-memcmp.c (TEST_NAME): Likewise.
56932         * string/test-memcpy.c (TEST_NAME): Likewise.
56933         * string/test-memmem.c (TEST_NAME): Likewise.
56934         * string/test-memmove.c (TEST_NAME): Likewise.
56935         * string/test-memset.c (TEST_NAME): Likewise.
56936         * string/test-rawmemchr.c (TEST_NAME): Likewise.
56937         * string/test-stpcpy.c (TEST_NAME): Likewise.
56938         * string/test-stpncpy.c (TEST_NAME): Likewise.
56939         * string/test-strcasecmp.c (TEST_NAME): Likewise.
56940         * string/test-strcasestr.c (TEST_NAME): Likewise.
56941         * string/test-strcat.c (TEST_NAME): Likewise.
56942         * string/test-strchr.c (TEST_NAME): Likewise.
56943         * string/test-strcmp.c(TEST_NAME): Likewise.
56944         * string/test-strcpy.c (TEST_NAME): Likewise.
56945         * string/test-strcspn.c (TEST_NAME): Likewise.
56946         * string/test-strlen.c (TEST_NAME): Likewise.
56947         * string/test-strncasecmp.c (TEST_NAME): Likewise.
56948         * string/test-strncmp.c (TEST_NAME): Likewise.
56949         * string/test-strncpy.c (TEST_NAME): Likewise.
56950         * string/test-strnlen.c (TEST_NAME): Likewise.
56951         * string/test-strpbrk.c (TEST_NAME): Likewise.
56952         * string/test-strrchr.c (TEST_NAME): Likewise.
56953         * string/test-strspn.c (TEST_NAME): Likewise.
56954         * string/test-strstr.c (TEST_NAME): Likewise.
56955         * string/test-bcopy-ifunc.c: New file.
56956         * string/test-bzero-ifunc.c: Likewise.
56957         * string/test-memccpy-ifunc.c: Likewise.
56958         * string/test-memchr-ifunc.c: Likewise.
56959         * string/test-memcmp-ifunc.c: Likewise.
56960         * string/test-memcpy-ifunc.c: Likewise.
56961         * string/test-memmem-ifunc.c: Likewise.
56962         * string/test-memmove-ifunc.c: Likewise.
56963         * string/test-mempcpy-ifunc.c: Likewise.
56964         * string/test-memset-ifunc.c: Likewise.
56965         * string/test-rawmemchr-ifunc.c: Likewise.
56966         * string/test-stpcpy-ifunc.c: Likewise.
56967         * string/test-stpncpy-ifunc.c: Likewise.
56968         * string/test-strcasecmp-ifunc.c: Likewise.
56969         * string/test-strcasestr-ifunc.c: Likewise.
56970         * string/test-strcat-ifunc.c: Likewise.
56971         * string/test-strchr-ifunc.c: Likewise.
56972         * string/test-strchrnul-ifunc.c: Likewise.
56973         * string/test-strcmp-ifunc.c: Likewise.
56974         * string/test-strcpy-ifunc.c: Likewise.
56975         * string/test-strcspn-ifunc.c: Likewise.
56976         * string/test-strlen-ifunc.c: Likewise.
56977         * string/test-strncasecmp-ifunc.c: Likewise.
56978         * string/test-strncat-ifunc.c: Likewise.
56979         * string/test-strncmp-ifunc.c: Likewise.
56980         * string/test-strncpy-ifunc.c: Likewise.
56981         * string/test-strnlen-ifunc.c: Likewise.
56982         * string/test-strpbrk-ifunc.c: Likewise.
56983         * string/test-strrchr-ifunc.c: Likewise.
56984         * string/test-strspn-ifunc.c: Likewise.
56985         * string/test-strstr-ifunc.c: Likewise.
56987         * debug/Makefile (tests-ifunc): New variable.
56988         (tests): Add $(tests-ifunc).
56989         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
56990         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
56991         * debug/test-stpcpy_chk-ifunc.c: New file.
56992         * debug/test-strcpy_chk-ifunc.c: Likewise.
56994 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
56996         [BZ #13601]
56997         * elf/dl-load.c (open_verify): Retry read if the entire ELF
56998         header is not read in.
57000 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
57002         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
57003         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
57004         directly.  Pass built executable to script as
57005         $(built-program-cmd).
57006         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
57007         $testprogram without using LD_LIBRARY_PATH and $ldso.
57009         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
57010         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
57011         $(rtld-installed-name).
57012         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
57013         (rtld_installed_name): Likewise.
57014         (library_path): Likewise.
57015         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
57016         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
57017         $(run-program-prefix) to tst-tables.sh.
57018         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
57019         it to run tst-table-from and tst-table-to.
57020         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
57021         Pass it to tst-table.sh.
57022         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
57023         $(run-program-prefix) to tst-gettext.sh.
57024         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
57025         tst-translit.sh.
57026         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
57027         tst-gettext2.sh.
57028         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
57029         to run tst-gettext.
57030         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
57031         to run tst-gettext2.
57032         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
57033         to run tst-translit.
57034         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
57035         $(run-program-prefix) to tst-mtrace.sh.
57036         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
57037         to run tst-mtrace.
57038         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
57039         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
57040         $(rtld-installed-name).
57041         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
57042         (rtld_installed_name): Likewise.
57043         (run_program_prefix): New variable.  Use it to run wordexp-test.
57045         * Makeconfig (ARCH): Remove all definitions.
57046         (machine): Likewise.
57047         [ARCH]: Remove conditional code.
57048         [!objdir]: Give error.
57049         [!objdir] (objpfx): Remove.
57050         [!objdir] (common-objpfx): Likewise.
57051         [!objdir] (common-objdir): Likewise.
57052         * configure.in (config_makefile): Remove.  Hardcode Makefile in
57053         AC_CONFIG_FILES call.
57054         * configure: Regenerated.
57056         [BZ #13888]
57057         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
57058         or TMPDIR.
57059         (testout): Likewise.
57061         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
57062         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
57063         $(rtld-installed-name).
57064         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
57065         (rtld_installed_name): Likwise.
57066         (runit): Remove function.
57067         (run_getconf): New variable,  Use it for running getconf binary.
57069 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
57071         [BZ #14716]
57072         * string/test-memmem.c (check_result): New function.
57073         (do_one_test): Use it.
57074         (check1): New function.
57075         (test_main): Use it.
57077 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
57079         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
57081 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
57083         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
57084         (_G_LSEEK64): Likewise.
57085         (_G_MMAP64): Likewise.
57086         (_G_FSTAT64): Likewise.
57087         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
57088         (_G_LSEEK64): Likewise.
57089         (_G_MMAP64): Likewise.
57090         (_G_FSTAT64): Likewise.
57091         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
57092         unconditional.  Call __mmap64 directly.
57093         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
57094         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
57095         __lseek64 directly.
57096         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
57097         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
57098         __mmap64 directly.
57099         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
57100         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
57101         __lseek64 directly.
57102         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
57103         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
57104         __lseek64 directly.
57105         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
57106         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
57107         __lseek64 directly.
57108         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
57109         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
57110         __fxstat64 directly.
57111         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
57112         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
57113         unconditional.
57114         (freopen64) [!_G_OPEN64]: Remove conditional code.
57115         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
57116         unconditional.
57117         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
57118         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
57119         unconditional.
57120         (ftello64) [!_G_LSEEK64]: Remove conditional code.
57121         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
57122         unconditional.
57123         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
57124         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
57125         unconditional.
57126         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
57127         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
57128         unconditional.
57129         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
57130         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
57131         unconditional.
57132         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
57133         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
57134         unconditional.
57135         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
57137 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
57139         [BZ #12140]
57140         * manual/memory.texi (Malloc Tunable Parameters): Add note
57141         about free list pointers overwriting some perturb bytes.
57142         Wording suggested by Roland McGrath.
57144 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
57146         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
57147         (lgamma_test): Likewise.
57148         (tgamma_test): Likewise.
57150 2012-10-16  Florian Weimer  <fweimer@redhat.com>
57152         [BZ #14700]
57153         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
57154         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
57156 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
57158         * NEWS: Mention BZ #14716.
57159         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
57160         when removing AVAILABLE1_USES_J macro.
57162 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
57164         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
57165         (__bswap_64): __uint64_t for unsigned 64-bit int.
57167 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
57169         * include/string.h (memmem): Declare libc hidden alias.
57170         * string/memmem.c (memmem): Define libc hidden alias.
57171         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
57172         __read, __close instead of open, read, close.
57174 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
57176         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
57177         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
57178         global and hidden.
57179         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
57180         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
57181         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
57182         Likewise.
57183         (__rawmemchr_sse2): Likewise.
57184         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
57185         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
57186         (__strchr_sse2): Likewise.
57187         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
57188         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
57189         (__strcasecmp_sse2): Likewise.
57190         (__strncasecmp_sse2): Likewise.
57191         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
57192         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
57193         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
57194         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
57195         (__strrchr_sse2): Likewise.
57196         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
57197         ifunc-impl-list.c.
57198         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
57199         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
57200         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
57201         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
57202         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
57203         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
57204         * sysdeps/x86_64/multiarch/memset.S: Likewise.
57205         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
57206         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
57207         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
57208         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
57209         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
57210         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
57211         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
57212         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
57213         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
57214         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
57215         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
57216         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
57217         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
57218         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
57219         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
57220         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
57221         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
57222         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
57223         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
57224         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
57225         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
57226         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
57227         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
57229         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
57230         global and hidden.
57231         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
57232         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
57233         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
57234         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
57235         Likewise.
57236         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
57237         Likewise.
57238         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
57239         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
57240         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
57241         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
57242         ifunc-impl-list.c.
57243         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
57244         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
57245         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
57246         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
57247         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
57248         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
57249         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
57250         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
57251         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
57252         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
57253         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
57254         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
57255         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
57256         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
57257         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
57258         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
57259         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
57260         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
57261         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
57262         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
57263         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
57264         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
57265         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
57266         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
57267         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
57268         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
57269         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
57270         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
57271         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
57272         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
57273         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
57274         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
57275         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
57276         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
57277         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
57278         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
57279         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
57280         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
57281         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
57282         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
57283         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
57285         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
57286         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
57287         * include/ifunc-impl-list.h: New file.
57288         * misc/ifunc-impl-list.c: Likewise.
57289         * misc/Makefile (routines): Add ifunc-impl-list.
57290         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
57291         * string/test-string.h: Include <ifunc-impl-list.h>.
57292         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
57293         TEST_NAME]: New variables.
57294         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
57295         are defined.
57296         (test_init): Call __libc_ifunc_impl_list to initialize
57297         func_list if TEST_IFUNC and TEST_NAME are defined.
57299         * string/Makefile (strop-tests): Add bcopy and bzero.
57300         * string/test-bcopy.c: New file.
57301         * string/test-bzero.c: Likewise.
57302         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
57303         defined.
57304         * string/test-memset.c: Support bzero test if TEST_BZERO is
57305         defined.
57306         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
57307         __libc_memmove.
57308         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
57309         __libc_memset.
57310         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
57311         of memset.
57313 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
57315         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
57316         * configure: Regenerated.
57318         * Makeconfig (+link-static-before-libc): Don't include
57319         $(link-static-libc).
57321         * libio/libio.h (_IO_pos_t): Remove.
57323 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
57325         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
57326         McGrath.
57328 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
57330         * crypt/crypt-entry.c: Include fips-private.h.
57331         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
57332         * crypt/md5c-test.c (main): Tolerate disabled MD5.
57333         * sysdeps/unix/sysv/linux/fips-private.h: New file.
57334         * sysdeps/generic/fips-private.h: New file, dummy fallback.
57336 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
57338         * crypt/crypt-private.h: Include stdbool.h.
57339         (_ufc_setup_salt_r): Return bool.
57340         * crypt/crypt-entry.c: Include errno.h.
57341         (__crypt_r): Return NULL with EINVAL for bad salt.
57342         * crypt/crypt_util.c (bad_for_salt): New.
57343         (_ufc_setup_salt_r): Check that salt is long enough and within
57344         the specified alphabet.
57345         * crypt/badsalttest.c: New file.
57346         * crypt/Makefile (tests): Add it.
57347         ($(objpfx)badsalttest): New.
57349 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
57351         * NEWS: Add entry for BZ #14602.
57353 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
57355         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
57356         type-generic.
57357         * math/libm-test.inc: Update comment listing what functions and
57358         macros are tested.
57359         (isgreater_test): New function.
57360         (isgreaterequal_test): Likewise.
57361         (isless_test): Likewise.
57362         (islessequal_test): Likewise.
57363         (islessgreater_test): Likewise.
57364         (isunordered_test): Likewise.
57365         (main): Call the new functions.
57367 2012-10-09  Roland McGrath  <roland@hack.frob.com>
57369         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
57370         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
57371         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
57372         * sysdeps/i386/configure: Regenerated.
57373         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
57374         * sysdeps/mach/configure: Regenerated.
57375         * sysdeps/mach/hurd/configure: Regenerated.
57376         * sysdeps/powerpc/configure: Regenerated.
57377         * sysdeps/powerpc/powerpc32/configure: Regenerated.
57378         * sysdeps/powerpc/powerpc64/configure: Regenerated.
57379         * sysdeps/s390/s390-32/configure: Regenerated.
57380         * sysdeps/s390/s390-64/configure: Regenerated.
57381         * sysdeps/sh/configure: Regenerated.
57382         * sysdeps/sparc/configure: Regenerated.
57383         * sysdeps/unix/sysv/linux/configure: Regenerated.
57384         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
57385         * sysdeps/x86_64/configure: Regenerated.
57387         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
57388         defined.  Don't check if MAP is NULL.
57390 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
57392         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
57393         (_G_stat64): Likewise.
57394         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
57395         (_G_stat64): Likewise.
57396         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
57397         instead of struct _G_stat64.
57398         * libio/fileops.c (mmap_remap_check): Likewise.
57399         (decide_maybe_mmap): Likewise.
57400         (_IO_new_file_seekoff): Likewise.
57401         (_IO_file_stat): Likewise.
57402         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
57403         _G_off64_t.
57404         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
57405         instead of struct _G_stat64.
57406         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
57408 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
57410         [BZ #14602]
57411         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
57412         Replace with ...
57413         (CHECK_EOL): New macro.
57414         (two_way_short_needle): Check beginning of haystack for EOL.  Use
57415         CHECK_EOL.
57416         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
57417         Replace with CHECK_EOL.
57418         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
57419         Replace with CHECK_EOL.
57421 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
57423         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
57424         type-generic.
57425         * math/libm-test.inc: Update comment listing what functions and
57426         macros are tested.
57427         (finite_test): New function.
57428         (isinf_test): Likewise.
57429         (isnan_test): Likewise.
57430         (fpclassify_test): Test subnormal input.
57431         (isfinite_test): Likewise.
57432         (isnormal_test): Likewise.
57433         (main): Call the new functions.
57435 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
57437         [BZ #14660]
57438         * Makerules (%.dynsym): Force C locale when running
57439         $(OBJDUMP) --dynamic-syms.
57441 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
57443         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
57444         <stdint.h>.
57446 2012-10-06  David S. Miller  <davem@davemloft.net>
57448         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
57449         upper 32-bits of the length value in %o2 since we use branch-on-register
57450         tests which consider the entire 64-bit register.
57452 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
57454         * string/test-strstr.c (check2): Add a test for page boundary.
57456 2012-10-05  David S. Miller  <davem@davemloft.net>
57458         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
57459         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
57460         file.
57461         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
57462         sysdep_routines.
57463         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
57464         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
57465         and bzero when HWCAP_SPARC_CRYPTO is present.
57467 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
57469         [BZ #14602]
57470         * string/test-strstr.c (check2): New function.
57471         (test_main): Call check2.
57473         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
57474         and bug-strchr1.
57475         * string/bug-strcasestr1.c (do_test): Moved to ...
57476         * string/test-strcasestr.c (check1): Here.  New function.
57477         (do_one_test): Break out result checking code into ...
57478         (check_result): This.  New function.
57479         (do_one_test): Call check_result.
57480         (test_main): Call check1.
57481         * string/bug-strchr1.c (do_test): Moved to ...
57482         * string/test-strchr.c (check1): Here.  New function.
57483         (do_one_test): Break out result checking code into ...
57484         (check_result): This.  New function.
57485         (do_one_test): Call check_result.
57486         (test_main): Call check1.
57487         * string/bug-strstr1.c (main): Moved to ...
57488         * string/test-strstr.c (check1): Here.  New function.
57489         (do_one_test): Break out result checking code into ...
57490         (check_result): This.  New function.
57491         (do_one_test): Call check_result.
57492         (test_main): Call check1.
57493         * string/bug-strcasestr1.c: Removed.
57494         * string/bug-strchr1.c: Likewise.
57495         * string/bug-strstr1.c: Likewise.
57497         * elf/Makefile (dl-routines): Add hwcaps.
57498         * elf/dl-support.c (_dl_important_hwcaps): Removed.
57499         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
57500         (_dl_important_hwcaps): Moved to ...
57501         * elf/dl-hwcaps.c: Here.  New file.
57502         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
57504         [BZ #14557]
57505         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
57506         if IS_IN_rtld isn't defined.
57508         * elf/dl-support.c (_dl_sysinfo_map): New.
57509         Include "get-dynamic-info.h" and "setup-vdso.h".
57510         (_dl_non_dynamic_init): Call setup_vdso.
57511         * elf/dynamic-link.h: Don't include <assert.h>.
57512         (elf_get_dynamic_info): Moved to ...
57513         * elf/get-dynamic-info.h: Here.  New file.
57514         * elf/dynamic-link.h: Include "get-dynamic-info.h".
57515         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
57516         * elf/setup-vdso.h: Here.  New file.
57517         * elf/rtld.c: Include "setup-vdso.h".
57518         (dl_main): Call setup_vdso.
57520 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
57522         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
57523         creal in comment listing functions tested.  List finite, isinf,
57524         isnan, isless, islessequal, isgreater, isgreaterequal,
57525         islessgreater, isunordered, lgamma_r and pow10 as functions and
57526         macros not tested.  Mention which functions not tested are aliases
57527         for other functions.  Fix typo.  Note that signs of NaNs are not
57528         tested.
57530         * scripts/config.guess: Update from config.git.
57531         * scripts/config.sub: Likewise.
57533 2012-10-04  Roland McGrath  <roland@hack.frob.com>
57535         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
57536         * misc/madvise.c (madvise): Renamed to __madvise.
57537         Make madvise a weak alias.
57538         * include/sys/mman.h: Declare __madvise.
57539         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
57540         * sysdeps/unix/syscalls.list
57541         (madvise): Make __madvise the strong name, and madvise a weak alias.
57542         * sysdeps/unix/sysv/linux/syscalls.list
57543         (madvise, mmap): Remove redundant entries.
57544         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
57545         * malloc/malloc.c (mtrim): Likewise.
57546         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
57548 2012-10-03  Roland McGrath  <roland@hack.frob.com>
57550         * sysdeps/mach/hurd/dl-cache.c: File removed.
57551         * config.h.in (USE_LDCONFIG): New #undef.
57552         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
57553         * configure: Regenerated.
57554         * elf/Makefile (dl-routines): Add dl-cache only under
57555         [$(use-ldconfig) = yes].
57556         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
57557         cache on [USE_LDCONFIG].
57558         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
57559         [USE_LDCONFIG].
57560         * elf/rtld.c (dl_main): Likewise.
57562 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
57564         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
57565         _SC_LEVEL4_CACHE_LINESIZE.
57567 2012-10-03  Roland McGrath  <roland@hack.frob.com>
57569         * sysdeps/unix/bsd/confstr.h: File removed.
57571 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
57573         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
57574         sys/sdt-config.h.
57576 2012-10-02  Roland McGrath  <roland@hack.frob.com>
57578         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
57579         Make 'mapoff' field ElfW(Off) rather than off_t.
57581 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
57583         * nscd/Makefile: Remove nscd-cflags and all its users.
57584         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
57585         (CFLAGS-nonlib): Add compiler flags for nscd modules.
57587         [BZ #10631]
57588         * malloc.c (malloc_printerr): Clarify error message.
57590 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
57592         [BZ #14648]
57593         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57594         Set bit_FMA_Usable if FMA is supported.
57595         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
57596         macro.
57597         (bit_FMA4_Usable): Updated.
57598         (index_FMA_Usable): New macro.
57599         (CPUID_FMA): Likewise.
57600         (HAS_FMA): Defined with bit_FMA_Usable.
57602 2012-10-01  Roland McGrath  <roland@hack.frob.com>
57604         * bits/types.h (__swblk_t): Type removed.
57605         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
57606         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
57607         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
57608         (__SWBLK_T_TYPE): Likewise.
57609         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
57610         (__SWBLK_T_TYPE): Likewise.
57611         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
57612         (__SWBLK_T_TYPE): Likewise.
57613         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
57614         (__SWBLK_T_TYPE): Likewise.
57616 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
57617             Honza Horak <hhorak@redhat.com>
57619         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
57620         (xdr_mapname): Use YPMAXMAP as maxsize.
57621         (xdr_peername): Use YPMAXPEER as maxsize.
57622         (xdr_keydat): Use YPAXRECORD as maxsize.
57623         (xdr_valdat): Use YPMAXRECORD as maxsize.
57625 2012-10-01  Roland McGrath  <roland@hack.frob.com>
57627         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
57629         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
57630         * csu/init-first.c: ... here.
57631         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
57632         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
57633         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
57634         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
57635         * sysdeps/i386/init-first.c: File removed.
57636         * sysdeps/sh/init-first.c: File removed.
57638 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
57640         [BZ #14645]
57641         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
57642         if x * y might underflow to zero and z is zero.
57643         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57644         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57645         * math/libm-test.inc (min_subnorm_value): New variable.
57646         (fma_test): Add more tests.
57647         (fma_test_towardzero): Likewise.
57648         (fma_test_downward): Likewise.
57649         (fma_test_upward): Likewise.
57650         (initialize): Set min_subnorm_value.
57652 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
57654         [BZ #14638]
57655         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
57656         0 + 0.
57657         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
57658         mode for addition resulting in exact zero.
57659         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
57660         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
57661         exact 0 + 0.
57662         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
57663         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57664         * math/libm-test.inc (fma_test): Add more tests.
57665         (fma_test_towardzero): New function.
57666         (fma_test_downward): Likewise.
57667         (fma_test_upward): Likewise.
57668         (main): Call the new functions.
57670 2012-09-28  David S. Miller  <davem@davemloft.net>
57672         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
57674 2012-09-28  Roland McGrath  <roland@hack.frob.com>
57676         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
57677         instead of SIGALRM.
57679         * sysdeps/gnu/_G_config.h: Moved to ...
57680         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
57681         * sysdeps/mach/hurd/_G_config.h: Moved to ...
57682         * sysdeps/generic/_G_config.h: ... here.
57684         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
57686         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
57688         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
57689         Conditionalize target on [libnss_test1.so-version].
57691         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
57693         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
57694         (elfobjdir): Move out of conditionals.
57696         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
57697         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
57698         (__nss_lookup_function): Conditionalize label remove_from_tree on
57699         [!DO_STATIC_NSS || SHARED], matching its only use.
57701 2012-09-28  David S. Miller  <davem@davemloft.net>
57703         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
57704         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
57705         file.
57706         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
57707         sysdep_routines.
57708         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
57709         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
57710         when HWCAP_SPARC_CRYPTO is present.
57712 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
57714         * io/tst-mknodat.c: Create a FIFO instead of a socket.
57716 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
57718         [BZ #6530]
57719         * stdio-common/vfprintf.c (process_string_arg): Revert
57720         2000-07-22 change.
57722 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
57724         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
57725         for testcase.
57726         * stdio-common/tst-sprintf.c: Include <locale.h>
57727         (main): Test sprintf's handling of incomplete multibyte
57728         characters.
57730 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
57732         * elf/dl-runtime.c (VERSYMIDX): Removed.
57733         * elf/dl-version.c (VERSYMIDX): Likewise.
57734         * elf/do-rel.h (VERSYMIDX): Likewise.
57735         (VALIDX): Likewise.
57736         * elf/dynamic-link.h (VERSYMIDX): Likewise.
57737         * elf/rtld.c (VALIDX): Likewise.
57738         (ADDRIDX): Likewise.
57739         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
57740         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
57741         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
57742         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
57743         (VALIDX): Likewise.
57744         (ADDRIDX): Likewise.
57746 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
57748         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
57750 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
57752         [BZ #11438]
57753         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
57754         to global scope.
57755         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
57756         addresses are in the same scope as 192.0.2/24.
57757         * posix/gai.conf: Document new scope table defaults.
57759 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57761         [BZ #5298]
57762         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
57763         for ftell.  Compute offsets from write pointers instead.
57764         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
57766 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57768         [BZ #14543]
57769         * libio/Makefile (tests): New test case tst-fseek.
57770         * libio/tst-fseek.c: New test case to verify that fseek/ftell
57771         combination works in wide mode.
57772         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
57773         state when the external buffer state changes.
57775 2012-09-27  David S. Miller  <davem@davemloft.net>
57777         [BZ #14376]
57778         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
57779         pass reloc->r_addend in as the 'high' argument to
57780         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
57782         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57784 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
57786         * rt/tst-aio2.c: Include <pthread.h>.
57787         * rt/tst-aio3.c: Likewise.
57789 2012-09-27  Steve Ellcey  <sellcey@mips.com>
57791         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
57793 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
57795         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
57796         contents on [SHARED].
57798 2012-09-26  Marek Polacek  <polacek@redhat.com>
57800         [BZ #14530]
57801         [BZ #13741]
57802         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
57803         for C++ and GCC <4.3 as well as for non GCC compilers.
57805 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
57807         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57809 2012-09-25  Roland McGrath  <roland@hack.frob.com>
57811         * Makefile.in (all, install): Declare with .PHONY.
57812         Reported by Michael Hope <michael.hope@linaro.org>.
57814 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
57816         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
57817         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
57818         system header.
57819         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
57820         Likewise.
57821         (sydep_routines): Add the new and the internal functions.
57822         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
57823         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
57824         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
57825         (GLIBC_2.17): Add the new function.
57826         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
57827         (GLIBC_2.17): Likewise.
57828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
57829         (GLIBC_2.17): Likewise.
57830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
57831         (GLIBC_2.17): Likewise.
57832         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
57834 2012-09-25  Alan Modra  <amodra@gmail.com>
57836         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
57837         Add release barrier before setting once_control to say
57838         initialisation is done.  Add hints on lwarx.  Use macro in
57839         place of isync.
57840         (clear_once_control): Add release barrier.
57842 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
57844         [BZ #13629]
57845         * math/s_clog.c (__clog): Handle more values close to |z| = 1
57846         specially.
57847         * math/s_clog10.c (__clog10): Likewise.
57848         * math/s_clog10f.c (__clog10f): Likewise.
57849         * math/s_clog10l.c (__clog10l): Likewise.
57850         * math/s_clogf.c (__clogf): Likewise.
57851         * math/s_clogl.c (__clogl): Likewise.
57852         * math/Makefile (libm-calls): Add x2y2m1.
57853         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
57854         (__x2y2m1): Likewise.
57855         (__x2y2m1l): Likewise.
57856         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
57857         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
57858         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
57859         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
57860         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
57861         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
57862         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
57863         * sysdeps/i386/fpu/libm-test-ulps: Update.
57864         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57866         [BZ #14621]
57867         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
57868         int as type of variable DEPTH.
57869         (glob): Use size_t instead of int as type of variables NEWCOUNT
57870         and OLD_PATHC.
57872 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57874         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
57875         Add s_sincosf-sse2.
57876         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
57877         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
57878         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
57879         macros for using routine as __sincosf_ia32.
57880         Use macro for function declaration and weak_alias.
57881         * sysdeps/i386/fpu/libm-test-ulps: Update.
57883         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
57884         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57886         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
57887         subnormal argument.
57888         * math/s_cexpf.c (__cexpf): Likewise.
57889         * math/s_csinf.c (__csinf): Likewise.
57890         * math/s_csinhf.c (__csinhf): Likewise.
57891         * math/s_ctanf.c (__ctanf): Likewise.
57892         * math/s_ctanhf.c (__ctanhf): Likewise.
57893         * math/s_ccosh.c (__ccoshf): Likewise.
57894         * math/s_cexp.c (__cexpl): Likewise.
57895         * math/s_csin.c (__csin): Likewise.
57896         * math/s_csinh.c (__csinh): Likewise.
57897         * math/s_ctan.c (__ctan): Likewise.
57898         * math/s_ctanh.c (ctanh): Likewise.
57899         * math/s_ccoshl.c (__ccoshl): Likewise.
57900         * math/s_cexpl.c (__cexpl): Likewise.
57901         * math/s_csinl.c (__csinl): Likewise.
57902         * math/s_csinhl.c (__csinhl): Likewise.
57903         * math/s_ctanl.c (__ctanl): Likewise.
57904         * math/s_ctanhl.c (__ctanhl): Likewise.
57906 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
57908         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
57909         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
57910         (_IO_off_t): Define to __off_t, not _G_off_t.
57911         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
57912         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
57913         (_IO_wint_t): Define to wint_t, not _G_wint_t.
57914         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
57915         type of __dummy and __dummy2 fields.
57916         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
57917         (_G_ssize_t): Likewise.
57918         (_G_off_t): Likewise.
57919         (_G_pid_t): Likewise.
57920         (_G_uid_t): Likewise.
57921         (_G_wchar_t): Likewise.
57922         (_G_wint_t): Likewise.
57923         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
57924         (_G_ssize_t): Likewise.
57925         (_G_off_t): Likewise.
57926         (_G_pid_t): Likewise.
57927         (_G_uid_t): Likewise.
57928         (_G_wchar_t): Likewise.
57929         (_G_wint_t): Likewise.
57930         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
57931         (_G_ssize_t): Likewise.
57932         (_G_off_t): Likewise.
57933         (_G_pid_t): Likewise.
57934         (_G_uid_t): Likewise.
57935         (_G_wchar_t): Likewise.
57936         (_G_wint_t): Likewise.
57938 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
57940         * malloc/arena.c: Include malloc-sysdep.h.
57941         (shrink_heap): Use check_may_shrink_heap to decide if madvise
57942         is sufficient to shrink the heap or an unmap is needed.
57943         * sysdeps/generic/malloc-sysdep.h: New file.  Define
57944         new function check_may_shrink_heap.
57945         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
57946         new function check_may_shrink_heap.
57948 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
57950         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
57951         comments.
57953 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
57955         * catgets/test-gencat.sh: Add "set -e".
57956         * elf/tst-pathopt.sh: Likewise.
57957         * grp/tst_fgetgrent.sh: Likewise.
57958         * iconvdata/run-iconv-test.sh: Likewise.
57959         * intl/tst-gettext.sh: Likewise.
57960         * intl/tst-gettext2.sh: Likewise.
57961         * intl/tst-gettext4.sh: Likewise.
57962         * intl/tst-gettext6.sh: Likewise.
57963         * intl/tst-translit.sh: Likewise.
57964         * io/ftwtest-sh: Likewise.
57965         * libio/test-freopen.sh: Likewise.
57966         * malloc/tst-mtrace.sh: Likewise.
57967         * posix/globtest.sh: Likewise.
57968         * posix/tst-getconf.sh: Likewise.
57969         * posix/wordexp-tst.sh: Likewise.
57970         * stdio-common/tst-printf.sh: Likewise.
57971         * stdio-common/tst-unbputc.sh: Likewise.
57972         * stdlib/tst-fmtmsg.sh: Likewise.
57973         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
57974         * catgets/Makefile: Do not specify -e option when running
57975         testsuite shell scripts.
57976         * elf/Makefile: Likewise.
57977         * grp/Makefile: Likewise.
57978         * iconvdata/Makefile: Likewise.
57979         * intl/Makefile: Likewise.
57980         * io/Makefile: Likewise.
57981         * libio/Makefile: Likewise.
57982         * malloc/Makefile: Likewise.
57983         * posix/Makefile: Likewise.
57984         * stdio-common/Makefile: Likewise.
57985         * stdlib/Makefile: Likewise.
57986         * sysdeps/x86_64/Makefile: Likewise.
57988         * io/ftwtest-sh: Add copyright header.
57989         * posix/globtest.sh: Likewise.
57990         * posix/tst-getconf.sh: Likewise.
57991         * posix/wordexp-tst.sh: Likewise.
57992         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
57994 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
57996         [BZ #13679]
57997         * Makeconfig (+link): Defined as $(+link-static) if
57998         $(build-shared) isn't yes.
57999         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
58000         isn't yes.
58001         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
58003         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
58005         [BZ #14562]
58006         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
58007         new chunk size with MALLOC_ALIGN_MASK.
58009 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
58011         [BZ #5044]
58012         * stdio-common/printf_fphex.c: Include <stdbool.h> and
58013         <rounding-mode.h>.
58014         (__printf_fphex): Determine rounding using get_rounding_mode and
58015         round_away.
58016         * stdio-common/tst-printf-round.c (struct hex_test): New
58017         structure.
58018         (hex_tests): New variable.
58019         (test_hex_in_one_mode): New function.
58020         (do_test): Also run tests for hex float output.
58022 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
58024         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
58025         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
58026         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
58027         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
58028         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
58029         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
58030         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
58031         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
58033 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
58035         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
58036         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
58037         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
58038         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
58040 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
58042         [BZ #14579]
58043         * elf/rtld.c (dl_main): Limit the check for self loading to normal
58044         mode only.
58045         * elf/tst-rtld-load-self.sh: New test.
58046         * elf/Makefile: Run it.
58048 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
58050         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
58051         (tst-writev-ENV): Remove.
58052         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
58054 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
58056         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
58058 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
58060         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
58061         unconditional.
58062         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
58063         Likewise.
58064         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
58065         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
58066         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
58067         Likewise.
58069 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
58071         [BZ #14587]
58072         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
58073         * config.make.in (have-cpp-asm-debuginfo): Removed.
58074         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
58075         * configure: Regenerated.
58077 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
58079         [BZ #5044]
58080         * stdio-common/printf_fp.c: Include <stdbool.h> and
58081         <rounding-mode.h>.
58082         (___printf_fp): Determine rounding using get_rounding_mode and
58083         round_away.
58084         * stdio-common/tst-printf-round.c: New file.
58085         * stdio-common/Makefile (tests): Add tst-printf-round.
58086         (link-libm): New variable.
58087         ($(objpfx)tst-printf-round): Depend in $(link-libm).
58089 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
58091         [BZ #14576]
58092         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
58093         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
58094         Likewise.
58095         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
58096         Likewise.
58098 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
58100         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
58101         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
58102         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
58103         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
58105 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
58107         [BZ #14518]
58108         * include/rounding-mode.h: New file.
58109         * sysdeps/generic/get-rounding-mode.h: Likewise.
58110         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
58111         * stdlib/strtod_l.c: Include <rounding-mode.h>.
58112         (MAX_VALUE): New macro.
58113         (MIN_VALUE): Likewise.
58114         (overflow_value): New function.
58115         (underflow_value): Likewise.
58116         (round_and_return): Use overflow_value and underflow_value to
58117         determine return values in overflow and underflow cases.  Use
58118         round_away to determine rounding depending on rounding mode.
58119         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
58120         determine return values in overflow and underflow cases.
58121         * stdlib/tst-strtod-round.c: Include <fenv.h>.
58122         (struct test_results): New structure.
58123         (struct test): Use struct test_results to store expected results
58124         for all rounding modes.
58125         (TEST): Include expected results for all rounding modes.
58126         (test_in_one_mode): New function.
58127         (do_test): Use test_in_one_mode to compute and check results.
58128         Check results for all rounding modes.
58129         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
58130         $(link-libm).
58132 2012-12-09  Allan McRae  <allan@archlinux.org>
58134         * sysdeps/i386/fpu/libm-test-ulps: Update
58136 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
58138         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
58139         (_G_int32_t): Likewise.
58140         (_G_uint16_t): Likewise.
58141         (_G_uint32_t): Likewise.
58142         (_G_HAVE_BOOL): Likewise.
58143         (_G_HAVE_ATEXIT): Likewise.
58144         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
58145         (_G_HAVE_IO_FILE_OPEN): Likewise.
58146         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
58147         (_G_int32_t): Likewise.
58148         (_G_uint16_t): Likewise.
58149         (_G_uint32_t): Likewise.
58150         (_G_HAVE_BOOL): Likewise.
58151         (_G_HAVE_ATEXIT): Likewise.
58152         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
58153         (_G_HAVE_IO_FILE_OPEN): Likewise.
58154         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
58155         (_G_int32_t): Likewise.
58156         (_G_uint16_t): Likewise.
58157         (_G_uint32_t): Likewise.
58158         (_G_HAVE_BOOL): Likewise.
58159         (_G_HAVE_ATEXIT): Likewise.
58160         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
58161         (_G_HAVE_IO_FILE_OPEN): Likewise.
58163 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
58165         * csu/libc-tls.c: Update copyright years.
58167 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
58169         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
58170         [!_G_USING_THUNKS]: Remove conditional code.
58171         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
58172         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
58174         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
58175         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
58176         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
58177         (_G_VTABLE_LABEL_PREFIX): Likewise.
58178         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
58179         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
58180         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
58181         (_G_VTABLE_LABEL_PREFIX): Likewise.
58182         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
58183         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
58184         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
58185         (_G_VTABLE_LABEL_PREFIX): Likewise.
58186         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
58188 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
58190         * libio/Makefile: Include ../Makeconfig before tests.
58191         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
58192         only if $(build-shared) is yes.
58194         * iconv/gconv_db.c: Update copyright years.
58196 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58198         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
58199         unwind info if defined PIC. Fix special cases description.
58200         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
58202         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
58203         DP_HI_MASK entry.
58204         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
58206 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
58208         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
58210         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
58211         is NULL.
58213         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
58214         (LDLIBS-tst-chk4): This.
58215         (LDFLAGS-tst-chk5): Renamed to ...
58216         (LDLIBS-tst-chk5): This.
58217         (LDFLAGS-tst-chk6): Renamed to ...
58218         (LDLIBS-tst-chk6): This.
58219         (LDFLAGS-tst-lfschk4): Renamed to ...
58220         (LDLIBS-tst-lfschk4): This.
58221         (LDFLAGS-tst-lfschk5): Renamed to ...
58222         (LDLIBS-tst-lfschk5): This.
58223         (LDFLAGS-tst-lfschk6): Renamed to ...
58224         (LDLIBS-tst-lfschk6): This.
58226         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
58227         on $(common-objpfx)soversions.mk.
58229 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
58231         [BZ #10014]
58232         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
58233         example host name.
58235 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
58237         * malloc/arena.c (arena_get_retry): New function that gets
58238         another arena for the caller to try its request on.
58239         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
58240         current arena cannot fulfill the request.
58241         (__libc_memalign): Likewise.
58242         (__libc_memalign): Likewise.
58243         (__libc_pvalloc): Likewise.
58244         (__libc_calloc): Likewise.
58246 2012-09-05  John Tobey  <john.tobey@gmail.com>
58248         [BZ #13542]
58249         * manual/arith.texi (Operations on Complex): Fix description
58250         of carg branch cut.
58252 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
58254         [BZ #10014]
58255         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
58256         host name.
58258         [BZ #10038]
58259         * manual/memory.texi (Memory): Make order of menu items match
58260         order of sections.
58262 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
58264         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
58265         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
58266         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
58268 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
58270         * csu/libc-tls.c (static_dtv): Renamed to ...
58271         (_dl_static_dtv): This.  Make it global.
58272         (_dl_initial_dtv): Removed.
58273         (__libc_setup_tls): Updated.
58274         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
58275         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
58276         DL_INITIAL_DTV.
58278 2012-09-06  Petr Machata  <pmachata@redhat.com>
58280         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
58281         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
58282         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
58283         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
58285 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
58287         [BZ #14545]
58288         * csu/libc-tls.c (_dl_initial_dtv): New variable.
58289         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
58290         freeing dtv[-1].
58292 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
58294         [BZ #14544]
58295         * Makeconfig (link-static-before-libc): Replace $(+prector)
58296         with $(+prectorT).
58297         (link-static-after-libc): Replace $(+postctor) with
58298         $(+postctorT).
58299         (link-bounded): Replace $(+prector)/$(+postctor) with
58300         $(+prectorT)/$(+postctorT).
58301         (+prectorT): New macro.
58302         (+postctorT): Likewise.
58304 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
58306         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
58307         (round_str): Handle values above the maximum for IBM long double
58308         as inexact.
58309         * stdlib/tst-strtod-round.c (tests): Regenerated.
58311 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58313         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
58314         assembler flag.
58315         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
58316         zarch_nohighgprs around the zarch optimized routines.
58317         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
58318         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
58319         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
58320         for zarch.
58322 2012-09-05  David S. Miller  <davem@davemloft.net>
58324         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58326         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
58327         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
58328         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
58329         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
58330         entries.
58332 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
58334         * malloc/arena.c: Fold copyright years.
58335         * malloc/mcheck.c, malloc/memusage.c: Likewise.
58337 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
58339         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
58341 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
58343         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
58345 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
58347         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
58348         change internal state upon failure.
58350 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
58352         * malloc/mcheck.c (mcheck_check_all): Fix typo.
58353         * malloc/memusage.c (mmap): Likewise.
58354         (mmap64, mremap): Likewise.  Adjust name in comment.
58356 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
58358         * libio/fileops.c: Fix typos in comments.
58359         * libio/oldfileops.c: Likewise.
58360         * libio/wfileops.c: Likewise.
58362 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
58364         [BZ #1349]
58365         * malloc/Makefile (tests): Add tst-malloc-usable test case.
58366         (tst-malloc-usable-ENV): Set environment for test case.
58367         * malloc/hooks.c (malloc_check_get_size): New function to get
58368         requested size.
58369         * malloc/malloc.c (musable): Use malloc_check_get_size.
58370         * malloc/tst-malloc-usable.c: New test case.
58372 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
58374         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
58376 2012-09-05  Allan McRae  <allan@archlinux.org>
58378         [BZ #13966]
58379         * configure.in (CXX_SYSINCLUDES): Use compiler output to
58380         determine header location.
58381         * configure: Regenerated.
58383 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
58385         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
58386         float format.
58387         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
58388         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
58389         format.
58390         (test): Regenerate.
58392 2012-09-04  David S. Miller  <davem@davemloft.net>
58394         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
58395         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
58396         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
58398 2012-09-04  Florian Weimer  <fweimer@redhat.com>
58400         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
58401         failures.
58403         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
58405 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
58407         [BZ #9914]
58408         * libio/iogetdelim.c: Include <limits.h>.
58409         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
58410         + len + 1 would overflow.
58412 2012-09-03  Andreas Jaeger  <aj@suse.de>
58414         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58415         * sysdeps/i386/fpu/libm-test-ulps: Update.
58417 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58419         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
58420         Add s_sinf-sse2, s_conf-sse2.
58422         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
58423         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
58424         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
58425         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
58427         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
58428         for using routine as __sinf_ia32.
58429         Use macro for function declaration and weak_alias.
58430         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
58431         for using routine as __cosf_ia32.
58432         Use macro for function declaration and weak_alias.
58434         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
58435         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
58437         * sysdeps/x86_64/fpu/s_sinf.S: New file.
58438         * sysdeps/x86_64/fpu/s_cosf.S: New file.
58439         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58441         * math/libm-test.inc (cos_test): Add more test cases.
58442         (sin_test): Likewise.
58443         (sincos_test): Likewise.
58445 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58447         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
58448         (IFUNC_RESOLVE): Make pointers to the specialized implementations
58449         hidden.
58450         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
58452 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
58454         [BZ #14538]
58455         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
58456         first element of the GOT.
58457         (elf_machine_load_address): Return the difference between
58458         the runtime address of _DYNAMIC and elf_machine_dynamic ().
58460 2012-09-01  Allan McRae  <allan@archlinux.org>
58462         [BZ #13412]
58463         * configure.in (AWK): Require gawk version 3.0 or later.
58464         * configure: Regenerated.
58466 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
58468         * sysdeps/unix/sysv/linux/kernel-features.h
58469         (__ASSUME_POSIX_CPU_TIMERS): Remove.
58470         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
58471         [__NR_clock_getres]: Make code unconditional.
58472         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
58473         (clock_getcpuclockid): Remove code left unreachable by removal of
58474         conditionals.
58475         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
58476         code unconditional.
58477         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
58478         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
58479         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
58480         Make code unconditional.
58481         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
58482         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
58483         * sysdeps/unix/sysv/linux/clock_settime.c
58484         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
58485         conditional code.
58486         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
58487         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
58489 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
58491         [BZ #14476]
58492         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
58493         scripts/test-installation.pl.
58495         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
58496         and $ld_so_version if it is set.
58498 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
58500         [BZ #14516]
58501         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
58502         failure if reading from procfs failed.
58503         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
58505 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
58507         * sysdeps/unix/sysv/linux/kernel-features.h
58508         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
58509         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
58510         Remove conditional code.
58511         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58512         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
58513         Remove conditional code.
58514         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58515         * sysdeps/unix/sysv/linux/i386/fxstat.c
58516         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
58517         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58518         * sysdeps/unix/sysv/linux/i386/fxstatat.c
58519         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
58520         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58521         * sysdeps/unix/sysv/linux/i386/lxstat.c
58522         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
58523         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58524         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
58525         Remove conditional code.
58526         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58527         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
58528         Remove conditional code.
58529         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58530         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
58531         <kernel-features.h>.
58532         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
58533         Remove.
58534         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
58535         Remove conditional code.
58536         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58537         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
58538         Remove conditional.
58540 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
58542         [BZ #5400]
58543         * NEWS: Add fixed bug number.
58545 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
58547         [BZ #14519]
58548         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
58549         underflowing exponent in case of negative sign.
58550         * stdlib/tst-strtod-round-data: Add more tests.
58551         * stdlib/tst-strtod-round.c (tests): Regenerated.
58553         [BZ #3479]
58554         * stdlib/strtod_l.c (NDIG): Remove.
58555         (HEXNDIG): Likewise.
58556         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
58557         smallest representable value.
58558         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
58559         lie within an exact representation of 1/2 ulp of the result.
58560         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
58561         unconditionally.
58562         (TENS_P9_IDX): Define unconditionally.
58563         (TENS_P9_SIZE): Likewise.
58564         (TENS_P10_IDX): Likewise.
58565         (TENS_P10_SIZE): Likewise.
58566         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
58567         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
58568         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
58569         entries for 10^2^13 and 10^2^14.
58570         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
58571         (TENS_P13_IDX): Define.
58572         (TENS_P13_SIZE): Likewise.
58573         (TENS_P14_IDX): Likewise.
58574         (TENS_P14_SIZE): Likewise.
58575         (_fpioconst_pow10): Change array size to
58576         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
58577         unconditional.
58578         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
58579         1024]: Add entries for 10^2^13 and 10^2^14.
58580         [LAST_POW10 > _LAST_POW10]: Remove #error.
58581         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
58582         (_fpioconst_pow10): Change array size to
58583         FPIOCONST_POW10_ARRAY_SIZE.
58584         * stdlib/gen-fpioconst.c: New file.
58585         * stdlib/gen-tst-strtod-round.c: Likewise.
58586         * stdlib/tst-strtod-round-data: Likewise.
58587         * stdlib/tst-strtod-round.c: Likewise.
58588         * stdlib/Makefile (tests): Add tst-strtod-round.
58590         [BZ #14459]
58591         * stdlib/strtod_l.c: Include <stdint.h>.
58592         (NDEBUG): Do not define.
58593         (round_and_return): Change EXPONENT parameter to type intmax_t.
58594         Rearrange calculations to avoid internal overflow possibilities.
58595         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
58596         Rearrange calculations to avoid internal overflow possibilities.
58597         Assert that number fits inside MPNSIZE limbs.
58598         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
58599         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
58600         calculations and add assertions to avoid internal overflow
58601         possibilities.  Add casts to avoid signed/unsigned operations.
58602         * stdlib/tst-strtod-overflow.c: New file.
58603         * stdlib/Makefile (tests): Add tst-strtod-overflow.
58605 2012-08-25  Marek Polacek  <polacek@redhat.com>
58607         * time/time.h: Fix some typos in comments.
58609 2012-08-23  Roland McGrath  <roland@hack.frob.com>
58611         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
58612         * posix/tst-rfc3484-2.c: Likewise.
58613         * posix/tst-rfc3484-3.c: Likewise.
58615 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
58617         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
58618         (EF_ARM_ABI_FLOAT_HARD): Likewise.
58620 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
58622         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
58623         #include of fxstatat64.c.
58625 2012-08-22  Roland McGrath  <roland@hack.frob.com>
58627         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
58628         * shadow/getspent_r.c: Likewise.
58629         * shadow/getspnam.c: Likewise.
58630         * shadow/getspnam_r.c: Likewise.
58631         * gshadow/getsgent.c: Likewise.
58632         * gshadow/getsgent_r.c: Likewise.
58633         * gshadow/getsgnam.c: Likewise.
58634         * gshadow/getsgnam_r.c: Likewise.
58635         * inet/getnetbyad.c: Likewise.
58636         * inet/getnetbyad_r.c: Likewise.
58637         * inet/getnetbynm.c: Likewise.
58638         * inet/getnetbynm_r.c: Likewise.
58639         * inet/getnetent.c: Likewise.
58640         * inet/getnetent_r.c: Likewise.
58641         * inet/getproto.c: Likewise.
58642         * inet/getproto_r.c: Likewise.
58643         * inet/getprtent.c: Likewise.
58644         * inet/getprtent_r.c: Likewise.
58645         * inet/getprtname.c: Likewise.
58646         * inet/getprtname_r.c: Likewise.
58647         * inet/getrpcbyname.c: Likewise.
58648         * inet/getrpcbyname_r.c: Likewise.
58649         * inet/getrpcbynumber.c: Likewise.
58650         * inet/getrpcbynumber_r.c: Likewise.
58651         * inet/getrpcent.c: Likewise.
58652         * inet/getrpcent_r.c: Likewise.
58653         * inet/getaliasent.c: Likewise.
58654         * inet/getaliasent_r.c: Likewise.
58655         * inet/getaliasname.c: Likewise.
58656         * inet/getaliasname_r.c: Likewise.
58657         * nscd/getgrgid_r.c: Likewise.
58658         * nscd/getgrnam_r.c: Likewise.
58659         * nscd/gethstbyad_r.c: Likewise.
58660         * nscd/gethstbynm3_r.c: Likewise.
58661         * nscd/getpwnam_r.c: Likewise.
58662         * nscd/getpwuid_r.c: Likewise.
58663         * nscd/getsrvbynm_r.c: Likewise.
58664         * nscd/getsrvbypt_r.c: Likewise.
58665         * nscd/gai.c: Likewise.
58667         * configure.in (build_nscd): New substituted variable, set
58668         by --disable-build-nscd and defaults to $use_nscd.
58669         * configure: Regenerated.
58670         * config.make.in (build-nscd): New substituted variable.
58671         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
58672         Change conditional to require [$(build-nscd) = yes] as well.
58673         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
58675         [BZ# 13696]
58676         * configure.in (use_nscd): New substituted variable, set by
58677         --disable-nscd.  If enabled, define USE_NSCD.
58678         * configure: Regenerated.
58679         * config.h.in: Add USE_NSCD.
58680         * config.make.in (use-nscd): New substituted variable.
58681         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
58682         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
58683         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
58684         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
58685         (CFLAGS-getgrnam_r.c): Likewise.
58686         (CFLAGS-initgroups.c): Likewise.
58687         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
58688         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
58689         Variables removed.
58690         * inet/getnetgrent_r.c
58691         (nscd_setnetgrent): New function, broken out of ...
58692         (setnetgrent): ... here.  Call it.
58693         (innetgr): Conditionalize nscd bits on [USE_NSCD].
58694         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
58695         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
58696         * nscd/Makefile (routines, aux): Move definitions after include of
58697         Makeconfig.  Conditionalize on [$(use-nscd) != no].
58698         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
58699         Conditionalize on [USE_NSCD].
58700         (is_nscd, nscd_init_cb): Likewise.
58701         (nss_load_library): Conditionalize init callback on [USE_NSCD].
58702         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
58703         * nss/nss_db/db-init.c: Likewise.
58704         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
58705         [USE_NSCD].
58706         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
58707         (make_request): Use it.
58708         (cache_valid_p): New function.
58709         (__check_pf): Use it.
58710         * NEWS: Add item for --disable-nscd.
58712 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
58714         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
58715         to support sed >= 4.2.1-20-ga9bf076.
58716         * configure: Regenerated.
58718 2012-08-22  Roland McGrath  <roland@hack.frob.com>
58720         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
58721         Conditionalize whole body on [IREL].
58723 2012-08-22  Jeff Law <law@redhat.com>
58725         [BZ #14505]
58726         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
58727         if the family is PF_UNSPEC.
58729 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
58731         * Makerules (lib-version): Rename from V.
58732         (install-lib-nosubdir): Change V to lib-version.
58734 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
58736         [BZ #14252]
58737         * powerpc32/power6/wcschr.c: New file.
58738         * powerpc32/power6/wcscpy.c: New file.
58739         * powerpc32/power6/wcsrchr.c: New file.
58740         * powerpc64/power6/wcschr.c: New file.
58741         * powerpc64/power6/wcscpy.c: New file.
58742         * powerpc64/power6/wcsrchr.c: New file.
58744 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
58746         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
58747         (two_way_short_needle): Use it.
58748         * string/strstr.c (AVAILABLE1_USES_J): Define.
58749         * string/strcasestr.c: Likewise.
58751         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
58752         array references.
58753         * string/strcasestr.c (TOLOWER): Make side-effect safe.
58755         [BZ #11607]
58756         * NEWS: Add an entry.
58757         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
58758         define their defaults.
58759         (two_way_short_needle): Detect end-of-string on-the-fly.
58760         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
58761         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
58762         * string/bug-strcasestr1.c: New test.
58763         * string/Makefile: Run it.
58765 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
58767         [BZ #11607]
58768         * string/str-two-way.h (two_way_short_needle): Optimize matching of
58769         the first character.
58771 2012-08-21  Roland McGrath  <roland@hack.frob.com>
58773         * csu/elf-init.c (__libc_csu_irel): Function removed.
58774         * csu/libc-start.c (apply_irel): New function.
58775         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
58777 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
58779         * sysdeps/unix/sysv/linux/kernel-features.h
58780         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
58781         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
58782         <kernel-features.h>.
58783         [__NR_fadvise64_64]: Make code unconditional.
58784         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
58785         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
58786         !__NR_fadvise64_64)]: Likewise.
58787         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
58788         !__NR_fadvise64_64))]: Likewise.
58789         [__NR_fadvise64]: Make code unconditional.
58790         [!__NR_fadvise64]: Remove conditional code.
58791         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
58792         <kernel-features.h>.
58793         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
58794         unconditional.
58795         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
58796         conditional code.
58797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
58798         not include <kernel-features.h>.
58799         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
58800         unconditional.
58801         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
58802         conditional code.
58803         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
58804         include <kernel-features.h>.
58805         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
58806         unconditional.
58807         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
58808         conditional code.
58810 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
58812         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
58813         slight instruction rearrangements per scrollpipe analysis.
58814         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
58816 2012-08-20  Roland McGrath  <roland@hack.frob.com>
58818         * manual/syslog.texi (syslog; vsyslog, closelog):
58819         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
58820         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
58822         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
58823         DSOCAPS to match condition on defining it.
58825 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
58827         * sysdeps/unix/sysv/linux/kernel-features.h
58828         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
58829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
58830         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
58831         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
58832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
58833         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
58834         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
58835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
58836         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
58837         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
58839         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
58840         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
58842         * sysdeps/unix/sysv/linux/kernel-features.h
58843         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
58844         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
58845         unconditional.
58846         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
58847         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
58848         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
58849         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
58850         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
58851         Make code unconditional.
58852         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
58853         (__mmap64) [!__NR_mmap2]: Likewise.
58854         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
58855         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
58856         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
58857         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
58858         [__NR_mmap2]: Make code unconditional.
58859         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
58860         (__mmap64) [!__NR_mmap2]: Likewise.
58862 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58864         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
58866 2012-08-18  Andreas Jaeger  <aj@suse.de>
58868         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
58870 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
58872         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
58873         * include/unistd.h (__have_sock_cloexec): Likewise.
58874         (__have_pipe2): Likewise.
58875         (__have_dup3): Likewise.
58877 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
58879         [BZ #9685]
58880         * include/unistd.h (__have_pipe2): Change define into an extern int.
58881         (__have_dup3): Likewise.
58882         * socket/have_sock_cloexec.c: Include fcntl.h.
58883         (__have_pipe2): New variable.
58884         (__have_dup3): Likewise.
58886 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
58888         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
58890 2012-08-17  Marek Polacek  <polacek@redhat.com>
58892         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
58893         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
58895 2012-08-17  Roland McGrath  <roland@hack.frob.com>
58897         * configure.in: Add AC_SUBST for sysheaders.
58898         * configure: Regenerated.
58899         * config.make.in (sysheaders): New substituted variable.
58901         * sysdeps/unix/mkfifo.c: Moved ...
58902         * sysdeps/posix/mkfifo.c: ... here.
58903         * sysdeps/unix/mkfifoat.c: Moved ...
58904         * sysdeps/posix/mkfifoat.c: ... here.
58906         * sysdeps/unix/utime.c: Moved ...
58907         * sysdeps/posix/utime.c: ... here.
58909         * sysdeps/unix/time.c: Moved ...
58910         * sysdeps/posix/time.c: ... here.
58911         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
58912         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
58914         * sysdeps/unix/nice.c: Moved ...
58915         * sysdeps/posix/nice.c: ... here.
58917         * sysdeps/unix/alarm.c: Moved ...
58918         * sysdeps/posix/alarm.c: ... here.
58920         * intl/Makefile ($(codeset_mo)): Depend on the input file.
58922 2012-08-17  Jeff Law <law@redhat.com>
58924         * intl/Makefile (codeset_mo): New variable.
58925         ($(codeset_mo)): New target.
58926         (tst-codeset.out): Depend on that.  Remove explicit rule.
58927         (tst-gettext3.out, tst-gettext5.out): Likewise.
58928         (LOCPATH-ENV, tst-codeset-ENV): New variables.
58929         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
58930         * intl/tst-codeset.sh: Remove.
58931         * intl/tst-gettext3.sh: Likewise.
58932         * intl/tst-gettext5.sh: Likewise.
58934 2012-08-17  Roland McGrath  <roland@hack.frob.com>
58936         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
58937         * sysdeps/unix/syscalls.list: ... here.
58939         * sysdeps/posix/getaddrinfo.c
58940         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
58941         (gaiconf_init, gaiconf_reload): Use them.
58942         [!_STATBUF_ST_NSEC]
58943         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
58944         Define using time_t rather than struct timespec.
58946         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
58947         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
58948         Macros removed.
58949         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
58950         [!NO_THREADS].
58951         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
58952         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
58953         Likewise.
58955         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
58956         __libc_cleanup_push argument.
58958         * bits/param.h: New file.
58959         * misc/sys/param.h: New file.
58960         * include/sys/param.h: New file.
58961         * misc/Makefile (headers): Add bits/param.h.
58962         * sysdeps/generic/sys/param.h: File removed.
58963         * sysdeps/unix/sysv/linux/bits/param.h: New file.
58964         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
58965         * sysdeps/mach/hurd/bits/param.h: New file.
58966         * sysdeps/mach/hurd/sys/param.h: File removed.
58968         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
58969         last change.
58971         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
58972         [_IO_MTSAFE_IO].
58973         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
58974         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
58975         New macros.
58977         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
58978         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
58979         rather than -D_IO_MTSAFE_IO conditionally.
58980         * stdio-common/Makefile (CPPFLAGS): Likewise.
58981         * wcsmbs/Makefile (CPPFLAGS): Likewise.
58982         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
58983         Use $(libio-mtsafe).
58984         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
58985         of -D_IO_MTSAFE_IO.
58986         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
58987         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
58988         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
58989         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
58990         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
58991         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
58992         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
58993         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
58994         (CFLAGS-fread_u_chk.c): Likewise.
58995         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
58996         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
58997         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
58998         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
58999         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
59000         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
59001         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
59002         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
59003         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
59005         * libio/Makefile: Test [$(libc-reentrant) = yes]
59006         instead of [$(filter %REENTRANT, $(defines)) nonempty].
59008         * Makeconfig
59009         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
59010         * sysdeps/pthread/configure: File removed.
59011         * sysdeps/pthread/Makeconfig: New file.
59012         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
59013         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
59015 2012-08-16  Gary Benson  <gbenson@redhat.com>
59017         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
59018         unmapping the first object in a namespace.
59020 2012-08-16  Roland McGrath  <roland@hack.frob.com>
59022         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
59023         (__internal_setnetgrent): ... this.  Add internal_function to
59024         definition.  Add libc_hidden_def.
59025         (setnetgrent): Update caller.
59026         (internal_endnetgrent): Renamed to ...
59027         (__internal_endnetgrent): ... this.  Add internal_function to
59028         definition.  Add libc_hidden_def.
59029         (endnetgrent): Update caller.
59030         (internal_getnetgrent_r): Renamed to ...
59031         (__internal_getnetgrent_r): ... this.  Add internal_function to
59032         definition.  Add libc_hidden_def.
59033         (__getnetgrent_r): Update caller.
59034         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
59036 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
59038         * stdlib/longlong.h: Update from GCC.
59040 2012-08-16  Roland McGrath  <roland@hack.frob.com>
59042         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
59043         on _QL, which is set by umul_ppmm but never used.
59044         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
59045         variables, which are set by GMP macros but never used.
59046         * stdio-common/_itowa.c (_itowa): Likewise.
59047         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
59048         * stdlib/mod_1.c (mpn_mod_1): Likewise.
59050 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
59052         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
59053         struct La_sh_regs is not constant.
59054         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
59055         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
59056         and struct La_sparc64_regs are not constant.
59058 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
59060         * sysdeps/unix/sysv/linux/kernel-features.h
59061         (__ASSUME_POSIX_TIMERS): Remove.
59062         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
59063         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
59064         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
59065         Make code unconditional.
59066         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
59067         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
59068         Make code unconditional.
59069         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
59070         * sysdeps/unix/sysv/linux/clock_nanosleep.c
59071         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
59072         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
59073         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
59074         Make code unconditional.
59075         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
59076         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
59077         (__libc_missing_posix_timers): Remove.
59079 2012-08-15  Roland McGrath  <roland@hack.frob.com>
59081         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
59082         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
59084         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
59086         * elf/dl-sym.c: Include <stdlib.h>.
59088         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
59089         constants, which avoids warnings in 32-bit builds.
59091         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
59092         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
59094         * misc/lseek.c: File moved to ...
59095         * io/lseek.c: ... here.
59097         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
59099         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
59100         shifting LEN more than 31 bits at once.
59102 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59104         [BZ #14195]
59105         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
59106         segmentation fault for a case of two empty input strings.
59107         * string/test-strncasecmp.c (check1): Renamed to...
59108         (bz12205): ...this.
59109         (bz14195): Add new testcase for two empty input strings and N > 0.
59110         (test_main): Call new testcase, adapt for renamed function.
59112 2012-08-15  Andreas Jaeger  <aj@suse.de>
59114         [BZ #14090]
59115         * crypt/md5test2.c: New test, based on test supplied by Serge
59116         Belyshev <belyshev@depni.sinp.msu.ru>.
59117         * crypt/Makefile (xtests): Add md5test-giant..
59118         * crypt/Makefile ($(objpfx)md5test-giant): Add.
59120 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
59122         [BZ #14090]
59123         * crypt/md5.c (md5_process_block): Don't assume the buffer
59124         length is less than 2**32.
59125         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
59126         length is less than 2**64.
59128 2012-08-15  Roland McGrath  <roland@hack.frob.com>
59130         * string/str-two-way.h: Include <sys/param.h>.
59131         (MAX): Macro removed.
59133         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
59134         Move #define and #undef of memmove to just before and after
59135         including <string.h>.
59137         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
59138         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
59139         and after including <string.h>.  Move declarations of
59140         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
59141         to before #include "string/memmove.c".
59143         * include/dirent.h: Declare __getdirentries.
59145         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
59146         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
59148 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
59150         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
59151         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
59152         * sysdeps/i386/configure: Regenerated.
59153         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
59154         STABS_CURRENT_FILE, and STABS_FUN.
59155         (END): Remove call to STABS_FUN_END.
59156         (STABS_CURRENT_FILE1): Delete.
59157         (STABS_CURRENT_FILE): Likewise.
59158         (STABS_FUN): Likewise.
59159         (STABS_FUN_END): Likewise.
59160         (STABS_FUN2): Likewise.
59161         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
59162         * sysdeps/x86_64/configure: Regenerated.
59164 2012-08-14  Roland McGrath  <roland@hack.frob.com>
59166         * elf/dl-open.c: Include <atomic.h>.
59167         * elf/dl-lookup.c: Likewise.
59169 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
59171         * sysdeps/unix/sysv/linux/kernel-features.h
59172         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
59173         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
59174         unconditionally.
59175         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
59176         unconditionally.
59177         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
59178         condition on __ASSUME_CLONE_THREAD_FLAGS.
59180 2012-08-14  Andreas Jaeger  <aj@suse.de>
59182         * sysdeps/i386/fpu/libm-test-ulps: Update.
59184 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
59186         * include/atomic.h (atomic_exchange_and_add): Split into ...
59187         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
59188         New atomic macros.
59190 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
59192         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59194 2012-08-13  Jeff Law <law@redhat.com>
59196         * manual/stdio.texi (snprintf): Clarify handling of the trailing
59197         null byte in the output string.
59199 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
59201         * sysdeps/unix/sysv/linux/kernel-features.h
59202         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
59203         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
59204         (__ASSUME_ARG_MAX_STACK_BASED): Define.
59205         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
59206         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
59207         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
59208         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
59210 2012-08-09  Jeff Law <law@redhat.com>
59212         [BZ #13939]
59213         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
59214         When avoid_arena is set, don't retry in the that arena.  Pick the
59215         next one, whatever it might be.
59216         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
59217         (arena_lock): Pass in new parameter to arena_get2.
59218         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
59219         arena_get2.
59220         (__libc_malloc): Unify retrying after main arena failure with
59221         __libc_memalign version.
59222         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
59224 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
59226         [BZ #14166]
59227         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
59228         to __redirect_strstr.
59229         (__strstr_sse42): Use typeof __redirect_strstr.
59230         (__strstr_ia32): Likewise.
59231         (__libc_strstr): New prototype.
59232         (strstr): Renamed to ...
59233         (__libc_strstr): This.
59234         (strstr): New strong alias of __libc_strstr.
59235         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
59236         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
59237         __redirect_time.
59238         Include <time.h>.
59239         (__libc_time): New prototype.
59240         (time_ifunc): Replace time with __libc_time.
59241         (time): New strong alias and hidden definition of __libc_time.
59242         (__GI_time): Remove strong alias.
59243         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
59244         Include <stddef.h>.
59245         (memmove): Redefined to __redirect_memmove.
59246         (__memmove_sse2): Use typeof __redirect_memmove.
59247         (__memmove_ssse3): Likewise.
59248         (__memmove_ssse3_back): Likewise.
59249         (__libc_memmove): New prototype.
59250         (memmove): Renamed to ...
59251         (__libc_memmove): This.
59252         (memmove): New strong alias of __libc_memmove.
59254 2012-08-08  Mark Salter  <msalter@redhat.com>
59256         * elf/elf.h
59257         (R_MN10300_TLS_GD): Define.
59258         (R_MN10300_TLS_LD): Likewise.
59259         (R_MN10300_TLS_LDO): Likewise.
59260         (R_MN10300_TLS_GOTIE): Likewise.
59261         (R_MN10300_TLS_IE): Likewise.
59262         (R_MN10300_TLS_LE): Likewise.
59263         (R_MN10300_TLS_DTPMOD): Likewise.
59264         (R_MN10300_TLS_DTPOFF): Likewise.
59265         (R_MN10300_TLS_TPOFF): Likewise.
59266         (R_MN10300_SYM_DIFF): Likewise.
59267         (R_MN10300_ALIGN): Likewise.
59268         (R_MN10300_NUM): Update.
59270 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
59272         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
59273         Remove.
59275 2012-08-08  Roland McGrath  <roland@hack.frob.com>
59277         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
59279         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
59280         sysdeps/unix -> sysdeps/posix move.
59281         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
59283 2012-08-07      Allan McRae     <allan@archlinux.org>
59285         [BZ #14303]
59286         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
59287         (SUNOS_CPP): Likewise.
59288         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
59289         not found.
59290         (open_input): Call CPP using execvp.
59292 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
59294         * sysdeps/unix/sysv/linux/kernel-features.h
59295         (__ASSUME_PROT_GROWSUPDOWN): Remove.
59296         (__ASSUME_NO_CLONE_DETACHED): Likewise.
59297         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
59298         (__ASSUME_WAITID_SYSCALL): Likewise.
59299         * sysdeps/unix/sysv/linux/dl-execstack.c
59300         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
59301         code unconditional.
59302         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
59303         conditional code.
59304         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
59305         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
59306         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
59307         code.
59308         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
59309         unconditional.
59310         [__ASSUME_WAITID_SYSCALL]: Likewise.
59311         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
59313 2012-08-07  Roland McGrath  <roland@hack.frob.com>
59315         * sysdeps/unix/closedir.c: Renamed to ...
59316         * sysdeps/posix/closedir.c: ... here.
59317         * sysdeps/unix/dirfd.c: Renamed to ...
59318         * sysdeps/posix/dirfd.c: ... here.
59319         * sysdeps/unix/dirstream.h: Renamed to ...
59320         * sysdeps/posix/dirstream.h: ... here.
59321         * sysdeps/unix/fdopendir.c: Renamed to ...
59322         * sysdeps/posix/fdopendir.c: ... here.
59323         * sysdeps/unix/opendir.c: Renamed to ...
59324         * sysdeps/posix/opendir.c: ... here.
59325         * sysdeps/unix/readdir.c: Renamed to ...
59326         * sysdeps/posix/readdir.c: ... here.
59327         * sysdeps/unix/readdir_r.c: Renamed to ...
59328         * sysdeps/posix/readdir_r.c: ... here.
59329         * sysdeps/unix/rewinddir.c: Renamed to ...
59330         * sysdeps/posix/rewinddir.c: ... here.
59331         * sysdeps/unix/seekdir.c: Renamed to ...
59332         * sysdeps/posix/seekdir.c: ... here.
59333         * sysdeps/unix/telldir.c: Renamed to ...
59334         * sysdeps/posix/telldir.c: ... here.
59335         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
59336         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
59337         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
59338         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
59340         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
59341         * bits/fcntl.h: ... here.
59343         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
59344         not 0.
59345         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
59346         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
59347         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
59348         (struct flock): Move l_start, l_len to the beginning.
59349         Use __pid_t for l_pid.
59350         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
59351         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
59352         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
59353         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
59354         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
59355         [__USE_LARGEFILE64] (struct flock64): New type.
59356         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
59358         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
59359         * bits/dirent.h: ... here.
59361         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
59362         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
59364 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
59366         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
59367         Change from 2.6.0 to 2.6.16.
59368         * sysdeps/unix/sysv/linux/configure: Regenerated.
59369         * sysdeps/unix/sysv/linux/kernel-features.h
59370         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
59371         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
59372         version.
59373         (__ASSUME_UTIMES): Likewise.
59374         (__ASSUME_CLONE_STOPPED): Remove.
59375         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
59376         architectures, not kernel version.
59377         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
59378         (__ASSUME_NO_CLONE_DETACHED): Likewise.
59379         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
59380         (__ASSUME_WAITID_SYSCALL): Likewise.
59381         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
59382         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
59383         * README: State 2.6.16 as minimum Linux kernel version.  Do not
59384         refer to older versions.
59386 2012-08-06  Roland McGrath  <roland@hack.frob.com>
59388         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
59389         Define alphasort64 as an alias.
59390         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
59391         Define versionsort64 as an alias.
59392         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
59393         Define scandir64 as an alias.
59394         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
59395         Define scandirat64 as an alias.
59396         * dirent/alphasort64.c (alphasort64):
59397         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
59398         * dirent/versionsort64.c: Likewise.
59399         * dirent/scandir64.c: Likewise.
59400         * dirent/scandirat64.c: Likewise.
59401         * sysdeps/wordsize-64/alphasort.c: File removed.
59402         * sysdeps/wordsize-64/alphasort64.c: File removed.
59403         * sysdeps/wordsize-64/scandir.c: File removed.
59404         * sysdeps/wordsize-64/scandir64.c: File removed.
59405         * sysdeps/wordsize-64/scandirat.c: File removed.
59406         * sysdeps/wordsize-64/scandirat64.c: File removed.
59407         * sysdeps/wordsize-64/versionsort.c: File removed.
59408         * sysdeps/wordsize-64/versionsort64.c: File removed.
59409         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
59410         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
59411         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
59412         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
59413         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
59414         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
59415         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
59416         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
59418         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
59419         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
59420         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
59421         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
59422         [defined __arch64__ || defined __sparcv9]
59423         (__INO_T_MATCHES_INO64_T): New macro.
59424         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
59425         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
59426         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
59427         * sysdeps/unix/sysv/linux/bits/dirent.h
59428         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
59429         (_DIRENT_MATCHES_DIRENT64): New macro.
59431         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
59432         Define lockf64 as an alias.
59433         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
59434         Define fseeko64 as an alias.
59435         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
59436         Define ftello64 as an alias.
59437         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
59438         Define _IO_fgetpos64 and fgetpos64 as aliases.
59439         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
59440         Define _IO_fsetpos64 and fsetpos64 as aliases.
59441         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
59442         Conditionalize body on this.
59443         * libio/fseeko64.c: Likewise.
59444         * libio/ftello64.c: Likewise.
59445         * libio/iofgetpos64.c: Likewise.
59446         * libio/iofsetpos64.c: Likewise.
59447         * sysdeps/wordsize-64/lockf.c: File removed.
59448         * sysdeps/wordsize-64/lockf64.c: File removed.
59449         * sysdeps/wordsize-64/fseeko.c: File removed.
59450         * sysdeps/wordsize-64/fseeko64.c: File removed.
59451         * sysdeps/wordsize-64/ftello.c: File removed.
59452         * sysdeps/wordsize-64/ftello64.c: File removed.
59453         * sysdeps/wordsize-64/iofgetpos.c: File removed.
59454         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
59455         * sysdeps/wordsize-64/iofsetpos.c: File removed.
59456         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
59457         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
59458         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
59459         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
59460         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
59461         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
59462         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
59463         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
59464         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
59465         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
59466         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
59468         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
59469         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
59470         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
59471         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
59472         [defined __arch64__ || defined __sparcv9]
59473         (__OFF_T_MATCHES_OFF64_T): New macro.
59474         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
59475         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
59476         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
59477         (__OFF_T_MATCHES_OFF64_T): New macro.
59479 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
59481         * stdlib/secure-getenv.c (__secure_getenv): Replace
59482         GLIBC_2_16 with GLIBC_2_17.
59484 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
59486         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
59487         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
59489 2012-08-03  David S. Miller  <davem@davemloft.net>
59491         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59493 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
59495         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
59496         Remove.
59497         (__ASSUME_CORRECT_SI_PID): Likewise.
59498         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
59499         (__ASSUME_TMPFS_NAME): Likewise.
59500         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
59501         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
59502         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
59503         (HAVE_AUX_SECURE): Make definition unconditional.
59504         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
59505         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
59507 2012-08-03  Roland McGrath  <roland@hack.frob.com>
59509         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
59510         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
59511         * sysdeps/mach/hurd/eloop-threshold.h: New file.
59512         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
59513         __eloop_threshold instead of SYMLOOP_MAX.
59515         * sysdeps/generic/eloop-threshold.h: New file.
59516         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
59517         of MAXSYMLINKS.
59518         * elf/chroot_canon.c (chroot_canon): Likewise.
59520 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
59522         [BZ #13717]
59523         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
59524         Change to 2.6.0 everywhere.
59525         * sysdeps/unix/sysv/linux/configure: Regenerated.
59526         * sysdeps/unix/sysv/linux/kernel-features.h
59527         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
59528         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
59529         kernel versions.
59530         (__ASSUME_POSIX_TIMERS): Define unconditionally.
59531         (__ASSUME_FUTEX_REQUEUE): Remove.
59532         (__ASSUME_STATFS64): Define unconditionally.
59533         (__ASSUME_AT_SECURE): Likewise.
59534         (__ASSUME_CORRECT_SI_PID): Likewise.
59535         (__ASSUME_TGKILL): Define without depending on kernel version for
59536         i386.
59537         (__ASSUME_UTIMES): Likewise.
59538         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
59539         kernel version.
59540         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
59541         (__ASSUME_TMPFS_NAME): Likewise.
59542         * README: Update reference to Linux kernel versions.
59544 2012-08-02  Marek Polacek  <polacek@redhat.com>
59546         [BZ# 14150]
59547         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
59548         libc_cv_asm_type_prefix with %.
59549         * configure: Regenerated.
59550         * include/libc-symbols.h: Remove comment about
59551         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
59552         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
59553         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
59554         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
59555         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
59556         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
59557         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
59558         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
59559         * elf/tst-unique2mod1.c: Likewise.
59560         * elf/tst-unique1mod2.c: Likewise.
59561         * elf/tst-unique1mod1.c: Likewise.
59562         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
59563         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
59564         Replace ASM_TYPE_DIRECTIVE with .type.
59565         * sysdeps/s390/s390-64/sysdep.h: Likewise.
59566         * sysdeps/i386/sysdep.h: Likewise.
59567         * sysdeps/x86_64/sysdep.h: Likewise.
59568         * sysdeps/sh/sysdep.h: Likewise.
59569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
59570         Do not define ASM_TYPE_DIRECTIVE.
59571         * sysdeps/powerpc/sysdep.h: Likewise.
59572         * sysdeps/powerpc/powerpc32/sysdep.h:
59573         Replace ASM_TYPE_DIRECTIVE with .type.
59574         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
59575         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
59576         * sysdeps/i386/fpu/e_powf.S: Likewise.
59577         * sysdeps/i386/fpu/e_expl.S: Likewise.
59578         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
59579         * sysdeps/i386/fpu/e_acosh.S: Likewise.
59580         * sysdeps/i386/fpu/e_pow.S: Likewise.
59581         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
59582         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
59583         * sysdeps/i386/fpu/s_expm1.S: Likewise.
59584         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
59585         * sysdeps/i386/fpu/e_log2.S: Likewise.
59586         * sysdeps/i386/fpu/e_log2l.S: Likewise.
59587         * sysdeps/i386/fpu/e_scalb.S: Likewise.
59588         * sysdeps/i386/fpu/e_powl.S: Likewise.
59589         * sysdeps/i386/fpu/e_log10f.S: Likewise.
59590         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
59591         * sysdeps/i386/fpu/e_logl.S: Likewise.
59592         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
59593         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
59594         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
59595         * sysdeps/i386/fpu/e_log2f.S: Likewise.
59596         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
59597         * sysdeps/i386/fpu/e_log.S: Likewise.
59598         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
59599         * sysdeps/i386/fpu/e_logf.S: Likewise.
59600         * sysdeps/i386/fpu/e_log10l.S: Likewise.
59601         * sysdeps/i386/fpu/e_atanh.S: Likewise.
59602         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
59603         * sysdeps/i386/fpu/e_log10.S: Likewise.
59604         * sysdeps/i386/fpu/s_frexp.S: Likewise.
59605         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
59606         * sysdeps/i386/fpu/s_asinh.S: Likewise.
59607         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
59608         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
59609         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
59610         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
59611         * sysdeps/i386/i686/strtok.S: Likewise.
59612         * sysdeps/i386/i386-mcount.S: Likewise.
59613         * sysdeps/i386/strtok.S: Likewise.
59614         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
59615         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
59616         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
59617         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
59618         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
59619         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
59620         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
59621         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
59622         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
59623         * sysdeps/x86_64/_mcount.S: Likewise.
59624         * sysdeps/x86_64/strtok.S: Likewise.
59625         * sysdeps/sh/_mcount.S: Likewise.
59627 2012-08-01  Roland McGrath  <roland@hack.frob.com>
59629         * libio/iofopen.c: Include <fcntl.h>.
59630         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
59631         (_IO_fopen64, fopen64): Define as aliases.
59632         * libio/iofopen64.c: Include <fcntl.h>.
59633         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
59634         Conditionalize body on this.
59635         * sysdeps/wordsize-64/iofopen.c: File removed.
59636         * sysdeps/wordsize-64/iofopen64.c: File removed.
59638 2012-08-01  Marek Polacek  <polacek@redhat.com>
59640         * libc/Makeconfig: Use elf in place of binfmt-subdir.
59641         Use dlfcn directly instead of a variable.
59642         (binfmt-subdir): Do not define.
59643         (dlfcn): Likewise.
59645 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
59647         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
59648         Remove all definitions.
59649         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
59650         <kernel-features.h>.
59651         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
59652         (miss_F_GETOWN_EX): Remove all definitions.
59653         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
59654         macro definition.
59655         [!__ASSUME_FCNTL64]: Remove conditional code.
59656         [__ASSUME_FCNTL64]: Make code unconditional.
59657         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
59658         <kernel-features.h>.
59659         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
59660         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
59661         (lockf64) [__NR_fcntl64]: Make code unconditional.
59662         (lockf64) [__ASSUME_FCNTL64]: Likewise.
59664         * sysdeps/unix/sysv/linux/kernel-features.h
59665         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
59666         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
59667         Make code unconditional.
59668         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
59669         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
59670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
59671         [__NR_vfork]: Make code unconditional.
59672         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
59673         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
59674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
59675         [__NR_vfork]: Make code unconditional.
59676         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
59677         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
59679 2012-08-01  Roland McGrath  <roland@hack.frob.com>
59681         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
59682         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
59684         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
59685         Define mkstemp64 as an alias.
59686         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
59687         Define mkstemps64 as an alias.
59688         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
59689         Define mkostemp64 as an alias.
59690         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
59691         Define mkostemps64 as an alias.
59692         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
59693         Conditionalize body on this.
59694         * misc/mkostemp64.c: Likewise.
59695         * misc/mkostemps64.c: Likewise.
59696         * misc/mkstemps64.c: Likewise.
59697         * sysdeps/wordsize-64/mkstemp64.c: File removed.
59698         * sysdeps/wordsize-64/mkostemp64.c: File removed.
59699         * sysdeps/wordsize-64/mkostemp.c: File removed.
59700         * sysdeps/wordsize-64/mkstemp.c: File removed.
59701         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
59702         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
59703         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
59704         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
59706         [BZ #14138]
59707         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
59708         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
59709         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
59710         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
59712         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
59713         compat_symbol macros from <shlib-compat.h> rather than the underlying
59714         default_symbol_version and symbol_version macros, so that DEFAULT
59715         lines in shlib-versions are respected.
59716         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
59718 2012-08-01  Florian Weimer  <fweimer@redhat.com>
59720         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
59721         Declare with warn_unused_result.
59722         (setgid, setregid, setegid, setresgid): Likewise.
59723         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
59724         Likewise.
59725         * WUR-REPORT: Remove set*id functions.
59727 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
59729         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
59731 2012-07-31  Roland McGrath  <roland@hack.frob.com>
59733         [BZ #10191]
59734         * include/sys/socket.h (__libc_accept, __libc_accept4):
59735         Add attribute_hidden.
59736         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
59738         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
59739         use of PTR_MANGLE.
59740         * inet/getnetgrent_r.c (setup): Likewise.
59742         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
59744 2012-07-31  David S. Miller  <davem@davemloft.net>
59746         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59748 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
59750         [BZ #13629]
59751         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
59752         value between 1.0 and 2.0 and smaller part has absolute value less
59753         than 1.0.
59754         * math/s_clog10.c (__clog10): Likewise.
59755         * math/s_clog10f.c (__clog10f): Likewise.
59756         * math/s_clog10l.c (__clog10l): Likewise.
59757         * math/s_clogf.c (__clogf): Likewise.
59758         * math/s_clogl.c (__clogl): Likewise.
59759         * math/libm-test.inc (clog_test): Add more tests.
59760         (clog10_test): Likewise.
59761         * sysdeps/i386/fpu/libm-test-ulps: Update.
59762         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59764 2012-07-31  Florian Weimer  <fweimer@redhat.com>
59766         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
59767         Exit with zero in case no suitable GID is found, and write a
59768         message to standard error.
59770 2012-07-30  Roland McGrath  <roland@hack.frob.com>
59772         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
59773         rather than to 1.
59774         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
59775         (MAXPATHLEN): Removed.
59776         (NOGROUP, NODEV): New macros.
59777         (setbit, clrbit, isset, isclr): New macros.
59778         (howmany, roundup, powerof2): New macros.
59779         (DEV_BSIZE): New macro.
59781         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
59782         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
59784         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
59785         definition on [!__NO_LONG_DOUBLE_MATH].
59787         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
59788         PTR_MANGLE and PTR_DEMANGLE.
59790         * socket/accept4.c (accept4): Rename to __libc_accept4.
59791         Define accept4 as a weak alias.
59793         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
59794         on [_DIRENT_HAVE_D_TYPE].
59795         * io/ftw.c (ftw_dir): Likewise.
59797         * io/xmknod.c (__xmknod): Don't check PATH for being null.
59799         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
59801         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
59802         Use the BSD numbers rather than the arbitrary ones we had.
59803         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
59804         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
59805         (SIGXCPU, SIGXFSZ): New macros.
59806         (_NSIG): Now 32.
59808         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
59809         initializer on [_LIBC_REENTRANT].
59811         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
59812         definitions inside [_POSIX_MAPPED_FILES].
59814         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
59816         * dirent/opendir.c: Include <fcntl.h>.
59818         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
59819         (__libc_getspecific): Likewise.
59820         (__libc_key_create): Likewise.
59822         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
59823         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
59824         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
59825         (tmpfile64): Define as alias.
59826         * sysdeps/wordsize-64/tmpfile.c: File removed.
59827         * sysdeps/wordsize-64/tmpfile64.c: File removed.
59828         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
59829         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
59831         * stdio-common/vfscanf.c: Include <stdbool.h>.
59832         * nss/makedb.c: Likewise.
59833         * stdio-common/_i18n_number.h: Likewise.
59834         * argp/argp-help.c: Likewise.
59835         * posix/wordexp.c: Likewise.
59836         * sysdeps/posix/spawni.c: Likewise.
59837         * nss/nss_files/files-initgroups.c: Likewise.
59838         * stdio-common/reg-modifier.c: Include <stdlib.h>.
59839         * nss/nss_files/files-initgroups.c: Likewise.
59840         * nss/nss_db/db-netgrp.c: Likewise.
59841         * nss/nss_db/db-initgroups.c: Likewise.
59842         * io/fchmodat.c: Include <sys/stat.h>.
59844         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
59845         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
59847         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
59848         [HAVE_MMAP].
59850         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
59851         Add multiple inclusion protection.
59853 2012-07-27  David S. Miller  <davem@davemloft.net>
59855         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59857 2012-07-27  Gary Benson  <gbenson@redhat.com>
59859         [BZ #14298]
59860         * elf/rtld.c: Include <stap-probe.h>.
59861         (dl_main): Added static probes "init_start" and "init_complete".
59862         * elf/dl-load.c: Include <stap-probe.h>.
59863         (lose): Take new parameter "nsid".
59864         Added static probe "map_failed".
59865         (_dl_map_object_from_fd): Pass namespace id to lose.
59866         Added static probe "map_start".
59867         (open_verify): Pass namespace id to lose.
59868         * elf/dl-open.c: Include <stap-probe.h>.
59869         (dl_open_worker) Added static probes "map_complete", "reloc_start"
59870         and "reloc_complete".
59871         * elf/dl-close.c: Include <stap-probe.h>.
59872         (_dl_close_worker): Added static probes "unmap_start" and
59873         "unmap_complete".
59874         * elf/rtld-debugger-interface.txt: New file documenting the above.
59876 2012-07-26  Roland McGrath  <roland@hack.frob.com>
59878         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
59879         rather than a string variable.
59880         * sunrpc/rpc_main.c (h_output): Likewise.
59881         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
59883 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
59885         * inet/check_native.c: New file.
59887 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
59889         [BZ #13629]
59890         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
59891         if larger part has absolute value 1.0.
59892         * math/s_clog10.c (__clog10): Likewise.
59893         * math/s_clog10f.c (__clog10f): Likewise.
59894         * math/s_clog10l.c (__clog10l): Likewise.
59895         * math/s_clogf.c (__clogf): Likewise.
59896         * math/s_clogl.c (__clogl): Likewise.
59897         * math/libm-test.inc (clog_test): Add more tests.
59898         (clog10_test): Likewise.
59899         * sysdeps/i386/fpu/libm-test-ulps: Update.
59900         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59902         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
59903         (pltexit): Likewise.
59904         (La_regs): Likewise.
59905         (La_retval): Likewise.
59906         (int_retval): Likewise.
59907         Update #error for removed macros to refer only to definitions in
59908         tst-audit.h.
59909         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
59910         macro.
59911         (pltexit): Likewise.
59912         (La_regs): Likewise.
59913         (La_retval): Likewise.
59914         (int_retval): Likewise.
59915         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
59916         macro.
59917         (pltexit): Likewise.
59918         (La_regs): Likewise.
59919         (La_retval): Likewise.
59920         (int_retval): Likewise.
59921         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
59922         macro.
59923         (pltexit): Likewise.
59924         (La_regs): Likewise.
59925         (La_retval): Likewise.
59926         (int_retval): Likewise.
59927         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
59928         macro.
59929         (pltexit): Likewise.
59930         (La_regs): Likewise.
59931         (La_retval): Likewise.
59932         (int_retval): Likewise.
59933         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
59934         macro.
59935         (pltexit): Likewise.
59936         (La_regs): Likewise.
59937         (La_retval): Likewise.
59938         (int_retval): Likewise.
59939         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
59940         macro.
59941         (pltexit): Likewise.
59942         (La_regs): Likewise.
59943         (La_retval): Likewise.
59944         (int_retval): Likewise.
59945         * sysdeps/generic/tst-audit.h: Update comment to refer only to
59946         macro definitions in tst-audit.h.
59947         * sysdeps/i386/tst-audit.h: New file.
59948         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
59949         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
59950         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
59951         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
59952         * sysdeps/sh/tst-audit.h: Likewise.
59953         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
59954         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
59955         * sysdeps/x86_64/tst-audit.h: Likewise.
59957 2012-07-26  Andreas Jaeger  <aj@suse.de>
59959         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
59960         ptrace.
59962         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
59963         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
59964         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
59965         PTRACE_O_MASK.
59966         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
59967         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
59968         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
59970         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
59971         value.
59973         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
59974         _sigsys.
59975         (si_call_addr, si_syscall, si_arch): Define new macro.
59976         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
59977         _sigsys.
59978         (si_call_addr, si_syscall, si_arch): Define new marcro.
59979         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
59980         _sigsys.
59981         (si_call_addr, si_syscall, si_arch): Define new macro.
59982         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
59983         _sigsys.
59984         (si_call_addr, si_syscall, si_arch): Define new macro.
59986 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
59988         [BZ #13717]
59989         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
59990         Change to 2.4.21 where previously 2.4.1.
59991         * sysdeps/unix/sysv/linux/configure: Regenerated.
59992         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
59993         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
59994         Linux kernel version.
59995         (__ASSUME_STD_AUXV): Remove.
59996         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
59997         kernel version.
59998         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
59999         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
60000         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
60001         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
60002         (__ASSUME_NETLINK_SUPPORT): Likewise.
60003         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
60004         (__no_netlink_support): Remove conditional definition.
60005         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
60006         Remove.
60007         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
60008         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
60009         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
60010         (if_nameindex_ioctl): Remove.
60011         (if_nameindex_netlink): Do not handle __no_netlink_support.
60012         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
60013         code.
60014         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
60015         Remove conditional code.
60016         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
60017         code.
60018         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
60019         unconditional.
60020         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
60021         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
60022         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
60023         Remove.
60024         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
60025         [!__ASSUME_STD_AUXV]: Remove conditional code.
60026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
60027         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
60028         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
60029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
60030         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
60031         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
60032         code.
60033         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
60034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
60035         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
60036         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
60037         conditional code.
60038         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
60039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
60040         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
60041         code.
60042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
60043         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
60044         conditional code.
60045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
60046         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
60047         code unconditional.
60048         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60049         conditional code.
60050         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
60051         unconditional.
60052         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60053         conditional code.
60054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
60055         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
60056         unconditional.
60057         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60058         conditional code.
60059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
60060         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
60061         code unconditional.
60062         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60063         conditional code.
60064         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
60065         unconditional.
60066         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60067         conditional code.
60068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
60069         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
60070         code unconditional.
60071         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60072         conditional code.
60073         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
60074         unconditional.
60075         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60076         conditional code.
60078 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
60080         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
60081         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
60082         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
60083         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
60084         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
60085         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
60086         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
60087         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
60088         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
60089         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
60090         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
60091         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
60092         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
60093         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
60094         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
60095         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
60096         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
60097         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
60098         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
60099         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
60100         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
60101         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
60102         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
60104 2012-07-25  Florian Weimer  <fweimer@redhat.com>
60106         * Versions.def: Add GLIBC_2.17.
60107         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
60108         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
60109         Introduce __libc_secure_getenv.
60110         * stdlib/Versions (2.17): Add secure_getenv
60111         (GLIBC_PRIVATE): Add __libc_secure_getenv.
60112         * stdlib/secure-getenv.c: Rename __secure_getenv to
60113         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
60114         symbol __secure_getenv for GLIBC_2.0.
60115         * stdlib/tst-secure-getenv.c: New.
60116         * stdlib/Makefile (tests): Add testcase.
60117         * manual/startup.texi (Environment Access): Document
60118         secure_getenv.
60119         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
60120         __libc_secure_getenv.
60121         * inet/ruserpass.c (ruserpass): Likewise.
60122         * malloc/mtrace.c (mtrace): Likewise.
60123         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
60124         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
60125         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
60126         * sysdeps/posix/tempname.c: Likewise.  Evaluate
60127         HAVE_SECURE_GETENV.
60128         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
60129         __secure_getenv to __libc_secure_getenv.
60130         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
60131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
60132         Likewise.
60133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
60134         Likewise.
60135         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
60136         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
60137         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
60138         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
60139         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
60140         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
60141         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
60143 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
60145         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
60146         (struct La_i86_retval): Likewise.
60147         (struct La_x86_64_regs): Likewise.
60148         (struct La_x86_64_retval): Likewise.
60149         (struct La_x32_regs): Likewise.
60150         (struct La_x32_retval): Likewise.
60151         (struct La_ppc32_regs): Likewise.
60152         (struct La_ppc32_retval): Likewise.
60153         (struct La_ppc64_regs): Likewise.
60154         (struct La_ppc64_retval): Likewise.
60155         (struct La_sh_regs): Likewise.
60156         (struct La_sh_retval): Likewise.
60157         (struct La_s390_32_regs): Likewise.
60158         (struct La_s390_32_retval): Likewise.
60159         (struct La_s390_64_regs): Likewise.
60160         (struct La_s390_64_retval): Likewise.
60161         (struct La_sparc32_regs): Likewise.
60162         (struct La_sparc32_retval): Likewise.
60163         (struct La_sparc64_regs): Likewise.
60164         (struct La_sparc64_retval): Likewise.
60165         (struct audit_ifaces): Remove architecture-specific pltenter and
60166         pltexit members.
60167         * sysdeps/i386/ldsodefs.h: New file.
60168         * sysdeps/powerpc/ldsodefs.h: Likewise.
60169         * sysdeps/s390/ldsodefs.h: Likewise.
60170         * sysdeps/sh/ldsodefs.h: Likewise.
60171         * sysdeps/sparc/ldsodefs.h: Likewise.
60172         * sysdeps/x86_64/ldsodefs.h: Likewise.
60174 2012-07-25  Marek Polacek  <polacek@redhat.com>
60176         [BZ #6808]
60177         * math/libm-test.inc (yn_test): Add another test.
60178         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
60179         to ERANGE when the result is +-Inf.
60180         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
60181         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
60182         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
60183         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
60185 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
60187         * conform/data/time.h-data (NULL): Use macro-constant.  Require
60188         equal to 0.
60189         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
60190         clock_t.
60191         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
60193 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
60195         * configure.in <sysdeps resolving>: Correct printing
60196         Implies_before.
60197         * configure: Regenerate.
60199 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
60201         * math/w_ilogb.c: Include <limits.h>.
60202         * math/w_ilogbl.c: Likewise.
60204 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
60206         * manual/lang.texi (__va_copy): Document primarily as ISO C99
60207         va_copy.  Document allowing for unavailable va_copy only as
60208         pre-C99 compatibility.
60209         * manual/string.texi (Copying and Concatenation): Use va_copy
60210         instead of __va_copy in concat example.
60212 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
60214         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
60215         (__sendto): Use create_address_port.  Initialize APORT and deallocate
60216         it if not null.
60218         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
60219         with O_NOLINK passed to __file_name_lookup.
60221         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
60222         with O_NOLINK passed to __file_name_lookup.
60224         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
60225         negative N or less than NGIDS.
60227         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
60228         type to string_t.  Set ERANGE as errno and return it if NAME is not big
60229         enough.  Use memcpy instead of strncpy.
60231 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
60233         * elf/Makefile (check-data): Remove.
60234         (localplt.data): New vpath directive.
60235         ($(objpfx)check-localplt.out): Use localplt.data from vpath
60236         instead of $(check-data).
60237         * scripts/data/localplt-generic.data: Move to ...
60238         * sysdeps/generic/localplt.data: ... here.
60239         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
60240         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
60241         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
60242         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
60243         ... here.
60244         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
60245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
60246         ... here.
60247         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
60248         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
60249         ... here.
60250         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
60251         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
60252         ... here.
60253         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
60254         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
60255         ... here.
60256         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
60257         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
60258         ... here.
60260 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60262         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
60263         PPC32 and PPC64 files.
60264         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
60265         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
60267 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60269         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
60270         __makecontext_ret to ...
60271         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
60272         ... here and call exit if uc_link is NULL.  New file.
60273         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
60274         __makecontext_ret.S.
60275         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
60276         __makecontext_ret to ...
60277         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
60278         ... here and call exit if uc_link is NULL.  New file.
60279         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
60280         __makecontext_ret.S.
60282 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60284         * elf/elf.h (R_390_IRELATIVE): New definition.
60285         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
60286         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
60287         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
60288         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
60289         (elf_machine_lazy_rel): Likewise.
60290         * sysdeps/s390/dl-irel.h: New file.
60291         * sysdeps/s390/s390-64/memcpy.S: New asm code.
60292         * sysdeps/s390/s390-64/memset.S: New asm code.
60293         * sysdeps/s390/s390-64/memcmp.S: New asm code.
60294         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
60295         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
60296         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
60297         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
60298         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
60299         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
60300         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
60301         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
60302         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
60303         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
60304         * sysdeps/s390/s390-32/memcpy.S: New asm code.
60305         * sysdeps/s390/s390-32/memset.S: New asm code.
60306         * sysdeps/s390/s390-32/memcmp.S: New asm code.
60308 2012-07-17  Marek Polacek  <polacek@redhat.com>
60310         [BZ #14349]
60311         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
60312         * sysdeps/s390/s390-64/configure.in: Likewise.
60313         * sysdeps/sparc/configure.in: Likewise.
60314         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
60315         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
60316         * sysdeps/i386/configure.in: Likewise.
60317         * sysdeps/x86_64/configure.in: Likewise.
60318         * sysdeps/sh/configure.in: Likewise.
60319         * sysdeps/s390/s390-32/configure: Regenerated.
60320         * sysdeps/s390/s390-64/configure: Likewise.
60321         * sysdeps/x86_64/configure: Likewise.
60322         * sysdeps/sh/configure: Likewise.
60323         * sysdeps/powerpc/powerpc64/configure: Likewise.
60324         * sysdeps/powerpc/powerpc32/configure: Likewise.
60325         * sysdeps/sparc/configure: Likwise.
60326         * sysdeps/i386/configure: Likewise.
60328         * elf/dl-open.c: Comment fixes.
60330 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
60332         * Makefile [CXX] (check-data): Remove.
60333         [CXX] (c++-types.data): New vpath directive.
60334         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
60335         vpath.  Do not allow for C++ type data being missing.
60336         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
60337         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
60338         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
60339         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
60340         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
60341         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
60342         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
60343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
60344         ... here.
60345         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
60346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
60347         ... here.
60348         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
60349         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
60350         ... here.
60351         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
60352         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
60353         ... here.
60354         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
60355         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
60356         ... here.
60357         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
60358         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
60359         ... here.
60360         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
60361         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
60362         ... here.
60363         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
60364         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
60366         * elf/tls-macros.h (TLS_LE): Move architecture-specific
60367         definitions to architecture-specific files.
60368         (TLS_IE): Likewise.
60369         (TLS_LD): Likewise.
60370         (TLS_GD): Likewise.
60371         * sysdeps/i386/tls-macros.h: New file.
60372         * sysdeps/powerpc/tls-macros.h: Likewise.
60373         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
60374         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
60375         * sysdeps/sh/tls-macros.h: Likewise.
60376         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
60377         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
60378         * sysdeps/x86_64/tls-macros.h: Likewise.
60380 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
60382         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
60383         zero value for regular exit case.
60385         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
60386         (__start_context): Preserve zero value for regular exit case.
60388 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
60389             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60391         * manual/setjmp.texi (setcontext): Clarify normal process
60392         termination when uc_link is the null pointer.
60393         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
60394         exit call.
60396 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
60398         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
60399         preprocessor.  Test for each exception mask separately.
60401 2012-07-16  Andreas Jaeger  <aj@suse.de>
60403         * po/ru.po: Update from translation team.
60405 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
60407         * conform/data/string.h-data (NULL): Use macro-constant.  Require
60408         equal to 0.
60409         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
60410         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
60411         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
60412         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
60413         [ISO || ISO99 || ISO11] (*_t): Do not allow.
60415 2012-07-13  Andreas Jaeger  <aj@suse.de>
60417         * po/fr.po: Update from translation team.
60419 2012-07-12  Marek Polacek  <polacek@redhat.com>
60421         [BZ #14173]
60422         * math/libm-test.inc (yn_test): Add test for BZ #14173.
60423         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
60424         loop condition.
60426 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
60428         [BZ #13717]
60429         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
60430         Change to 2.4.1 where previously 2.4.0.
60431         * sysdeps/unix/sysv/linux/configure: Regenerated.
60432         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
60433         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
60434         version.
60435         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
60436         (__ASSUME_AT_CLKTCK): Remove.
60437         (__ASSUME_AT_PAGESIZE): Likewise.
60438         (__ASSUME_AT_XID): Likewise.
60439         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
60440         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
60441         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
60442         unconditionally.
60443         (HAVE_AUX_PAGESIZE): Likewise.
60444         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
60445         [__ASSUME_AT_CLKTCK]: Make code unconditional.
60446         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
60448 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
60450         [BZ #14307]
60451         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
60452         the temporary buffer used to invoke __gethostbyname2_r,
60453         __gethostbyaddr_r and gethostbyname4_r to make room for struct
60454         host_data / struct gaih_addrtuple.
60455         * resolv/nss_dns/dns-host.c (global scope): Move definition of
60456         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
60457         header file nss/nsswitch.h.
60458         * nss/nsswitch.h (global scope): Add definition of implementation
60459         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
60460         resolv/nss_dns/dns-host.c).
60462 2012-07-11  Andreas Jaeger  <aj@suse.de>
60464         * po/fr.po: Update from translation team.
60466         * po/sv.po: Update from translation team
60467         * po/fr.po: Another update from translation team.
60469 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60471         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
60472         for subnormals or multiply small sinh result by itself.
60473         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
60474         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60476 2012-07-11  David S. Miller  <davem@davemloft.net>
60478         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60480 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
60482         [BZ #14347]
60483         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
60484         (INTERNAL_MARK): Shift it here.
60486 2012-07-10  Marek Polacek  <polacek@redhat.com>
60488         [BZ #14151]
60489         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
60490         libc_cv_asm_global_directive with .globl.
60491         * configure: Regenerated.
60492         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
60493         with .globl.
60494         * sysdeps/i386/configure: Regenerated.
60495         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
60496         with .globl.
60497         * sysdeps/x86_64/configure: Regenerated.
60498         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
60499         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
60500         * elf/tst-unique2mod2.c: Likewise.
60501         * elf/tst-unique2mod1.c: Likewise.
60502         * elf/tst-unique1mod2.c: Likewise.
60503         * elf/tst-unique1mod1.c: Likewise.
60504         * sysdeps/s390/s390-32/sysdep.h: Likewise.
60505         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
60506         * sysdeps/s390/s390-64/sysdep.h: Likewise.
60507         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
60508         * sysdeps/mach/sysdep.h: Likewise.
60509         * sysdeps/i386/sysdep.h: Likewise.
60510         * sysdeps/i386/i386-mcount.S: Likewise.
60511         * sysdeps/x86_64/_mcount.S: Likewise.
60512         * sysdeps/x86_64/sysdep.h: Likewise.
60513         * sysdeps/sh/_mcount.S: Likewise.
60514         * sysdeps/sh/sysdep.h: Likewise.
60515         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
60516         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
60517         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
60518         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
60519         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
60520         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
60521         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
60522         * locale/localeinfo.h: Likewise.
60523         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
60524         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
60526 2012-07-09  Roland McGrath  <roland@hack.frob.com>
60528         [BZ #14336]
60529         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
60530         system".
60531         * manual/message.texi (The Uniforum approach): Likewise.
60532         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
60533         (glibc iconv Implementation): Likewise.
60535 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
60537         [BZ #14337]
60538         * math/s_clog.c (__clog): Avoid scaling a value down where that
60539         could result in underflow.
60540         * math/s_clog10.c (__clog10): Likewise.
60541         * math/s_clog10f.c (__clog10f): Likewise.
60542         * math/s_clog10l.c (__clog10l): Likewise.
60543         * math/s_clogf.c (__clogf): Likewise.
60544         * math/s_clogl.c (__clogl): Likewise.
60545         * math/libm-test.inc (clog_test): Add more tests.
60546         (clog10_test): Likewise.
60547         * sysdeps/i386/fpu/libm-test-ulps: Update.
60548         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60550 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
60552         [BZ #14283]
60553         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
60554         by 7 not 8 to examine high bit of fractional part.
60556         [BZ #14042]
60557         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
60558         for call to __mcount_internal.
60559         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
60560         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
60561         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
60563 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
60565         [BZ #14154]
60566         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
60567         approximation for values within 0x1p-13f of an odd multiple of
60568         pi/4.
60569         * math/libm-test.inc (tan_test): Do not allow spurious underflow
60570         exception.  Add more tests.
60571         * sysdeps/i386/fpu/libm-test-ulps: Update.
60573         [BZ #6778]
60574         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
60575         inputs and return -1 for them.  Do not check for +Inf in case not
60576         reachable for +Inf.
60577         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
60578         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
60579         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
60580         and return -1 for them.  Do not check for +Inf in case not
60581         reachable for +Inf.
60582         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
60583         define.
60584         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
60585         and return -1 for them.  Do not check for +Inf in case not
60586         reachable for +Inf.
60587         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
60588         spurious underflow.
60589         * sysdeps/i386/fpu/libm-test-ulps: Update.
60590         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60592 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
60594         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
60596 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
60598         [BZ #14157]
60599         [BZ #14331]
60600         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
60601         could result in spurious underflow.  Scale down values above
60602         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
60603         * math/s_csqrtf.c (__csqrtf): Likewise.
60604         * math/s_csqrtl.c (__csqrtl): Likewise.
60605         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
60606         spurious underflow.
60607         * sysdeps/i386/fpu/libm-test-ulps: Update.
60608         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60610 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
60612         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
60613         xopen-msg.sed.
60614         * catgets/xopen-msg.awk: New file.
60615         * catgets/xopen-msg.sed: Removed.
60617         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
60618         po2text.sed.
60619         * intl/po2test.awk: New file.
60620         * intl/po2test.sed: Removed.
60622 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
60624         [BZ #14328]
60625         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
60626         or multiply small sinh result by itself.
60627         * math/s_ctanf.c (__ctanf): Likewise.
60628         * math/s_ctanh.c (__ctanh): Likewise.
60629         * math/s_ctanhf.c (__ctanhf): Likewise.
60630         * math/s_ctanhl.c (__ctanhl): Likewise.
60631         * math/s_ctanl.c (__ctanl): Likewise.
60632         * math/libm-test.inc (ctan_test_tonearest): New function.
60633         (ctan_test_towardzero): Likewise.
60634         (ctan_test_downward): Likewise.
60635         (ctan_test_upward): Likewise.
60636         (ctanh_test_tonearest): Likewise.
60637         (ctanh_test_towardzero): Likewise.
60638         (ctanh_test_downward): Likewise.
60639         (ctanh_test_upward): Likewise.
60640         (main): Call these new functions.
60641         * sysdeps/i386/fpu/libm-test-ulps: Update.
60642         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60644 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
60646         * .gitignore: Delete /ports entry.
60648 2012-07-03  Andreas Jaeger  <aj@suse.de>
60650         * po/bg.po: Update from translation team.
60651         * po/cs.po: Likewise.
60652         * po/de.po: Likewise.
60653         * po/hr.po: Likewise.
60654         * po/nl.pl: Likewise.
60655         * po/pl.po: Likewise.
60656         * po/vi.po: Likewise.
60658 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
60660         * Makeconfig [!+link] (+link-before-libc): New variable.
60661         [!+link] (+link-after-libc): Likewise.
60662         [!+link] (+link-tests): Likewise.
60663         [!+link] (+link): Define in terms of $(+link-before-libc) and
60664         $(+link-after-libc).
60665         [!+link-static] (+link-static-before-libc): New variable.
60666         [!+link-static] (+link-static-after-libc): Likewise.
60667         [!+link-static] (+link-static-tests): Likewise.
60668         [!+link-static] (+link-static): Define in terms of
60669         $(+link-static-before-libc) and $(+link-static-after-libc).
60670         [build-shared] (link-libc-before-gnulib): New variable.
60671         [build-shared] (link-libc-tests): Likewise.
60672         [build-shared] (link-libc): Define in terms of
60673         $(link-libc-before-gnulib).
60674         [!build-shared] (link-libc-tests): New variable.
60675         (link-libc-static-tests): New variable.
60676         [!gnulib] (gnulib-arch): New variable.
60677         [!gnulib] (gnulib-tests): Likewise.
60678         [!gnulib] (static-gnulib-arch): Likewise.
60679         [!gnulib] (static-gnulib-tests): Likewise.
60680         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
60681         Define with "=" instead of ":=".
60682         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
60683         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
60684         * Rules (binaries-all-notests): New variable.
60685         (binaries-all-tests): Likewise.
60686         (binaries-static-notests): Likewise.
60687         (binaries-static-tests): Likewise.
60688         (binaries-all): Define using $(binaries-all-notests) and
60689         $(binaries-all-tests).
60690         (binaries-static): Define using $(binaries-static-notests) and
60691         $(binaries-static-tests).
60692         (binaries-shared-tests): New variable.
60693         (binaries-shared-notests): Likewise.
60694         (binaries-shared): Remove variable.
60695         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
60696         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
60697         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
60698         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
60699         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
60700         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
60701         * elf/Makefile (sln-modules): New variable.
60702         (extra-objs): Add $(sln-modules:=.o).
60703         (ldconfig-modules): Add static-stubs.
60704         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
60705         * elf/static-stubs.c: New file.
60707         [BZ #14283]
60708         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
60709         by 7 not 8 to examine high bit of fractional part.  Use volatile
60710         variables when splitting into final array of floats if
60711         __FLT_EVAL_METHOD__ != 0.
60712         * math/libm-test.inc (cos_test): Add another test.
60713         (sin_test): Likewise.
60714         * sysdeps/i386/fpu/libm-test-ulps: Update.
60716         [BZ #14273]
60717         * math/libm-test.inc (cosh_test): Add more tests.
60719         * version.h (RELEASE): Set to "development".
60720         (VERSION): Set to "2.16.90".
60722 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
60724         * NEWS: Update copyright. Remove last-updated date.
60725         Mention math library bug fixes and timezone data changes.
60726         * README: Mention GNU/Hurd, x32, and HPPA support status.
60728 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
60730         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
60732 2012-06-27  Andreas Jaeger  <aj@suse.de>
60734         * manual/contrib.texi (Contributors): Add Samuel Thibault.
60736 2012-06-25  Andreas Jaeger  <aj@suse.de>
60738         * sysdeps/s390/fpu/libm-test-ulps: Update.
60740 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
60741             Thomas Schwinge  <thomas@codesourcery.com>
60743         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
60744         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
60745         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
60746         fanotify_mark.
60748 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
60750         * sysdeps/mach/start.c: Remove file.
60751         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
60752         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
60753         * sysdeps/sh/init-first.c: Likewise.
60755         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
60756         registers for frame unwinding purposes, add CFI directives.
60757         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
60758         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
60759         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
60760         Likewise.
60762         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
60763         __fortify_fail returning.
60764         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
60766         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
60767         sysdeps/sh/____longjmp_chk.S.
60768         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
60769         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
60770         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
60771         (gen-as-const-headers): Append sigaltstack-offsets.sym.
60773         * sysdeps/sh/abort-instr.h: New file.
60774         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
60775         process in case exit returns.
60777         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
60778         initialize the GOT register before use.
60780         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
60781         calculation of ARGC > 4.
60783         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
60784         meaningful names to some local labels.
60786 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
60787             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
60789         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
60790         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
60791         (__arch_compare_and_exchange_val_16_acq): Likewise.
60792         (__arch_compare_and_exchange_val_32_acq): Likewise.
60793         (atomic_exchange_and_add): Fix gUSA sequence.
60794         (atomic_add): Likewise.
60795         (atomic_add_negative): Likewise.
60796         (atomic_add_zero): Likewise.
60797         (atomic_bit_test_set): Likewise.
60799 2012-06-22  Andreas Schwab  <schwab@redhat.com>
60801         [BZ #13579]
60802         * include/link.h (struct link_map): Add l_free_initfini.
60803         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
60804         l_initfini.
60805         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
60806         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
60807         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
60808         set.
60810 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
60812         * configure.in: Use AC_LANG_SOURCE.
60813         * configure: Regenerate.
60815 2012-06-22  Roland McGrath  <roland@hack.frob.com>
60817         * configure.in (libc_cv_localstatedir): New substituted variable.
60818         * configure: Regenerated.
60819         * config.make.in (localstatedir): New variable, substituted from
60820         libc_cv_localstatedir.
60821         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
60822         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
60823         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
60824         * sysdeps/gnu/configure: Regenerated.
60826 2012-06-21  Jeff Law  <law@redhat.com>
60828         [BZ #14277]
60829         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
60830         free.  Simplify list management for _LIBC case.
60832 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
60834         [BZ #14273]
60835         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
60836         Clear sign bit of 64-bit integer value before comparing against
60837         overflow value.
60839         * sysdeps/mach/configure: Regenerated.
60841 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
60843         [BZ #14278]
60844         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
60846 2012-06-21  Jeff Law  <law@redhat.com>
60848         [BZ #13882]
60849         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
60850         uint16_t for elements in the "seen" array to avoid char overflows.
60851         * elf/dl-fini.c (_dl_sort_fini): Likewise.
60852         * elf/dl-open.c (dl_open_worker): Likewise.
60854 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
60856         * scripts/list-sources.sh: Scan PORTS for translations.
60857         * po/libc.pot: Regenerated.
60859 2012-06-21  Andreas Jaeger  <aj@suse.de>
60861         [BZ #12194]
60862         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
60863         warning.
60864         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
60865         * bits/byteswap-16.h (__bswap_16): Likewise.
60866         * bits/byteswap.h (__bswap_constant_16): Likewise.
60868 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
60870         [BZ #14117]
60871         * sysdeps/i386/fpu_control.h: Removed.
60872         * sysdeps/x86_64/fpu_control.h: Moved to ...
60873         * sysdeps/x86/fpu_control.h: Here.
60875         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
60876         (_FPU_SETCW): Likewise.
60878 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
60880         [BZ #14117]
60881         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
60882         * sysdeps/x86/fpu/bits/mathinline.h: This.
60883         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
60885         [BZ #14050]
60886         [BZ #14117]
60887         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
60888         functions if __x86_64__ is defined.
60890 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
60892         * string/endian.h: Add !__ASSEMBLER__ condition for including
60893         conversion interfaces.
60895 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
60897         [BZ #14241]
60898         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
60899         of ABS(x) in calculating zero to negative powers other than odd
60900         integers.
60901         * math/libm-test.inc (pow_test): Add more tests.
60903 2012-06-15  Andreas Jaeger  <aj@suse.de>
60905         * manual/contrib.texi (Contributors): Update entry of Liubov
60906         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
60907         Machado Filho.
60909 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
60911         * string/string.h: Add __wur to GNU version of strerror_r.
60913 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
60915         [BZ #14229]
60916         * string/Makefile (tests): Add tst-strtok_r.
60917         * string/tst-strtok_r.c: New file.
60918         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
60919         RAX_LP/RDX_LP on SAVE_PTR.
60921 2012-06-14  Roland McGrath  <roland@hack.frob.com>
60923         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
60925 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
60927         * libm_test.inc (csqrt_test): Allow more spurious underflow
60928         exceptions.
60929         (j0_test): Likewise.
60930         (j1_test): Likewise.
60931         (y0_test): Likewise.
60932         (y1_test): Likewise.
60934 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
60936         * po/Makefile (libc.pot): Use UTF-8 charset.
60938 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
60940         [BZ #14210]
60941         Suppress sign-conversion warning from FD_SET.
60942         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
60943         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
60944         not unsigned long int.
60945         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
60947 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
60949         [BZ #14050]
60950         [BZ #14117]
60951         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
60952         __extern_always_inline instead of __extern_inline.
60953         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
60954         (__signbit): Likewise.
60955         (__signbitl): Support C++ namespace.
60956         (lrintf): New inline function.
60957         (lrint): Likewise.
60958         (llrintf): Likewise.
60959         (llrint): Likewise.
60960         (fmaxf): Likewise.
60961         (fmax): Likewise.
60962         (fminf): Likewise.
60963         (fmin): Likewise.
60964         (rint): Likewise.
60965         (rintf): Likewise.
60966         (ceil): Likewise.
60967         (ceilf): Likewise.
60968         (floor): Likewise.
60969         (floorf): Likewise.
60970         (nearbyint): Likewise.
60971         (nearbyintf): Likewise.
60973 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
60975         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
60976         non-default versions.
60978 2012-06-11  Roland McGrath  <roland@hack.frob.com>
60980         [BZ #14218]
60981         * manual/argp.texi (Argp): Reword argp_parse description slightly.
60983 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
60985         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
60986         (FE_UPWARD, FE_DOWNWARD): Don't define.
60987         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
60988         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
60990         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
60991         reading it.
60992         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
60993         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
60995 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
60997         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
60998         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
60999         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
61000         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
61002 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
61004         [BZ #14117]
61005         * sysdeps/i386/fpu/bits/fenv.h: Removed.
61006         * sysdeps/i386/fpu/Implies: New file.
61007         * sysdeps/x86_64/fpu/Implies: Likewise.
61008         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
61009         * sysdeps/x86/fpu/bits/fenv.h: This.
61011         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
61012         __SSE_MATH__.
61014 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
61016         [BZ #14134]
61017         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
61018         character 0xffff that matches the last element of the
61019         conversion table.
61021 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61023         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
61024         fmodl commit.
61026 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61028         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
61029         values higher than 25.6283.
61031 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61033         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
61034         subnormal exponent extraction and add some __builtin_expect.
61035         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
61036         Fix for subnormal mantissa calculation.
61038 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
61040         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
61041         cpu2 is -1 and errno is not ENOSYS.
61043 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
61045         [BZ #14117]
61046         * sysdeps/i386/i486/bits/string.h: Renamed to ...
61047         * sysdeps/x86/bits/string.h: This.
61048         * sysdeps/x86_64/bits/string.h: Removed.
61050         * sysdeps/i386/i486/bits/string.h: Define inline functions only
61051         if not compiling for x86-64, but compiling for >= i486.
61053         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
61054         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
61056         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
61057         New macro from Linux kernel 3.4.0.
61058         (FP_XSTATE_MAGIC2): Likewise.
61059         (FP_XSTATE_MAGIC2_SIZE): Likewise.
61060         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
61061         (struct _fpx_sw_bytes): New struct.
61062         (struct _xsave_hdr): Likewise.
61063         (struct _ymmh_state): Likewise.
61064         (struct _xstate): Likewise.
61066         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
61067         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
61068         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
61069         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
61070         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
61071         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
61073         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
61074         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
61075         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
61076         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
61077         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
61078         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
61080 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
61082         [BZ #13743]
61083         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
61084         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
61085         (sysdep_headers): Include sys/platform/ppc.h.
61086         * sysdeps/powerpc/test-gettimebase.c: Test for
61087         __ppc_get_timebase() to catch future ISA opcode/insn changes.
61088         * manual/Makefile (appendices): Include platform.texi.
61089         * manual/contrib.texi (Contributors): Update @node pointers.
61090         * manual/maint.texi (Maintenance): Likewise.
61091         (Platform): New node.
61092         * manual/platform.texi: New file.  Document the new features.
61094 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
61095             Jakub Jelinek  <jakub@redhat.com>
61097         [BZ #14188]
61098         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
61099         where __builtin_expect is unavailable.
61101 2012-06-03  David S. Miller  <davem@davemloft.net>
61103         * stdlib/longlong.h: Updated from GCC.
61105 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
61107         [BZ #14042]
61108         * sysdeps/powerpc/powerpc32/mcount.c: New file.
61109         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
61110         __mcount_internal.
61111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
61112         (GLIBC_2.16): Likewise.
61114 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
61116         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
61118 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
61120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
61121         (default-abi): New variable.
61122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
61123         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
61124         variable.
61125         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
61126         Likewise.
61127         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
61128         Likewise.
61129         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
61130         Likewise.
61132         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
61133         definition.  Document in comment.
61135 2012-06-01  David S. Miller  <davem@davemloft.net>
61137         * stdlib/longlong.h: Updated from GCC.
61139 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
61141         [BZ #14117]
61142         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
61143         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
61144         sys/debugreg.h sys/io.h here.
61145         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
61146         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
61147         sys/io.h.
61148         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
61149         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
61150         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
61151         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
61152         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
61153         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
61155         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
61156         Define only if __x86_64__ is defined.
61158 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
61160         [BZ #14048]
61161         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
61162         Use int64_t for variable i.
61163         * math/libm-test.inc (fmod_test): Add more tests.
61165         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
61166         z computation is not scheduled after fetestexcept.
61167         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
61168         Use math_force_eval instead of asm to ensure calculation scheduled
61169         before exception test.
61170         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
61171         Ensure a1 + u.d computation is not scheduled after fetestexcept.
61173 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
61175         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
61176         computation is not scheduled after fetestexcept.
61178 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
61180         [BZ #14117]
61181         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
61182         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
61184 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61186         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
61187         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
61189 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
61191         [BZ #14117]
61192         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
61193         <bits/wordsize.h>.
61194         (__WCHAR_MIN): Support __WORDSIZE == 64.
61195         (__WCHAR_MAX): Likewise.
61197         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
61198         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
61200         [BZ #14183]
61201         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
61202         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
61204         [BZ #14117]
61205         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
61206         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
61208         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
61209         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
61211         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
61212         Defined to 1 if __x86_64__ isn't defined.
61213         (_STAT_VER_LINUX_OLD): New.
61214         (st_atime): Remove duplicate.
61215         (st_mtime): Likewise.
61216         (st_ctime): Likewise.
61218 2012-05-31  David S. Miller  <davem@davemloft.net>
61220         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
61221         entries.
61223 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
61225         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
61226         gen-libm-test.pl.
61228         [BZ #14132]
61229         * elf/dl-reloc.c: Include <_itoa.h>.
61230         (_dl_reloc_bad_type): Remove use of INTUSE.
61231         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
61232         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
61233         * stdio-common/psiginfo.c (psiginfo): Likewise.
61234         * stdio-common/psignal.c (psignal): Likewise.
61235         * string/strsignal.c (strsignal): Likewise.
61236         * include/signal.h (_sys_siglist): Declare hidden proto.
61237         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
61238         INTVARDEF with libc_hidden_data_def.
61239         * stdio-common/itoa-udigits.c: Likewise.
61240         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
61241         (_itoa_lower_digits_internal): Remove declaration.
61242         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
61243         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
61244         (_sys_sigabbrev_internal): Remove aliases.
61245         (_sys_siglist): Define hidden alias.
61247 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
61249         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61250         bits/sysctl.h.
61252 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
61254         [BZ #14117]
61255         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
61256         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
61258         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
61259         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
61260         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
61261         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
61262         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
61263         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
61265         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
61266         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
61267         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
61269         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
61270         with __addr.
61271         (insw): Likewise.
61272         (insl): Likewise.
61273         (outsb): Likewise.
61274         (outsw): Likewise.
61275         (outsl): Likewise.
61277         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
61278         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
61279         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
61281         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
61282         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
61283         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
61284         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
61285         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
61286         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
61288         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
61289         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
61291         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
61292         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
61294         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
61295         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
61296         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
61298         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
61299         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
61300         to ...
61301         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
61303         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
61304         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
61305         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
61307         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
61308         for x86-64.
61309         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
61311 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
61313         * math/math.h (M_El): Use two more decimal places.
61314         (M_LOG2El): Likewise.
61315         (M_LOG10El): Likewise.
61316         (M_LN2l): Likewise.
61317         (M_LN10l): Likewise.
61318         (M_PIl): Likewise.
61319         (M_PI_2l): Likewise.
61320         (M_PI_4l): Likewise.
61321         (M_1_PIl): Likewise.
61322         (M_2_PIl): Likewise.
61323         (M_2_SQRTPIl): Likewise.
61324         (M_SQRT2l): Likewise.
61325         (M_SQRT1_2l): Likewise.
61327 2012-05-31  David S. Miller  <davem@davemloft.net>
61329         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
61330         values between float registers.
61331         * sysdeps/sparc/sparc64/memset.S: Likewise.
61332         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
61334 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
61336         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
61337         -D_FORTIFY_SOURCE=1.
61338         (CPPFLAGS-tst-longjmp_chk.c): Define.
61339         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
61340         (CPPFLAGS-tst-longjmp_chk2.c): Define.
61341         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
61342         CFLAGS-tst-wchar-h.c.
61344 2012-05-31  Marek Polacek  <polacek@redhat.com>
61346         [BZ #14132]
61347         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
61348         __endmntent_internal): Remove declaration.
61349         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
61350         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
61351         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
61353 2012-05-30  David S. Miller  <davem@davemloft.net>
61355         * sysdeps/sparc/sparc32/soft-fp/q_util.c
61356         (___Q_simulate_exceptions): Use real FP ops rather than writing
61357         into the %fsr.
61358         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
61359         Likewise.
61361 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
61363         [BZ #14117]
61364         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
61365         * sysdeps/x86/bits/xtitypes.h: This.
61367         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
61368         * sysdeps/x86/bits/wordsize.h: This.
61370         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
61371         * sysdeps/x86/bits/huge_vall.h: This.
61373         * sysdeps/i386/bits/select.h: Removed.
61374         * sysdeps/x86_64/bits/select.h: Renamed to ...
61375         * sysdeps/x86/bits/select.h: This.
61377         * sysdeps/i386/bits/setjmp.h: Removed.
61378         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
61379         * sysdeps/x86/bits/setjmp.h: This.
61381         * sysdeps/i386/bits/mathdef.h: Removed.
61382         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
61383         * sysdeps/x86/bits/mathdef.h: This.
61385 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
61387         [BZ #14132]
61388         * include/sys/socket.h (__connect_internal)
61389         (__libc_sa_len_internal): Remove declaration.
61390         (__connect, __libc_sa_len): Declare hidden_proto.
61391         (SA_LEN): Remove use of INTUSE.
61392         * socket/connect.c: Add libc_hidden_def.
61393         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
61394         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
61395         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
61396         alias.
61397         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
61398         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
61399         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
61400         of adding _internal alias.
61402 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
61404         [BZ #14117]
61405         * sysdeps/i386/bits/link.h: Removed.
61406         * sysdeps/i386/bits/linkmap.h: Likewise.
61407         * sysdeps/x86_64/bits/link.h: Renamed to ...
61408         * sysdeps/x86/bits/link.h: This.
61409         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
61410         * sysdeps/x86/bits/linkmap.h: This.
61412         * sysdeps/i386/bits/endian.h: Removed.
61413         * sysdeps/x86_64/bits/endian.h: Renamed to ...
61414         * sysdeps/x86/bits/endian.h: This.
61416         * sysdeps/i386/bits/byteswap.h: Removed.
61417         * sysdeps/i386/bits/byteswap-16.h: Likewise.
61418         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
61419         * sysdeps/x86/bits/byteswap.h: This.
61420         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
61421         * sysdeps/x86/bits/byteswap-16.h: This.
61422         * sysdeps/i386/Implies: Add x86.
61423         * sysdeps/x86_64/Implies: Likewise.
61425 2012-05-30  David S. Miller  <davem@davemloft.net>
61427         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
61428         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
61429         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
61430         (FP_TRAPPING_EXCEPTIONS): Define.
61431         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
61432         (FP_TRAPPING_EXCEPTIONS): Define.
61433         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
61434         subnormals only when inexact has been signalled or underflow
61435         exceptions are enabled.
61436         (_FP_PACK_CANONICAL): Likewise.
61438 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
61440         [BZ #14183]
61441         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
61442         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
61444 2012-05-30  Richard Henderson  <rth@twiddle.net>
61446         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
61447         with #ifndef NOT_IN_libc.
61449         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
61450         marked to avoid plt entry.
61452 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
61454         [BZ #14112]
61455         * Makeconfig (default-abi): New macro.
61456         (abi-includes): Likewise.
61457         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
61458         $(abi-$(default-abi)-lib-soname) for soname if defined.
61459         ($(common-objpfx)gnu/lib-names.stmp): Generate from
61460         abi-variants.
61461         * Makefile (installed-stubs): Likewise.
61462         * include/stubs-biarch.h: Removed.
61463         * scripts/lib-names.awk: Only handle one library at a time.
61464         * scripts/soversions.awk: Remove WORDSIZE support.
61465         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
61466         entries.
61467         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
61468         Removed.
61469         (syscall-list-default-condition): Likewise.
61470         (syscall-list-default-condition): Likewise.
61471         (syscall-list-includes): Likewise.
61472         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
61473         syscall-list-* with abi-*.  Handle undefined abi-variants.
61474         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
61475         * sysdeps/unix/sysv/linux/i386/Implies: New file.
61476         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
61477         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
61478         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
61479         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
61480         Removed.
61481         (syscall-list-32-options): Likewise.
61482         (syscall-list-32-condition): Likewise.
61483         (syscall-list-64-options): Likewise.
61484         (syscall-list-64-condition): Likewise.
61485         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
61486         macro.
61487         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
61488         Renamed to ...
61489         (abi-*): This.
61490         (abi-64-ld-soname): New macro.
61491         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
61492         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
61493         Renamed to ...
61494         (abi-*): This.
61495         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
61496         * sysdeps/x86_64/x32/shlib-versions: Likewise.
61498 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
61500         * sysdeps/unix/sysv/linux/kernel-features.h
61501         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
61502         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
61503         include <kernel-features.h>.
61504         [!__NR_ftruncate64]: Remove conditional code.
61505         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61506         [__NR_ftruncate64]: Make code unconditional.
61507         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61508         * sysdeps/unix/sysv/linux/truncate64.c: Do not
61509         include <kernel-features.h>.
61510         [!__NR_ftruncate64]: Remove conditional code.
61511         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61512         [__NR_ftruncate64]: Make code unconditional.
61513         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
61515         include <kernel-features.h>.
61516         [!__NR_ftruncate64]: Remove conditional code.
61517         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61518         [__NR_ftruncate64]: Make code unconditional.
61519         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
61521         include <kernel-features.h>.
61522         [!__NR_ftruncate64]: Remove conditional code.
61523         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61524         [__NR_ftruncate64]: Make code unconditional.
61525         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61527         * configure.in (libc_cv_fpie): Weaken to a compile test using
61528         LIBC_TRY_CC_OPTION.
61529         * configure: Regenerated.
61531 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61533         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
61534         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
61535         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
61536         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
61537         Refreshed.
61538         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
61539         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
61540         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
61541         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
61542         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
61543         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
61544         Refreshed.
61546 2012-05-27  David S. Miller  <davem@davemloft.net>
61548         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
61549         (___Q_zero): New.
61550         (__Q_simulate_exceptions): Return void.  Change to simulate
61551         exceptions by writing into the %fsr.
61552         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
61553         (__Qp_handle_exceptions): Likewise.
61554         (numbers): Delete.
61555         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
61556         __Qp_handle_exceptions.
61557         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
61558         __Qp_handle_exceptions.
61559         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
61560         as unused and give dummy FP_RND_NEAREST initializer.
61561         (FP_INHIBIT_RESULTS): Define.
61562         (___Q_simulate_exceptions): Update declaration.
61563         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
61564         formatting.
61565         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
61566         as unused and give dummy FP_RND_NEAREST initializer.
61567         (__Qp_handle_exceptions): Update declaration.
61568         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
61569         formatting.
61571 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
61573         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
61574         the temporary FPU control word.
61575         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
61576         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
61577         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
61578         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
61579         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
61580         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
61581         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
61582         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
61583         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
61584         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
61585         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
61587 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
61589         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
61590         fields.
61592 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
61594         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
61595         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
61596         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
61597         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
61598         Likewise.
61599         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
61600         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
61601         Likewise.
61603 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
61605         * po/h.po: Update from translation team.
61607 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
61609         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
61611         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
61612         handling of denormals.
61613         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
61614         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
61615         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
61616         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
61617         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
61618         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
61619         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
61620         Likewise.
61622 2012-05-26  Marek Polacek  <polacek@redhat.com>
61624         [BZ #14152]
61625         * math/libm-test.inc (fma_test): Don't always expect underflow
61626         exception.
61628 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
61630         [BZ #12416]
61631         * elf/tst-execstack.c: Include stackinfo.h.
61632         (do_test): Adjust test case to ensure that pthread_getattr_np
61633         behaviour remains the same after marking stack executable.
61635 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
61637         * sysdeps/unix/sysv/linux/kernel-features.h
61638         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
61639         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
61640         kernel-features.h.
61641         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
61642         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
61643         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
61644         kernel-features.h.
61645         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
61646         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
61648 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
61650         * configure.in: Define the default includes to being none.
61651         * configure: Regenerated.
61653 2012-05-25  Roland McGrath  <roland@hack.frob.com>
61655         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
61656         * sysdeps/x86_64/setjmp.S: Likewise.
61657         * sysdeps/i386/bsd-setjmp.S: Likewise.
61658         * sysdeps/i386/bsd-_setjmp.S: Likewise.
61659         * sysdeps/i386/setjmp.S: Likewise.
61660         * sysdeps/i386/__longjmp.S: Likewise.
61661         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
61662         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
61664         * include/stap-probe.h: New file.
61665         * configure.in: Handle --enable-systemtap.
61666         * configure: Regenerated.
61667         * config.h.in (USE_STAP_PROBE): New #undef.
61668         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
61669         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
61670         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
61672 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
61674         [BZ #13717]
61675         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
61676         to 2.4.0 where earlier.
61677         * sysdeps/unix/sysv/linux/configure: Regenerated.
61678         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
61679         <kernel-features.h>.
61680         [__ASSUME_32BITUIDS]: Make code unconditional.
61681         [!__ASSUME_32BITUIDS]: Remove conditional code.
61682         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
61683         <kernel-features.h>.
61684         [__ASSUME_32BITUIDS]: Make code unconditional.
61685         [!__ASSUME_32BITUIDS]: Remove conditional code.
61686         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
61687         [__ASSUME_32BITUIDS]: Make code unconditional.
61688         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
61689         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
61690         <kernel-features.h>.
61691         [__ASSUME_32BITUIDS]: Make code unconditional.
61692         [!__ASSUME_32BITUIDS]: Remove conditional code.
61693         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
61694         <kernel-features.h>.
61695         [__ASSUME_32BITUIDS]: Make code unconditional.
61696         [!__ASSUME_32BITUIDS]: Remove conditional code.
61697         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
61698         <kernel-features.h>.
61699         [__ASSUME_32BITUIDS]: Make code unconditional.
61700         [!__ASSUME_32BITUIDS]: Remove conditional code.
61701         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
61702         <kernel-features.h>.
61703         [__ASSUME_32BITUIDS]: Make code unconditional.
61704         [!__ASSUME_32BITUIDS]: Remove conditional code.
61705         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
61706         <kernel-features.h>.
61707         [__ASSUME_32BITUIDS]: Make code unconditional.
61708         [!__ASSUME_32BITUIDS]: Remove conditional code.
61709         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
61710         <kernel-features.h>.
61711         [__ASSUME_32BITUIDS]: Make code unconditional.
61712         [!__ASSUME_32BITUIDS]: Remove conditional code.
61713         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
61714         <kernel-features.h>.
61715         [__ASSUME_32BITUIDS]: Make code unconditional.
61716         [!__ASSUME_32BITUIDS]: Remove conditional code.
61717         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
61718         <kernel-features.h>.
61719         [__ASSUME_32BITUIDS]: Make code unconditional.
61720         [!__ASSUME_32BITUIDS]: Remove conditional code.
61721         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
61722         <kernel-features.h>.
61723         [__ASSUME_32BITUIDS]: Make code unconditional.
61724         [!__ASSUME_32BITUIDS]: Remove conditional code.
61725         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
61726         <kernel-features.h>.
61727         [__ASSUME_32BITUIDS]: Make code unconditional.
61728         [!__ASSUME_32BITUIDS]: Remove conditional code.
61729         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
61730         <kernel-features.h>.
61731         [__NR_setresgid] (__setresgid): Do not declare.
61732         [__ASSUME_32BITUIDS]: Make code unconditional.
61733         [!__ASSUME_32BITUIDS]: Remove conditional code.
61734         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
61735         <kernel-features.h>.
61736         [__NR_setresuid] (__setresuid): Do not declare.
61737         [__ASSUME_32BITUIDS]: Make code unconditional.
61738         [!__ASSUME_32BITUIDS]: Remove conditional code.
61739         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
61740         <kernel-features.h>.
61741         [__ASSUME_32BITUIDS]: Make code unconditional.
61742         [!__ASSUME_32BITUIDS]: Remove conditional code.
61743         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
61744         <kernel-features.h>.
61745         [__ASSUME_32BITUIDS]: Make code unconditional.
61746         [!__ASSUME_32BITUIDS]: Remove conditional code.
61747         * sysdeps/unix/sysv/linux/i386/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.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/setuid.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/shmctl.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/kernel-features.h
61780         (__ASSUME_SETRESUID_SYSCALL): Remove.
61781         (__ASSUME_SETRESGID_SYSCALL): Likewise.
61782         (__ASSUME_32BITUIDS): Likewise.
61783         (__ASSUME_LDT_WORKS): Likewise.
61784         (__ASSUME_O_DIRECTORY): Likewise.
61785         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
61786         architecture but not kernel version.
61787         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
61788         (__ASSUME_MMAP2_SYSCALL): Likewise.
61789         (__ASSUME_STAT64_SYSCALL): Likewise.
61790         (__ASSUME_IPC64): Likewise.
61791         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
61792         <kernel-features.h>.
61793         [__ASSUME_32BITUIDS]: Make code unconditional.
61794         [!__ASSUME_32BITUIDS]: Remove conditional code.
61795         * sysdeps/unix/sysv/linux/opendir.c: Do not include
61796         <kernel-features.h>.
61797         [__ASSUME_O_DIRECTORY]: Make code unconditional.
61798         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
61799         132096]: Remove conditional code.
61800         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
61801         * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.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/setegid.c: Do not include
61810         <kernel-features.h>.
61811         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
61812         unconditional.
61813         (__setresgid): Do not declare.
61814         [__ASSUME_32BITUIDS]: Make code unconditional.
61815         [!__ASSUME_32BITUIDS]: Remove conditional code.
61816         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
61817         <kernel-features.h>.
61818         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
61819         unconditional.
61820         (__setresuid): Do not declare.
61821         [__ASSUME_32BITUIDS]: Make code unconditional.
61822         [!__ASSUME_32BITUIDS]: Remove conditional code.
61823         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
61824         <kernel-features.h>.
61825         [__ASSUME_32BITUIDS]: Make code unconditional.
61826         [!__ASSUME_32BITUIDS]: Remove conditional code.
61827         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
61828         <kernel-features.h>.
61829         [__ASSUME_32BITUIDS]: Make code unconditional.
61830         [!__ASSUME_32BITUIDS]: Remove conditional code.
61832 2012-05-25  Richard Henderson  <rth@twiddle.net>
61834         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
61835         dl_hwcap to ifunc resolver.
61836         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
61837         elf_ifunc_invoke.
61838         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
61839         dl_hwcap to ifunc resolver.
61840         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
61842 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
61844         [BZ #14153]
61845         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
61846         for |x| <= 2**-26, not 2**-57.
61847         * math/libm-test.inc (acos_test): Do not allow spurious underflow
61848         exception.
61850 2012-05-24  Jeff Law  <law@redhat.com>
61852         * stdio-common/Makefile (tests): Add bug25.
61853         * stdio-common/bug25.c: New test.
61855 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
61857         [BZ #13576]
61858         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
61859         multiple of MALLOC_ALIGNMENT in size.
61860         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
61862 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
61864         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
61865         Require >= 256.
61866         (FILENAME_MAX): Use macro-int-constant.
61867         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
61868         (_IOFBF): Use macro-int-constant.
61869         (_IOLBF): Likewise.
61870         (_IONBF): Likewise.
61871         (SEEK_CUR): Likewise.
61872         (SEEK_END): Likewise.
61873         (SEEK_SET): Likewise.
61874         (TMP_MAX): Likewise.
61875         (EOF): Use macro-int-constant.  Require < 0.
61876         (NULL): Use macro-constant.  Require == 0.
61877         (stdin): Require type to be FILE *.
61878         (stdout): Likewise.
61879         (stderr): Likewise.
61880         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
61881         macro-int-constant.
61882         (EXIT_SUCCESS): Likewise.
61883         (NULL): Use macro-constant.  Require == 0.
61884         (RAND_MAX): Use macro-int-constant.
61885         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
61886         [C99-based standards] (strtof): Require function.
61887         [C99-based standards] (strtold): Likewise.
61888         [C99-based standards] (strtoll): Likewise.
61889         [C99-based standards] (strtoull): Likewise.
61890         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
61891         [ISO || ISO99 || ISO11] (limits.h): Likewise.
61892         [ISO || ISO99 || ISO11] (math.h): Likewise.
61893         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
61894         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
61895         [ISO || ISO99 || ISO11] (*_t): Do not allow.
61897 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
61899         [BZ #14132]
61900         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
61901         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
61902         * intl/dgettext.c (DCGETTEXT): Likewise.
61903         * intl/gettext.c (DCGETTEXT): Likewise.
61904         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
61905         * posix/regex_internal.h (gettext): Likewise.
61906         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
61907         Remove declaration.
61908         * include/argz.h (__argz_count_internal)
61909         (__argz_stringify_internal): Remove declaration.
61910         (__argz_count, __argz_stringify): Declare hidden proto.
61911         * intl/dcgettext.c: Remove use of INTDEF.
61912         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
61913         * string/argz-stringify.c: Likewise.
61914         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
61915         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
61916         Declare hidden proto.
61917         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
61918         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
61919         Declare hidden proto.
61920         * include/stdio.h (__asprintf_internal): Don't declare.
61921         (__asprintf): Don't define as macro.  Declare hidden proto.
61922         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
61923         (__fsetlocking): Declare hidden proto.
61924         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
61925         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
61926         hidden proto.
61927         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
61928         (_IO_setlinebuf): Remove use of INTUSE.
61929         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
61930         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
61931         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
61932         Remove declaration.
61933         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
61934         (_IO_do_flush): Remove use of INTUSE.
61935         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
61936         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
61937         (_IO_adjust_column, _IO_least_wmarker)
61938         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
61939         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
61940         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
61941         (_IO_default_doallocate, _IO_wdefault_doallocate)
61942         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
61943         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
61944         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
61945         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
61946         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
61947         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
61948         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
61949         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
61950         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
61951         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
61952         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
61953         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
61954         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
61955         proto.
61956         (_IO_flush_all_internal, _IO_adjust_column_internal)
61957         (_IO_default_uflow_internal, _IO_default_finish_internal)
61958         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
61959         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
61960         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
61961         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
61962         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
61963         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
61964         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
61965         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
61966         (_IO_file_close_internal, _IO_file_close_it_internal)
61967         (_IO_file_underflow_internal, _IO_file_overflow_internal)
61968         (_IO_file_init_internal, _IO_file_attach_internal)
61969         (_IO_file_fopen_internal, _IO_file_read_internal)
61970         (_IO_file_sync_internal, _IO_file_seek_internal)
61971         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
61972         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
61973         (_IO_str_underflow_internal, _IO_str_overflow_internal)
61974         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
61975         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
61976         (_IO_list_all_internal, _IO_link_in_internal)
61977         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
61978         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
61979         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
61980         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
61981         (_IO_do_write_internal, _IO_padn_internal)
61982         (_IO_getline_info_internal, _IO_getline_internal)
61983         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
61984         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
61985         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
61986         (_IO_vfscanf_internal, _IO_vfprintf_internal)
61987         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
61988         (_IO_init_internal, _IO_un_link_internal): Don't declare.
61989         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
61990         with libc_hidden_ver, remove use of INTUSE.
61991         * libio/genops.c: Likewise.
61992         * libio/freopen.c: Likewise.
61993         * libio/freopen64.c: Likewise.
61994         * libio/iofclose.c: Likewise.
61995         * libio/iofdopen.c: Likewise.
61996         * libio/iofflush.c: Likewise.
61997         * libio/iofflush_u.c: Likewise.
61998         * libio/iofgets.c: Likewise.
61999         * libio/iofgets_u.c: Likewise.
62000         * libio/iofopen.c: Likewise.
62001         * libio/iofopncook.c: Likewise.
62002         * libio/iofread.c: Likewise.
62003         * libio/iofread_u.c: Likewise.
62004         * libio/ioftell.c: Likewise.
62005         * libio/iofwrite.c: Likewise.
62006         * libio/iogetline.c: Likewise.
62007         * libio/iogets.c: Likewise.
62008         * libio/iogetwline.c: Likewise.
62009         * libio/iopadn.c: Likewise.
62010         * libio/iopopen.c: Likewise.
62011         * libio/ioseekoff.c: Likewise.
62012         * libio/ioseekpos.c: Likewise.
62013         * libio/iosetbuffer.c: Likewise.
62014         * libio/iosetvbuf.c: Likewise.
62015         * libio/ioungetc.c: Likewise.
62016         * libio/ioungetwc.c: Likewise.
62017         * libio/iovdprintf.c: Likewise.
62018         * libio/iovsprintf.c: Likewise.
62019         * libio/iovsscanf.c: Likewise.
62020         * libio/memstream.c: Likewise.
62021         * libio/obprintf.c: Likewise.
62022         * libio/oldfileops.c: Likewise.
62023         * libio/oldiofclose.c: Likewise.
62024         * libio/oldiofdopen.c: Likewise.
62025         * libio/oldiofopen.c: Likewise.
62026         * libio/oldiopopen.c: Likewise.
62027         * libio/oldstdfiles.c: Likewise.
62028         * libio/putc.c: Likewise.
62029         * libio/setbuf.c: Likewise.
62030         * libio/setlinebuf.c: Likewise.
62031         * libio/stdfiles.c: Likewise.
62032         * libio/strops.c: Likewise.
62033         * libio/vasprintf.c: Likewise.
62034         * libio/vscanf.c: Likewise.
62035         * libio/vsnprintf.c: Likewise.
62036         * libio/vswprintf.c: Likewise.
62037         * libio/wfiledoalloc.c: Likewise.
62038         * libio/wfileops.c: Likewise.
62039         * libio/wgenops.c: Likewise.
62040         * libio/wmemstream.c: Likewise.
62041         * libio/wstrops.c: Likewise.
62042         * libio/__fpurge.c: Likewise.
62043         * libio/__fsetlocking.c: Likewise.
62044         * assert/assert.c: Likewise.
62045         * debug/fgets_chk.c: Likewise.
62046         * debug/fgets_u_chk.c: Likewise.
62047         * debug/fread_chk.c: Likewise.
62048         * debug/fread_u_chk.c: Likewise.
62049         * debug/gets_chk.c: Likewise.
62050         * debug/obprintf_chk.c: Likewise.
62051         * debug/vasprintf_chk.c: Likewise.
62052         * debug/vdprintf_chk.c: Likewise.
62053         * debug/vsnprintf_chk.c: Likewise.
62054         * debug/vsprintf_chk.c: Likewise.
62055         * malloc/mtrace.c: Likewise.
62056         * misc/error.c: Likewise.
62057         * misc/syslog.c: Likewise.
62058         * stdio-common/asprintf.c: Likewise.
62059         * stdio-common/fxprintf.c: Likewise.
62060         * stdio-common/getw.c: Likewise.
62061         * stdio-common/isoc99_fscanf.c: Likewise.
62062         * stdio-common/isoc99_scanf.c: Likewise.
62063         * stdio-common/isoc99_vfscanf.c: Likewise.
62064         * stdio-common/isoc99_vscanf.c: Likewise.
62065         * stdio-common/isoc99_vsscanf.c: Likewise.
62066         * stdio-common/printf-prs.c: Likewise.
62067         * stdio-common/printf_fp.c: Likewise.
62068         * stdio-common/printf_fphex.c: Likewise.
62069         * stdio-common/printf_size.c: Likewise.
62070         * stdio-common/putw.c: Likewise.
62071         * stdio-common/scanf.c: Likewise.
62072         * stdio-common/sprintf.c: Likewise.
62073         * stdio-common/tmpfile.c: Likewise.
62074         * stdio-common/vfprintf.c: Likewise.
62075         * stdio-common/vfscanf.c: Likewise.
62076         * stdlib/strfmon_l.c: Likewise.
62077         * sunrpc/openchild.c: Likewise.
62078         * sunrpc/xdr_stdio.c: Likewise.
62079         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
62080         * sysdeps/mach/hurd/tmpfile.c: Likewise.
62082 2012-05-24  Roland McGrath  <roland@hack.frob.com>
62084         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
62086         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
62087         in the third column, to generate for the shared library an IFUNC
62088         that uses _dl_vdso_vsym.
62089         * Makerules (COMPILE.c, compile-stdin.c): New variables.
62090         * Makeconfig (object-suffixes-noshared): New variable.
62092         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
62093         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
62094         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
62095         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
62097         [BZ #14132]
62098         * include/sys/time.h (__gettimeofday): Remove macro.
62099         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
62100         * time/gettimeofday.c (__gettimeofday): Remove #undef.
62101         Remove INTDEF.
62102         (__gettimeofday): Add libc_hidden_def.
62103         (gettimeofday): Add libc_hidden_weak.
62104         * sysdeps/mach/gettimeofday.c: Likewise.
62105         * sysdeps/posix/gettimeofday.c: Likewise.
62106         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
62107         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
62108         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
62109         (__gettimeofday_internal): Remove strong_alias.
62110         (__gettimeofday): Add libc_hidden_def.
62111         (gettimeofday): Add libc_hidden_weak.
62112         * sysdeps/unix/syscalls.list (gettimeofday):
62113         Remove __gettimeofday_internal alias.
62115 2012-05-24  Daniel Jacobowitz  <drow@false.org>
62116             H.J. Lu  <hongjiu.lu@intel.com>
62118         [BZ #12495]
62119         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
62120         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
62121         (largebin_index_32_big): New.
62122         (largebin_index): Use it for 16-byte alignment.
62123         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
62124         correction with front_misalign.
62126 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
62128         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
62129         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
62130         Likewise.
62131         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
62132         Likewise.
62133         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
62134         Likewise.
62135         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
62136         Likewise.
62137         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
62138         Likewise.
62139         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
62140         Likewise.
62141         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
62142         Likewise.
62143         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
62144         Likewise.
62145         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
62146         Likewise.
62147         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
62148         Likewise.
62149         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
62150         Likewise.
62151         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
62152         Likewise.
62154         * scripts/data/c++-types-x32-linux-gnu.data: New file.
62155         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
62157 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
62159         [BZ #10846]
62160         [BZ #14036]
62161         * math/libm-test.inc (exp_test): Add test from bug 14036.
62162         (pow_test): Add test from bug 10846.
62164         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
62165         and other flags.
62166         (special_function): Do not include flags in test name.
62167         (parse_args): Likewise.
62168         * sysdeps/i386/fpu/libm-test-ulps: Update.
62169         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
62170         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
62171         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
62172         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62174         * math/gen-libm-test.pl (%beautify): Add entries for underflow
62175         exceptions.
62176         * math/libm-test.inc ("Philosophy"): Update comment about
62177         exception testing.
62178         (UNDERFLOW_EXCEPTION): New macro.
62179         (UNDERFLOW_EXCEPTION_OK): Likewise.
62180         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
62181         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
62182         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
62183         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
62184         (INVALID_EXCEPTION_OK): Update value.
62185         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
62186         (OVERFLOW_EXCEPTION_OK): Likewise.
62187         (IGNORE_ZERO_INF_SIGN): Likewise.
62188         (test_exceptions): Handle underflow exceptions.
62189         (acos_test): Update for underflow exception expectations.
62190         (cexp_test): Likewise.
62191         (clog_test): Likewise.
62192         (clog10_test): Likewise.
62193         (csqrt_test): Likewise.
62194         (ctan_test): Likewise.
62195         (ctanh_test): Likewise.
62196         (exp_test): Likewise.
62197         (exp10_test): Likewise.
62198         (exp2_test): Likewise.
62199         (expm1_test): Likewise.
62200         (fma_test): Likewise.
62201         (j0_test): Likewise.
62202         (jn_test): Likewise.
62203         (nexttoward_test): Likewise.
62204         (pow_test): Likewise.
62205         (scalbn_test): Likewise.
62206         (scalbln_test): Likewise.
62207         (tan_test): Likewise.
62208         (y1_test): Likewise.
62209         * sysdeps/i386/fpu/libm-test-ulps: Update.
62210         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62212 2012-05-23  David S. Miller  <davem@davemloft.net>
62214         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
62215         (__libc_sigaction): Remove unused local variables.
62217 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
62219         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
62221 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
62223         mktime: avoid signed integer overflow
62224         * time/mktime.c (__mktime_internal): Do not mishandle the case
62225         where diff == INT_MIN.
62227         mktime: simplify computation of average
62228         * time/mktime.c (ranged_convert): Use new time_t_avg function
62229         instead of rolling our own (probably-slower) code.
62231         mktime: do not assume signed right shift propagates sign bit
62232         * time/mktime.c (isdst_differ): New static function.
62233         (__mktime_internal): No need to normalize tm_isdst now.
62234         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
62235         tm_isdst values.
62237         mktime: merge another wrapv change from gnulib
62238         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
62239         from some compilers.
62241         mktime: remove incorrect attempt at unusual arithmetics
62242         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
62243         The code didn't really work on such machines anyway.
62244         (TYPE_MINIMUM): Assume two's complement.
62245         (twos_complement_arithmetic): Verify that long_int and time_t
62246         are two's complement (or unsigned, in the latter case).
62248         mktime: check signed shifts on long_int and time_t, too
62249         * time/mktime.c (SHR): Check that shifts work as desired
62250         on the types long_int and time_t too, as SHR is used on
62251         such types.
62253         mktime: do not assume 'long' is wide enough
62254         * time/mktime.c (verify): Move decl up.
62255         (long_int): New type.
62256         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
62257         to remove assumption in the code that 'long' is wide enough to
62258         store year values.  This assumption is not true on x32 and on
62259         some non-glibc platforms.
62261         mktime: merge wrapv change from gnulib
62262         * time/mktime.c (WRAPV): New macro.
62263         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
62264         (guess_time_tm, __mktime_internal): Do not assume that signed
62265         integer overflow wraps around; modern compilers generate code
62266         where this assumption is no longer valid.
62268 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
62270         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
62271         Replace "jmp L(pseudo_end)" with "ret".
62272         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
62273         Likewise.
62275 2012-05-23  Andreas Jaeger  <aj@suse.de>
62277         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
62278         * sysdeps/unix/sysv/linux/poll.c: Remove file.
62280 2012-05-23  Andreas Jaeger  <aj@suse.de>
62281             Maximilian Attems  <max@stro.at>
62283         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
62284         New macros.
62286 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
62288         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
62289         code so that pseudo_end is just ret and the stack pointer is
62290         correct also for static library in error case.
62292 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
62294         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
62295         move to syscalls.list.
62296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
62297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
62298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
62299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
62301         * manual/install.texi (Running make install): Do not mention Linux
62302         kernel version for which pt_chown is not needed.
62303         (Linux): Do not mention problems with nscd with 2.0 kernels.
62304         * INSTALL: Regenerated.
62306 2012-05-23  Andreas Jaeger  <aj@suse.de>
62308         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
62309         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
62310         macro.
62311         * sysdeps/unix/sysv/linux/s390/bits/mman.h
62312         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
62313         * sysdeps/unix/sysv/linux/sh/bits/mman.h
62314         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
62315         * sysdeps/unix/sysv/linux/i386/bits/mman.h
62316         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
62317         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
62318         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
62319         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
62320         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
62321         * sysdeps/unix/sysv/linux/bits/in.h
62322         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
62324 2012-05-22  Roland McGrath  <roland@hack.frob.com>
62326         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
62327         (PREPARE_VERSION): Just use assert instead, it will be elided
62328         under [NDEBUG] anyway.
62330 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
62332         * sysdeps/unix/sysv/linux/Makefile: Include
62333         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
62334         (sysdep_routines): Remove sysctl.
62335         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
62336         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
62337         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
62338         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
62339         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
62341 2012-05-22  Andreas Jaeger  <aj@suse.de>
62343         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
62344         that pseudo_end is just ret and the stack pointer is correct also
62345         for static library in error case.
62347 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
62349         [BZ #14122]
62350         * nss/nsswitch.c (defconfig_entries): New variable.
62351         (__nss_database_lookup): Don't leak defconfig entries.
62352         (nss_parse_service_list): Don't leak on error paths.
62353         (free_database_entries): New function.
62354         (free_defconfig): New function.
62355         (free_mem): Move common code to free_database_entries.
62357 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
62359         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
62360         Add arch_prctl.
62361         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
62363         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
62364         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
62365         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
62366         New macro.
62367         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
62368         (INTERNAL_SYSCALL_TYPES): Likewise.
62369         (LOAD_ARGS_TYPES_[1-6]): Likewise.
62370         (LOAD_REGS_TYPES_[1-6]): Likewise.
62371         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
62372         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
62374 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62376         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
62377         copysignl for GLIBC_2_0.
62378         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
62379         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
62380         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
62381         logbl for GLIBC_2_0.
62382         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
62383         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
62385 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
62387         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
62388         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
62390         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
62391         Use "neg %eax".
62393         * time/mktime.c: Update copyright years.
62395 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
62397         mktime: merge comment-quoting-style change from gnulib
62398         * time/mktime.c: Quote 'like this' in comments.
62399         The GNU coding standards suggest that we no longer quote `like this',
62400         as "`" and "'" are typically rendered asymmetrically nowadays.
62401         The typical gnulib style is to quote 'like this' when quoting
62402         code, and "like this" when quoting English.
62404         * time/mktime.c (compile-command): Add "-I.".
62406         mktime: merge mktime-internal.h change from gnulib
62407         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
62409         mktime: merge time_r change from gnulib
62410         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
62412         mktime: merge DEBUG change from gnulib
62413         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
62414         case system <time.h> has a #define.
62416         mktime: merge <sys/types.h> change from gnulib
62417         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
62418         since <time.t> is now guaranteed to define time_t.
62420         mktime: merge HAVE_CONFIG_H change from gnulib
62421         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
62423 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
62425         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
62426         Use "neg %eax".
62428         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
62429         __rlim_t cast.
62430         (struct rusage): Use anonymous union to pad each field to
62431         __syscall_slong_t.
62433 2012-05-21  David S. Miller  <davem@davemloft.net>
62435         * Makefules (o-iterator): Remove .s cases.
62436         (compile-command.s): Delete.
62437         (COMPILE.s): Delete.
62438         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
62440 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
62442         * configure.in (libc_cv_predef_stack_protector): Only consider
62443         "foobar" and "__stack_chk_fail" lines in libc_undefs.
62444         * configure: Regenerated.
62446 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
62448         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
62449         New macro.  Use R*LP on int and pointer.
62450         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
62451         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
62452         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
62453         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
62455         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
62456         [__WORDSIZE_TIME64_COMPAT32] instead of
62457         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
62458         (struct utmp): Likewise.
62459         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
62460         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
62461         Renamed to ...
62462         (__WORDSIZE_TIME64_COMPAT32): This.
62463         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
62464         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
62465         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
62466         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
62467         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
62468         (__WORDSIZE_TIME64_COMPAT32): New macro.
62470 2012-05-21  Andreas Jaeger  <aj@suse.de>
62472         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
62473         only if [SHARED]. Add prototype for __wcschr_ia32.
62475 2012-05-21  Roland McGrath  <roland@hack.frob.com>
62477         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
62478         of %rbp unmolested in the jmp_buf while mangling the low bits.
62479         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
62480         unmolested high bits of %rbp while demangling the low bits.
62481         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
62483 2012-05-21  Andreas Jaeger  <aj@suse.de>
62485         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
62486         * sunrpc/svc_simple.c: Use it for registerrpc.
62487         * sunrpc/xcrypt.c: Use it for passwd2des.
62489         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
62491 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
62493         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
62494         Don't define if [__SYSCALL_WORDSIZE != 32].
62495         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
62496         New macro.
62498 2012-05-21  Bruno Haible  <bruno@clisp.org>
62499             Andreas Jaeger  <aj@suse.de>
62501         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
62502         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
62503         inptr and inend for must_buffer_ch.
62504         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
62505         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
62506         * stdio-common/Makefile (tests): Remove bug15.
62507         (bug15-ENV): Remove macro.
62508         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
62509         anymore.
62511 2012-05-19  Andreas Jaeger  <aj@suse.de>
62512             Roland McGrath  <roland@hack.frob.com>
62514         * manual/contrib.texi: Completely rewritten. It contains now an
62515         alphabetical list of contributors and their contributions.
62517 2012-05-21  Richard Henderson  <rth@twiddle.net>
62519         * misc/getauxval.c (__getauxval): Use unsigned long int.
62520         * misc/sys/auxv.h: Include <sys/cdefs.h>.
62521         (getauxval): Use unsigned long int.
62523 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
62525         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
62527 2012-05-21  Roland McGrath  <roland@hack.frob.com>
62529         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
62530         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
62531         __alignof__ (long double).
62533 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62535         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62537 2012-05-20  Richard Henderson  <rth@twiddle.net>
62539         * misc/getauxval.c: New file.
62540         * misc/sys/auxv.h: New file.
62541         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
62542         (routines): Add getauxval.
62543         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
62544         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
62545         * elf/dl-sysdep.c (_dl_auxv): Remove.
62546         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
62547         * elf/dl-support.c (_dl_auxv): New variable.
62548         (_dl_aux_init): Initialize it.
62549         * manual/startup.texi (Auxiliary Vector): New node.
62550         * sysdeps/generic/bits/hwcap.h: New file.
62551         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
62552         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
62553         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
62554         * sysdeps/sparc/sysdep.h: ... here.  Include it.
62555         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
62556         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
62557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
62558         Update.
62559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
62560         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
62561         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
62562         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
62563         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
62564         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
62565         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
62566         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
62568 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62570         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62572 2012-05-19  David S. Miller  <davem@davemloft.net>
62574         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62576 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
62578         [BZ #14123]
62579         * math/s_ccosh.c: Include <float.h>
62580         (__ccosh): Avoid internal overflow calculating sinh and cosh
62581         values before multiplying by sin and cos values.
62582         * math/s_ccoshf.c: Likewise.
62583         * math/s_ccoshl.c: Likewise.
62584         * math/s_csin.c: Likewise.
62585         * math/s_csinf.c: Likewise.
62586         * math/s_csinl.c: Likewise.
62587         * math/s_csinh.c: Likewise.
62588         * math/s_csinhf.c: Likewise.
62589         * math/s_csinhl.c: Likewise.
62590         * math/libm-test.inc (ccos_test): Add more tests.
62591         (ccosh_test): Likewise.
62592         (csin_test): Likewise.
62593         (csinh_test): Likewise.
62594         * sysdeps/i386/fpu/libm-test-ulps: Update.
62595         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62597 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
62599         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
62600         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
62602         * sysdeps/x86_64/x32/_itoa.h: Add comment.
62604 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
62606         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
62607         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
62608         * sysdeps/powerpc/soft-fp/Versions: Likewise.
62609         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
62610         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
62611         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
62612         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
62613         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
62614         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
62615         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
62616         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
62617         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
62618         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
62619         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
62620         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
62621         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
62622         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
62623         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
62624         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
62625         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
62626         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
62627         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
62628         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
62629         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
62630         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
62631         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
62632         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
62633         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
62634         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
62635         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
62636         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
62638 2012-05-18  Andreas Jaeger  <aj@suse.de>
62640         * csu/.gitignore: Delete.
62642 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
62644         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
62645         (timex): Use __syscall_slong_t.
62647 2012-05-18  Andreas Jaeger  <aj@suse.de>
62648             Carlos O'Donell  <carlos_odonell@mentor.com>
62650         * manual/install.texi (Configuring and compiling): Update
62651         description about files modified in the source directory.
62652         * INSTALL: Regenerated.
62654 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
62656         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
62657         value.  Use "or" to set return value to -1.
62658         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
62659         negate return value.
62661 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
62663         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
62664         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
62665         failure if the compiler has Graphite support disabled.
62666         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
62667         Likewise.
62668         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
62669         (CFLAGS-memmove.c): Likewise.
62670         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
62671         Likewise.
62673 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
62675         * sysdeps/x86_64/x32/_itoa.h: New file.
62677         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
62678         getdents system call only if kernel and user dirents have the
62679         same d_ino and d_off.
62681         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
62682         LLONG_MAX != LONG_MAX.
62683         (_itoa_word): Use _ITOA_WORD_TYPE on value.
62684         (_fitoa_word): Likewise.
62686         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
62687         years.
62688         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
62689         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
62690         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
62692         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
62693         include <bits/wordsize.h>.  Check __x86_64__ instead of
62694         __WORDSIZE.
62695         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
62696         if __x86_64__ is defined.  Use anonymous union on fpstate.
62698         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
62699         anonymous union.
62701 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
62703         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
62704         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
62705         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
62706         Refer to _rtld_local_ro instead of _rtld_global_ro.
62707         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
62708         Likewise.
62709         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
62710         Likewise.
62711         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
62712         Likewise.
62713         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
62714         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
62715         of _rtld_global, and rtld_progname instead of _dl_argv[0].
62717         [BZ #10882]
62718         * sysdeps/powerpc/powerpc32/dl-machine.c
62719         (__elf_machine_runtime_setup) [PROF]: Don't reference
62720         _dl_prof_resolve.
62722 2012-05-18  Andreas Jaeger  <aj@suse.de>
62724         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
62725         function only available for GCCs before 3.4 since GCC 3.4
62726         introduced a builtin.
62727         (lrint): Likewise.
62728         (llrintf): Likewise.
62729         (llrint): Likewise.
62730         (fmaxf): Likewise.
62731         (fmax): Likewise.
62732         (fminf): Likewise.
62733         (fmin): Likewise.
62734         (rint): Likewise.
62735         (rintf): Likewise.
62736         (nearbyint): Likewise.
62737         (nearbyintf): Likewise.
62738         (ceil): Likewise.
62739         (ceilf): Likewise.
62740         (floor): Likewise.
62741         (floorf): Likewise.
62743 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
62745         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
62746         on both fields and cast pointer to __syscall_ulong_t.
62748         * bits/types.h (__fsword_t): New type.
62749         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
62750         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
62751         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
62752         (__FSWORD_T_TYPE): Likewise.
62753         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
62754         (__FSWORD_T_TYPE): Likewise.
62755         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
62756         (__FSWORD_T_TYPE): Likewise.
62757         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
62758         (__FSWORD_T_TYPE): Likewise.
62759         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
62760         __SWORD_TYPE with __fsword_t.
62761         (statfs64): Likewise.
62763 2012-05-17  David S. Miller  <davem@davemloft.net>
62765         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
62767 2012-05-17  Andreas Jaeger  <aj@suse.de>
62769         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
62770         warning.
62772 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
62774         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
62776 2012-05-17  Andreas Jaeger  <aj@suse.de>
62778         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
62779         when it is used.
62781 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
62783         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
62785 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
62787         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
62788         * sysdeps/x86_64/tst-mallocalign1.c: New file.
62790 2012-05-17  Andreas Jaeger  <aj@suse.de>
62791             Carlos O'Donell  <carlos_odonell@mentor.com>
62793         [BZ #14059]
62794         * sysdeps/x86_64/multiarch/init-arch.h
62795         (bit_YMM_Usable): Rename to...
62796         (bit_AVX_Usable): ... this.
62797         (bit_FMA4_Usable): New macro.
62798         (bit_XMM_state): New macro.
62799         (bit_YMM_state): New macro.
62800         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
62801         [__ASSEMBLER__] (index_AVX_Usable): ... this.
62802         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
62803         (CPUID_OSXSAVE): New macro.
62804         (CPUID_AVX): New macro.
62805         (CPUID_FMA4): New macro.
62806         (index_YMM_Usable): Rename to...
62807         (index_AVX_Usable): ... this.
62808         (HAS_AVX): Use HAS_ARCH_FEATURE.
62809         (HAS_FMA4): Likewise.
62810         (HAS_YMM_USABLE): Remove.
62811         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62812         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
62813         are present.
62814         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
62815         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
62816         * sysdeps/x86_64/multiarch/Makefile: Likewise.
62817         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
62818         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
62820 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
62822         * math/libm-test.c: Support platforms without multiple rounding modes.
62823         * math/bug-nextafter.c: Support platforms without FP exceptions.
62824         * math/bug-nexttoward.c: Likewise.
62825         * math/test-fenv.c: Likewise.
62826         * math/test-misc.c: Likewise.
62827         * stdlib/bug-getcontext.c: Likewise.
62829 2012-05-17  Andreas Jaeger  <aj@suse.de>
62831         * manual/examples/search.c (critter_cmp): Change signature to
62832         avoid warnings.
62833         * manual/string.texi (Collation Functions): Likewise.
62835 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
62837         * bits/types.h: Fold copyright years.
62838         * bits/typesizes.h: Likewise.
62839         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
62840         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
62841         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
62842         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
62843         * time/time.h: Likewise.
62845 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
62847         [BZ #208]
62848         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
62849         in instead of returning them.  Return void.
62850         (__libc_mallinfo): Accumulate over all arenas.
62851         (__malloc_stats): Adjust for change in int_mallinfo interface.
62853 2012-05-16  Roland McGrath  <roland@hack.frob.com>
62855         [BZ #10375]
62856         * configure.in (NM): Add AC_CHECK_TOOL for it.
62857         (libc_extra_cflags): New substituted variable.
62858         Check for -fstack-protector being used implicitly.
62859         * configure: Regenerated.
62860         * config.make.in (config-extra-cflags): New variable,
62861         gets @libc_extra_cflags@.
62862         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
62864         [BZ #10375]
62865         * configure.in: Check for _FORTIFY_SOURCE being predefined.
62866         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
62867         * configure: Regenerated.
62868         * config.make.in (CPPUNDEFS): New substituted variable.
62869         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
62870         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
62871         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
62873 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
62875         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
62876         (mq_attr): Use __syscall_slong_t.
62878 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
62880         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
62881         Check __x86_64__ instead of __WORDSIZE.
62882         (_STAT_VER_LINUX): Likewise.
62883         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
62884         __syscall_ulong_t and __syscall_slong_t.
62885         (stat64): Likewise.
62887 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
62889         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
62891 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
62893         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
62895 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
62897         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
62898         __syscall_ulong_t.
62900         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
62901         include <bits/wordsize.h>.  Check __x86_64__ instead of
62902         __WORDSIZE.
62903         (greg_t): Use "__extension__ long long int" if __x86_64__ is
62904         defined.
62905         (mcontext_t): Replace "unsigned long" with "unsigned long long".
62907         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
62908         include <bits/wordsize.h>.  Check __x86_64__ instead of
62909         __WORDSIZE.
62910         (user_regs_struct): Use "__extension__ unsigned long long"
62911         instead of "unsigned long" if __x86_64__ is defined.
62912         (user): Likewise.  Pad after pointer field if __ILP32__ is
62913         defined.
62915 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
62917         * configure.in (makeinfo): Require version 4.5 or later.  Allow
62918         versions 5 to 9.
62919         * configure: Regenerated.
62920         * manual/install.texi (texinfo): Increase version requirement to
62921         4.5 or later.
62922         * INSTALL: Regenerated.
62924         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
62926 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
62928         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
62930         * sysdeps/x86_64/x32/ffs.c: New file.
62932         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
62933         __syscall_ulong_t.
62934         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
62935         defined.  Use __syscall_ulong_t.
62936         (shminfo): Use __syscall_ulong_t.
62937         (shm_info): Likewise.
62939         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
62940         __syscall_ulong_t.
62942         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
62943         <bits/wordsize.h>.
62944         (msgqnum_t): Use __syscall_ulong_t.
62945         (msglen_t): Likewise.
62946         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
62947         __syscall_ulong_t.
62949         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
62950         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
62952         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
62954         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
62955         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
62957         * sysvipc/sys/msg.h (msgbuf): Replace long int with
62958         __syscall_slong_t.
62960         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
62961         include <bits/wordsize.h>.  Check __x86_64__ instead of
62962         __WORDSIZE.
62964         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
62965         "unsigned long long int" if __x86_64__ is defined.
62966         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
62968         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
62969         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
62970         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
62972         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
62973         <stdint.h>.
62974         (GET_PC): Cast to uintptr_t first.
62975         (GET_FRAME): Likewise.
62976         (GET_STACK): Likewise.
62978         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
62979         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
62980         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
62981         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
62982         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
62983         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
62984         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
62985         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
62986         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
62987         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
62988         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
62989         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
62990         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
62991         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
62992         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
62993         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
62994         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
62995         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
62996         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
62997         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
62998         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
62999         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
63000         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
63001         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
63002         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
63003         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
63004         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
63005         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
63006         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
63008 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
63010         * Makerules (+depfiles): Also collect depfiles from .oS in
63011         $(extra-objs).
63012         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
63013         .oS, $(libnldbl-routines)).
63015         * Makerules (native-compile-mkdep-flags): Define.
63016         * sunrpc/Makefile (extra-objs): Add $(addprefix
63017         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
63018         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
63019         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
63020         calling $(make-target-directory).
63022 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63024         * bits/types.h (__snseconds_t): Removed.
63025         * time/time.h (struct timespec): Replace __snseconds_t with
63026         __syscall_slong_t.
63027         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
63028         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
63029         Likewise.
63030         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
63031         (__SNSECONDS_T_TYPE): Likewise.
63032         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
63033         (__SNSECONDS_T_TYPE): Likewise.
63034         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
63035         (__SNSECONDS_T_TYPE): Likewise.
63037 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63039         * sysdeps/mach/hurd/bits/typesizes.h
63040         (__SYSCALL_SLONG_TYPE): New macro.
63041         (__SYSCALL_ULONG_TYPE): Likewise.
63043 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63045         * bits/types.h (__syscall_slong_t): New type.
63046         (__syscall_ulong_t): Likewise.
63048         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
63049         (__SYSCALL_ULONG_TYPE): Likewise.
63050         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
63051         (__SYSCALL_SLONG_TYPE): Likewise.
63052         (__SYSCALL_ULONG_TYPE): Likewise.
63053         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
63054         (__SYSCALL_SLONG_TYPE): Likewise.
63055         (__SYSCALL_ULONG_TYPE): Likewise.
63056         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
63057         (__SYSCALL_SLONG_TYPE): Likewise.
63058         (__SYSCALL_ULONG_TYPE): Likewise.
63060 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63062         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
63063         Add sigaltstack-offsets.sym.
63064         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
63065         <sigaltstack-offsets.h>.
63066         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
63067         longjmp_msg pointer.
63068         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
63069         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
63070         signal stack.
63071         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
63073 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
63075         * elf/stackguard-macros.h: Remove file.
63076         * sysdeps/generic/stackguard-macros.h: New file.
63077         * sysdeps/i386/stackguard-macros.h: Likewise.
63078         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
63079         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
63080         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
63081         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
63082         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
63083         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
63084         * sysdeps/x86_64/stackguard-macros.h: Likewise.
63085         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
63086         <elf/stackguard-macros.h>.
63088         [BZ #14109]
63089         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
63090         __aligned__ in attribute.
63091         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
63092         (gregset_t): Likewise.
63094 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63096         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
63097         * sysdeps/x86_64/64/Implies-after: Here.  New file.
63098         * sysdeps/x86_64/x32/Implies-after: New file.
63100 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63102         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
63103         and access return value for _dl_profile_fixup.  Use R10_LP to
63104         load frame size.
63106 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63108         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
63110 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63112         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
63113         * sysdeps/x86_64/x32/sysdep.h: New file.
63115 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63117         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
63118         * sysdeps/x86_64/setjmp.S: Likewise.
63120 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63122         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
63123         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
63124         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
63125         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
63126         remove unused global constant.
63128 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
63130         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
63131         include of <not-cancel.h>.
63133 2012-05-15  Roland McGrath  <roland@hack.frob.com>
63135         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
63137 2012-05-15  Jeff Law  <law@redhat.com>
63138             Andreas Jaeger  <aj@suse.de>
63140         [BZ #13594]
63141         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
63142         out from...
63143         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
63144         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
63145         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
63146         code changing __hst_map_handle.map.
63148 2012-05-15  Roland McGrath  <roland@hack.frob.com>
63150         * configure.in (sysnames): Look for Implies-before and Implies-after
63151         files.
63152         * configure: Regenerated.
63154 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63156         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
63157         8-byte data alignment with LP_SIZE alignment.
63159 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63161         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
63162         into R10_LP.
63164 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63166         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
63168 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63170         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
63171         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
63172         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
63173         Likewise.
63174         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
63176 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63178         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
63179         (stackinfo_sub_sp): Likewise.
63181 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63183         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
63184         RAX_LP.
63186 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63188         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
63189         into R*_LP.
63191 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63193         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
63194         sizes into R*_LP.
63196 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63198         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
63200 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63202         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
63203         into R11_LP and load __x86_64_shared_cache_size_half into
63204         R8_LP.
63206 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63208         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
63209         R8_LP.
63211 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63213         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
63214         logb for POWER7.
63215         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
63216         logbf for POWER7.
63217         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
63218         logbl for POWER7.
63219         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
63220         powerpc32/power7/fpu/s_logb.c via #include.
63221         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
63222         powerpc32/power7/fpu/s_logbf.c via #include.
63223         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
63224         powerpc32/power7/fpu/s_logbl.c via #include.
63226 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
63228         * README.libm: Remove file.
63230 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63232         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
63233         count for x32.  Use R*_LP and omit operand-size suffix.
63235 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63237         * shlib-versions: Move x86_64-.*-linux.* entries to ...
63238         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
63239         * sysdeps/x86_64/x32/shlib-versions: New file.
63241 2012-05-14  Roland McGrath  <roland@hack.frob.com>
63243         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
63244         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
63245         Use _dl_fatal_printf instead.
63247 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
63249         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
63250         set if not set by the user.  Do not allow for being unset.
63251         * sysdeps/unix/sysv/linux/configure: Regenerated.
63253 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63255         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
63256         the `q' suffix from lea and replace .quad with ASM_ADDR.
63258 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63260         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
63261         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
63262         instead of $17.
63263         (PTR_DEMANGLE): Likewise.
63265 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63267         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
63268         (LP_OP): Likewise.
63269         (ASM_ADDR): Likewise.
63270         (RAX_LP): Likewise.
63271         (RBP_LP): Likewise.
63272         (RBX_LP): Likewise.
63273         (RCX_LP): Likewise.
63274         (RDI_LP): Likewise.
63275         (RSI_LP): Likewise.
63276         (RSP_LP): Likewise.
63277         (R8_LP): Likewise.
63278         (R9_LP): Likewise.
63279         (R10_LP): Likewise.
63280         (R10_LP): Likewise.
63281         (R11_LP): Likewise.
63282         (R12_LP): Likewise.
63283         (R13_LP): Likewise.
63284         (R14_LP): Likewise.
63285         (R15_LP): Likewise.
63287 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63289         * sysdeps/x86_64/x32/dl-machine.h: New file.
63291 2012-05-14  Andreas Jaeger  <aj@suse.de>
63293         * manual/Makefile (subdir): Remove export of subdir.
63294         (all): Remove target.
63295         (.PHONY): Remove all from list.
63296         (mkinstalldirs): Remove.
63297         (.PHONY): Remove installdirs from list.
63298         ($(inst_infodir)/libc.info): Use make-target-directory.
63299         (installdirs): Remove.
63300         (subdir_%): Remove.
63301         (glibc-targets): Remove.
63302         (lib): Remove.
63303         (stubs): Remove.
63304         ($(objpfx)stubs ../po/manual.pot): Remove.
63305         ($(objpfx)stamp%): Remove.
63306         (make-target-directory): Remove.
63307         (subdir_install): Remove.
63308         (routines): Remove.
63309         (aux): Remove.
63310         (sources): Remove.
63311         (objects): Remove.
63312         (headers): Remove.
63314         [BZ #13750]
63315         * manual/.gitignore: Remove, it's not needed anymore.
63316         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
63317         all files in it.
63318         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
63319         directory.
63320         (texis): Renamed to $(objpfx)texis.
63321         (texis-path): New, contains path to generated files.
63322         (chapters.%): Use texis-path for complete path, add extra argument
63323         libc-texinfo.sh.
63324         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
63325         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
63326         (summary,texi, stamp-summary): Use complete path of
63327         files. Generate files in build dir.
63328         (dir-add.texi): Build in build dir.
63329         (libm-err.texi,stamp-libm-err): Likewise.
63330         (version.texi, stamp-version): Likewise.
63331         (.%c.texi): Likewise.
63332         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
63333         (mostlyclean): Remove target.
63334         (realclean): Remove target.
63335         (generated): Add new variable with contents from mostlyclean and
63336         realclean, remove entries duplicated in common-mostlyclean, add
63337         stamp-libm-err and stamp-version.
63338         (generated-dirs): Add libc directory.
63339         ($(inst_infodir)/libc.info): Install files from build dir.
63341         * manual/install.texi (Configuring and compiling): Adjust since
63342         the info files are not part of the tar ball anymore.
63344 2012-05-14  Andreas Jaeger  <aj@suse.de>
63346         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
63347         variable.
63349 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
63351         [BZ #13717]
63352         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
63353         to 2.2.0 where earlier.
63354         * sysdeps/unix/sysv/linux/configure: Regenerated.
63355         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
63356         Remove conditional code.
63357         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
63358         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
63359         Remove conditional code.
63360         [!__NR_lchown]: Likewise.
63361         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
63362         [__NR_lchown]: Likewise.
63363         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
63364         comment referencing __ASSUME_LCHOWN_SYSCALL.
63365         * sysdeps/unix/sysv/linux/i386/sigaction.c
63366         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
63367         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
63368         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
63369         Remove conditional code.
63370         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
63371         (__protocol_available): Remove #if 0 code.
63372         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
63373         conditional code.
63374         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
63375         * sysdeps/unix/sysv/linux/kernel-features.h
63376         (__ASSUME_GETCWD_SYSCALL): Don't define.
63377         (__ASSUME_REALTIME_SIGNALS): Likewise.
63378         (__ASSUME_PREAD_SYSCALL): Likewise.
63379         (__ASSUME_PWRITE_SYSCALL): Likewise.
63380         (__ASSUME_POLL_SYSCALL): Likewise.
63381         (__ASSUME_LCHOWN_SYSCALL): Likewise.
63382         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
63383         non-SPARC.
63384         (__ASSUME_SIOCGIFNAME): Don't define.
63385         (__ASSUME_MSG_NOSIGNAL): Likewise.
63386         (__ASSUME_SENDFILE): Define unconditionally.
63387         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
63388         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
63389         conditional code.
63390         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
63391         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
63392         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
63393         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
63394         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
63395         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
63396         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
63397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
63398         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
63399         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
63401         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
63402         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
63404         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
63405         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
63407         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
63408         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
63410         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
63411         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
63413         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
63414         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
63416         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
63417         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
63419         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
63420         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63421         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
63422         Remove conditional code.
63423         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63424         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
63425         Remove conditional code.
63426         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63427         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
63428         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
63429         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
63430         Remove conditional code.
63431         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63432         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
63433         Remove conditional code.
63434         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63435         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
63436         Remove conditional code.
63437         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63438         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
63439         Remove conditional code.
63440         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63441         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
63442         Remove conditional code.
63443         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63444         * sysdeps/unix/sysv/linux/sh/pwrite64.c
63445         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
63446         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63447         * sysdeps/unix/sysv/linux/sigaction.c
63448         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
63449         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
63450         * sysdeps/unix/sysv/linux/sigpending.c
63451         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
63452         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
63453         * sysdeps/unix/sysv/linux/sigprocmask.c
63454         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
63455         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
63456         * sysdeps/unix/sysv/linux/sigsuspend.c
63457         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
63458         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
63459         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
63460         (__libc_missing_rt_sigs): Remove.
63461         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
63462         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
63463         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
63464         Remove conditional code.
63465         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
63466         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
63467         return 1.
63468         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
63469         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
63470         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
63471         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
63473 2012-05-14  Andreas Jaeger  <aj@suse.de>
63475         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
63476         it's not used in glibc.
63477         (__coshm1): Likewise.
63478         (__acosh1p): Likewise.
63479         (__sgn): Likewise.
63481         * manual/string.texi (Copying and Concatenation): Add missing
63482         variable in concat example.
63483         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
63485 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63487         [BZ #14103]
63488         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
63489         __builtin_clzl with __builtin_clzll.
63491 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63493         [BZ #14104]
63494         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
63495         libc_freeres_ptr.
63497 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63499         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
63500         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
63501         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
63502         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
63504 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
63506         * NEWS: Update ia64 info.
63508 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
63510         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
63511         used as bcopy.
63513 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
63515         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
63516         * sysdeps/unix/syscalls.list (dup3): Likewise.
63517         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
63518         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
63520 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
63522         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
63523         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
63525 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
63527         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
63528         thread pointer.
63529         (TLS_IE): Use mov/add instead of movq/addq to load thread
63530         pointer.
63531         (TLS_GD_PREFIX): New.
63532         (TLS_GD): Use it.
63534 2012-05-11  David S. Miller  <davem@davemloft.net>
63536         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
63537         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
63538         (_FPU_SETCW): Likewise.
63540 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
63542         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
63543         is 32-byte aligned.
63545 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
63547         [BZ #11837]
63548         * iconvdata/gb18030.c: Update tables.
63549         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
63550         characters specially.
63551         (BODY for TO_LOOP): Add encoding of missing ranges.
63553 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
63555         [BZ #13673]
63556         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
63557         * sysdeps/mach/hurd/dup3.c: Likewise.
63558         * sysdeps/mach/hurd/readlinkat.c: Likewise.
63559         * sysdeps/powerpc/memmove.c:: Likewise.
63561 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
63563         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
63564         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
63566 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
63568         * elf/elf.h (R_X86_64_RELATIVE64): New.
63569         (R_X86_64_NUM): Updated.
63570         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
63571         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
63572         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
63573         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
63574         tst-quad1pie tst-quad2pie
63575         (modules-names): Add tst-quadmod1 tst-quadmod2.
63576         ($(objpfx)tst-quad1): New dependency.
63577         ($(objpfx)tst-quad2): Likewise.
63578         ($(objpfx)tst-quad1pie): Likewise.
63579         ($(objpfx)tst-quad2pie): Likewise.
63580         * sysdeps/x86_64/tst-quad1.c: New file.
63581         * sysdeps/x86_64/tst-quad1pie.c: New file.
63582         * sysdeps/x86_64/tst-quad2.c: Likewise.
63583         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
63584         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
63585         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
63586         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
63587         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
63589 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63591         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
63592         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
63593         * streams/stropts.h (t_scalar_t): Define type.
63595         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
63596         (_PATH_PRESERVE): Set to "/var/lib".
63597         (_PATH_RWHODIR): Set to "/var/spool/rwho".
63599         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
63600         instead of int.
63602         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
63603         if __dir_mkfile succeeded.
63605         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
63606         checking for _hurd_dtablesize.  Unlock it right after having
63607         finished _hurd_dtable allocation.
63609 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63611         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
63612         * sysdeps/mach/hurd/configure: Regenerated.
63613         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
63614         special-casing to...
63615         * sysdeps/gnu/configure.in: ... this new file.
63616         * sysdeps/unix/sysv/linux/configure: Regenerated.
63617         * sysdeps/gnu/configure: New generated file.
63619         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
63620         for Linux: use nsec instead of usec, as well as:
63621         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
63622         members of type struct timespec.
63623         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
63624         New macros.
63625         (struct stat64): Likewise.
63626         (_STATBUF_ST_NSEC): New macro.
63627         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
63629         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
63630         __strtoul_internal rather than strtoul.
63632 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
63634         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
63635         and reject them.
63637 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63639         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
63640         which preserves existing values.
63641         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
63643 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
63645         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
63646         TIMEOUT values.  Return EINVAL for NFDS values either negative or
63647         greater than FD_SETSIZE.
63649 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63651         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
63652         allocated, call __vm_protect to finish enabling the existing space, and
63653         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
63654         allocate the remainder.
63656 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
63658         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
63659         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
63661 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63663         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
63664         sysdeps/mach/hurd/readlink.c.
63666         * posix/tst-sysconf.c (posix_options): Only use
63667         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
63668         _POSIX_SYNCHRONIZED_IO when they are defined
63669         * sysdeps/mach/hurd/bits/posix_opt.h:
63670         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
63671         (_XOPEN_REALTIME): Undefine macro.
63672         (_XOPEN_REALTIME_THREADS): Undefine macro.
63673         (_XOPEN_SHM): Undefine macro.
63674         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
63675         macro to -1.
63676         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
63677         macro to -1.
63678         (_POSIX_ASYNC_IO): Undefine macro.
63679         (_POSIX_PRIORITIZED_IO): Undefine macro.
63680         (_POSIX_SPIN_LOCKS): Define macro to -1.
63682         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
63683         SA_NODEFER, SA_RESETHAND.
63684         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
63685         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
63686         F_DUPFD_CLOEXEC.
63688 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63690         * elf/Makefile (pldd-modules): Define unconditionally.
63692 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63694         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
63696 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63698         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
63699         Return ENOENT when name is empty.
63700         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
63702 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63704         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
63706         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
63708 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63710         Fix mlock in all cases except non-readable pages.
63711         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
63712         instead of VM_PROT_ALL as parameter to __vm_wire function.
63714         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
63715         (__mkdir): When path is `/', just fail with EEXIST.
63716         * sysdeps/mach/hurd/mkdirat.c: Likewise.
63718 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63720         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
63721         <sys/uio.h> (for writev).
63722         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
63723         and <sys/param.h> (for MIN).
63725 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
63727         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
63728         REQUESTED_TIME.  Properly set the remaining time and return EINTR
63729         if interrupted.
63731 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63733         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
63734         Depend on against $(link-rpcuserlibs).
63736 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63738         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
63739         (__libc_stack_end): Do not use attribute_relro.
63740         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
63741         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
63742         to libthread-provided value.
63743         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
63744         attribute_relro.
63746 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63748         [BZ #3748]
63749         * bits/libc-lock.h (__libc_once_get): New macro.
63750         * sysdeps/mach/bits/libc-lock.h: Likewise.
63751         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
63752         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
63753         instead of using implementation details.
63755         * libio/fileops.c: Unconditionally include <kernel-features.h>.
63756         * libio/freopen.c: Likewise.
63757         * libio/freopen64.c: Likewise.
63758         * misc/syslog.c: Likewise.
63759         * nscd/connections.c: Likewise.
63760         * nscd/netgroupcache.c: Likewise.
63761         * sysdeps/posix/getcwd.c: Likewise.
63763 2012-05-10  Roland McGrath  <roland@hack.frob.com>
63765         * math/w_ilogbf.c: Add #include <limits.h>.
63767 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63769         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
63770         path instead of returning without unlocking.
63772         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
63773         immediate-write ioctls.
63774         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
63776 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63778         * sysdeps/mach/hurd/i386/init-first.c (init): Use
63779         __builtin_frame_address instead of making assumptions about the
63780         location of the return address relative to DATA.  Force early load of
63781         the return address.
63782         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
63783         __builtin_frame_address.
63785         dup3 for GNU Hurd.
63786         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
63787         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
63788         implement dup3 and do some further code clean-ups.
63789         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
63790         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
63792 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63794         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
63796         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
63797         HURD_CRITICAL_END around holding _hurd_dtable_lock.
63798         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
63799         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
63800         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
63801         d->port.lock.
63803         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
63804         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
63805         when handler == SIG_ERR, not when handler != SIG_ERR.
63807 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63809         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
63810         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
63811         definitions.
63813         accept4 for GNU Hurd.
63814         * include/sys/socket.h (__libc_accept4): New prototype.
63815         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
63816         to implement __libc_accept4.
63817         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
63818         __libc_accept4.
63819         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
63821         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
63822         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
63823         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
63824         signal-defines.sym.
63826 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63828         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
63830 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63832         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
63833         assertion on O_CLOEXEC flag.
63834         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
63835         * hurd/intern-fd.c: Likewise.
63836         * hurd/port2fd.c: Likewise.
63838 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63840         [BZ #3906]
63841         * bits/in.h (IPV6_PKTINFO): Define new macro.
63842         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
63844 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63846         [BZ #13954]
63847         [BZ #13955]
63848         [BZ #13956]
63849         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
63850         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
63851         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
63852         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
63853         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
63854         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
63855         * math/libm-test.inc (logb_test) : Additional logb tests.
63857 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
63858             Andreas Jaeger  <aj@suse.de>
63860         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
63861         * configure: Regenerated.
63862         * config.h.in (LINK_OBSOLETE_RPC): New macro.
63863         * config.make.in (link-obsolete-rpc): New substituted variable.
63864         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
63865         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
63866         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
63867         (shared-only-routines): Don't set it under [link-obsolete-rpc],
63868         so that libc.a contains the symbols.
63869         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
63870         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
63871         * sunrpc/auth_none.c: Likewise.
63872         * sunrpc/auth_unix.c: Likewise.
63873         * sunrpc/authdes_prot.c: Likewise.
63874         * sunrpc/authuxprot.c: Likewise.
63875         * sunrpc/clnt_gen.c: Likewise.
63876         * sunrpc/clnt_perr.c: Likewise.
63877         * sunrpc/clnt_raw.c: Likewise.
63878         * sunrpc/clnt_simp.c: Likewise.
63879         * sunrpc/clnt_tcp.c: Likewise.
63880         * sunrpc/clnt_udp.c: Likewise.
63881         * sunrpc/clnt_unix.c: Likewise.
63882         * sunrpc/des_crypt.c: Likewise.
63883         * sunrpc/des_soft.c: Likewise.
63884         * sunrpc/get_myaddr.c: Likewise.
63885         * sunrpc/key_call.c: Likewise.
63886         * sunrpc/key_prot.c: Likewise.
63887         * sunrpc/netname.c: Likewise.
63888         * sunrpc/pm_getmaps.c: Likewise.
63889         * sunrpc/pm_getport.c: Likewise.
63890         * sunrpc/pmap_clnt.c: Likewise.
63891         * sunrpc/pmap_prot.c: Likewise.
63892         * sunrpc/pmap_prot2.c: Likewise.
63893         * sunrpc/pmap_rmt.c: Likewise.
63894         * sunrpc/publickey.c: Likewise.
63895         * sunrpc/rpc_cmsg.c: Likewise.
63896         * sunrpc/rpc_common.c: Likewise.
63897         * sunrpc/rpc_dtable.c: Likewise.
63898         * sunrpc/rpc_prot.c: Likewise.
63899         * sunrpc/rpc_thread.c: Likewise.
63900         * sunrpc/rtime.c: Likewise.
63901         * sunrpc/svc.c: Likewise.
63902         * sunrpc/svc_auth.c: Likewise.
63903         * sunrpc/svc_raw.c: Likewise.
63904         * sunrpc/svc_run.c: Likewise.
63905         * sunrpc/svc_tcp.c: Likewise.
63906         * sunrpc/svc_udp.c: Likewise.
63907         * sunrpc/svc_unix.c: Likewise.
63908         * sunrpc/svcauth_des.c: Likewise.
63909         * sunrpc/xcrypt.c: Likewise.
63910         * sunrpc/xdr.c: Likewise.
63911         * sunrpc/xdr_array.c: Likewise.
63912         * sunrpc/xdr_float.c: Likewise.
63913         * sunrpc/xdr_intXX_t.c: Likewise.
63914         * sunrpc/xdr_mem.c: Likewise.
63915         * sunrpc/xdr_rec.c: Likewise.
63916         * sunrpc/xdr_ref.c: Likewise.
63917         * sunrpc/xdr_sizeof.c: Likewise.
63918         * sunrpc/xdr_stdio.c: Likewise.
63920 2012-05-10  Roland McGrath  <roland@hack.frob.com>
63922         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
63923         change.  Update copyright years.
63925 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
63927         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
63929 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
63930             Joseph Myers  <joseph@codesourcery.com>
63931             Paul Pluzhnikov  <ppluzhnikov@google.com>
63933         [BZ #14012]
63934         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
63935         requiring rpcgen.
63936         [cross-compiling] (extra-libs): Likewise.
63937         [cross-compiling] (extra-libs-others): Likewise.
63938         [cross-compiling] (librpcsvc-routines): Likewise.
63939         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
63940         [cross-compiling] (omit-deps): Likewise.
63941         (sunrpc-CPPFLAGS): New variable.
63942         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
63943         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
63944         (cross-rpcgen-objs): New variable.
63945         (extra-objs): Append $(cross-rpcgen-objs).
63946         ($(cross-rpcgen-objs)): New rule.
63947         ($(objpfx)cross-rpcgen): Likewise.
63948         (rpcgen-cmd): Define to use $(built-program-file).  Expand
63949         comment.
63950         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
63951         ($(objpfx)x%.stmp): Likewise.
63952         * sunrpc/proto.h [IS_IN_build] (_): Define.
63953         [IS_IN_build] (_libc_intl_domainname): Likewise.
63955 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
63957         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
63958         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
63959         and R_X86_64_TPOFF64.
63961 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
63963         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
63964         sysdeps/unix/sysv/syscalls.list.
63965         (stime): Likewise.
63966         (utime): Likewise.
63967         * sysdeps/unix/sysv/syscalls.list: Remove file.
63969 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
63971         [BZ #3440]
63972         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
63973         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
63974         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
63975         (__LC_IDENTIFICATION): Make these macros useful in #if
63976         expressions, as required by C99.
63978 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
63980         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
63981         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
63982         after this.
63984 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
63986         * stdlib/longlong.h: Updated from GCC.
63988 2012-05-09  Andreas Jaeger  <aj@suse.de>
63990         * nscd/nscd.c (run_modes): Make named enum, reorder so that
63991         default is first entry.
63992         (run_mode): Set type.
63993         (main): Remove informal message about syslog.
63994         (options): Fix typo.
63996         [BZ #14053]
63997         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
63998         to asm.
63999         (lrint): Likewise.
64000         (llrintf): Likewise.
64001         (llrint): Likewise.
64002         (rint): Likewise.
64003         (rintf): Likewise.
64004         (nearbyint): Likewise.
64005         (nearbyintf): Likewise.
64007 2012-05-09  Andreas Jaeger  <aj@suse.de>
64008             Pedro Alves  <palves@redhat.com>
64010         * nscd/nscd.c (run_mode): Use enum.
64011         (main): Cleanup coding style issue.
64013 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
64014             Andreas Jaeger  <aj@suse.de>
64016         * nscd/nscd.c (go_background): Replaced with...
64017         (run_mode): ... this.
64018         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
64019         (options): Add -F --foreground.
64020         (main): Implement it.
64021         (parse_opt): Parse it.
64023 2012-05-09  Andreas Jaeger  <aj@suse.de>
64025         [BZ #14083]
64026         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
64027         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
64028         -Wconversion warning.
64029         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
64030         Likewise.
64032 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
64034         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
64035         == 0.
64036         (LC_ALL): Use macro-int-constant.
64037         (LC_COLLATE): Likewise.
64038         (LC_CTYPE): Likewise.
64039         (LC_MESSAGES): Likewise.
64040         (LC_MONETARY): Likewise.
64041         (LC_NUMERIC): Likewise.
64042         (LC_TIME): Likewise.
64043         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
64044         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
64045         [ISO || ISO99 || ISO11] (*_t): Do not allow.
64046         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
64047         Specify type.
64048         [C99-based standards] (float_t): Expect type.
64049         [C99-based standards] (double_t): Expect type.
64050         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
64051         type.
64052         [C99-based standards] (HUGE_VALL): Likewise.
64053         [C99-based standards] (INFINITY): Likewise.
64054         [C99-based standards] (NAN): Likewise.
64055         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
64056         [C99-based standards] (FP_NAN): Likewise.
64057         [C99-based standards] (FP_NORMAL): Likewise.
64058         [C99-based standards] (FP_SUBNORMAL): Likewise.
64059         [C99-based standards] (FP_ZERO): Likewise.
64060         [C99-based standards] (FP_FAST_FMA): Use
64061         optional-macro-int-constant.  Specify type.  Require == 1.
64062         [C99-based standards] (FP_FAST_FMAF): Likewise.
64063         [C99-based standards] (FP_FAST_FMAL): Likewise.
64064         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
64065         [C99-based standards] (FP_ILOGBNAN): Likewise.
64066         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
64067         Specify type.
64068         [C99-based standards] (MATH_ERREXCEPT): Likewise.
64069         [C99-based standards] (math_errhandling): Specify type.
64070         [ISO99 || ISO11] (signgam): Do not allow.
64071         [non-C99-based standards] (copysignf): Do not allow.
64072         [non-C99-based standards] (exp2f): Likewise.
64073         [non-C99-based standards] (log2f): Likewise.
64074         [non-C99-based standards] (modff): Allow.
64075         [non-C99-based standards] (erff): Do not allow.
64076         [non-C99-based standards] (erfcf): Likewise.
64077         [non-C99-based standards] (gammaf): Likewise.
64078         [non-C99-based standards] (hypotf): Likewise.
64079         [non-C99-based standards] (j0f): Likewise.
64080         [non-C99-based standards] (j1f): Likewise.
64081         [non-C99-based standards] (jnf): Likewise.
64082         [non-C99-based standards] (lgammaf): Likewise.
64083         [non-C99-based standards] (tgammaf): Likewise.
64084         [non-C99-based standards] (y0f): Likewise.
64085         [non-C99-based standards] (y1f): Likewise.
64086         [non-C99-based standards] (ynf): Likewise.
64087         [non-C99-based standards] (isnanf): Likewise.
64088         [non-C99-based standards] (acoshf): Likewise.
64089         [non-C99-based standards] (asinhf): Likewise.
64090         [non-C99-based standards] (atanhf): Likewise.
64091         [non-C99-based standards] (cbrtf): Likewise.
64092         [non-C99-based standards] (expm1f): Likewise.
64093         [non-C99-based standards] (ilogbf): Likewise.
64094         [non-C99-based standards] (log1pf): Likewise.
64095         [non-C99-based standards] (logbf): Likewise.
64096         [non-C99-based standards] (nextafterf): Likewise.
64097         [non-C99-based standards] (remainderf): Likewise.
64098         [non-C99-based standards] (rintf): Likewise.
64099         [non-C99-based standards] (scalbf): Likewise.
64100         [non-C99-based standards] (copysignl): Likewise.
64101         [non-C99-based standards] (exp2l): Likewise.
64102         [non-C99-based standards] (log2l): Likewise.
64103         [non-C99-based standards] (modfl): Allow.
64104         [non-C99-based standards] (erfl): Do not allow.
64105         [non-C99-based standards] (erfcl): Likewise.
64106         [non-C99-based standards] (gammal): Likewise.
64107         [non-C99-based standards] (hypotl): Likewise.
64108         [non-C99-based standards] (j0l): Likewise.
64109         [non-C99-based standards] (j1l): Likewise.
64110         [non-C99-based standards] (jnl): Likewise.
64111         [non-C99-based standards] (lgammal): Likewise.
64112         [non-C99-based standards] (tgammal): Likewise.
64113         [non-C99-based standards] (y0l): Likewise.
64114         [non-C99-based standards] (y1l): Likewise.
64115         [non-C99-based standards] (ynl): Likewise.
64116         [non-C99-based standards] (isnanl): Likewise.
64117         [non-C99-based standards] (acoshl): Likewise.
64118         [non-C99-based standards] (asinhl): Likewise.
64119         [non-C99-based standards] (atanhl): Likewise.
64120         [non-C99-based standards] (cbrtl): Likewise.
64121         [non-C99-based standards] (expm1l): Likewise.
64122         [non-C99-based standards] (ilogbl): Likewise.
64123         [non-C99-based standards] (log1pl): Likewise.
64124         [non-C99-based standards] (logbl): Likewise.
64125         [non-C99-based standards] (nextafterl): Likewise.
64126         [non-C99-based standards] (remainderl): Likewise.
64127         [non-C99-based standards] (rintl): Likewise.
64128         [non-C99-based standards] (scalbl): Likewise.
64129         [ISO || ISO99 || ISO11] (*_t): Do not allow.
64130         [non-C99-based standards] (FP_*): Do not allow.
64131         [C99-based standards] (FP_*): Change to
64132         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
64133         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
64134         allow.
64135         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
64136         (SIG_ERR): Likewise.
64137         [X/Open-based standards] (SIG_HOLD): Likewise.
64138         (SIG_IGN): Likewise.
64139         (SIGABRT): Use macro-int-constant.  Specify type.  Require
64140         positive value.
64141         (SIGFPE): Likewise.
64142         (SIGILL): Likewise.
64143         (SIGINT): Likewise.
64144         (SIGSEGV): Likewise.
64145         (SIGTER): Likewise.
64146         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
64147         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
64148         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
64149         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
64150         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
64151         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
64152         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
64153         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
64154         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
64155         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
64156         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
64157         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
64158         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
64159         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
64160         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
64161         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
64162         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
64163         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
64164         [X/Open-based standards] (SIGTRAP): Likewise.
64165         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
64166         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
64167         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
64168         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
64169         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
64170         allow.
64172 2012-05-08  Ian Wienand  <ianw@vmware.com>
64174         [BZ #14080]
64175         * time/tzset.c (__tzset_parse_tz): Update default rules for
64176         daylight time changes in the Energy Policy Act of 2005.
64178 2012-05-09  Andreas Jaeger  <aj@suse.de>
64180         [BZ #13983]
64181         * elf/ldconfig.c (parse_conf): Change string to make clear that
64182         ldconfig only issued a warning if ld.so.conf does not exist.
64184 2012-05-08  David S. Miller  <davem@davemloft.net>
64186         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
64187         movxtod instead of popping the value on the stack.
64189         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64191 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
64193         * config.h.in: Add HAVE_ARM_PCS_VFP.
64195 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
64197         [BZ #13979]
64198         * include/features.h: Warn if user requests __FORTIFY_SOURCE
64199         checking but the checks are disabled for any reason.
64201 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
64203         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
64204         and ELF64_R_TYPE with ELFW(R_TYPE).
64206 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
64208         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
64209         (ulimit): Likewise.
64211         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
64212         (settimeofday): Likewise.
64214 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
64216         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
64217         a struct th_u2 inside the union, and move tu_block/tu_code into
64218         a new th_u3 union of tu_block/tu_code inside of that.  Move
64219         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
64220         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
64221         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
64222         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
64223         (th_stuff): Change to th_u1.tu_stuff.
64224         (th_data): Define.
64225         (th_msg): Change to th_u1.th_u2.tu_data.
64227 2012-05-07  David S. Miller  <davem@davemloft.net>
64229         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64231         [BZ #14074]
64232         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
64233         (SETUP_PIC_REG): Use it.
64234         (SETUP_PIC_REG_LEAF): Use it.
64236 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
64238         [BZ #13885]
64239         [BZ #13923]
64240         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
64241         USE_AS_EXPM1L.
64242         (EXPL_FINITE): Likewise.
64243         (FLDLOG): Likewise.
64244         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
64245         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
64246         e_expl.S.
64247         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
64248         USE_AS_EXPM1L.
64249         (EXPL_FINITE): Likewise.
64250         (FLDLOG): Likewise.
64251         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
64252         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
64253         e_expl.S.
64254         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
64255         test of -max_value argument for long double.
64256         * sysdeps/i386/fpu/libm-test-ulps: Update.
64257         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64259 2012-05-06  David S. Miller  <davem@davemloft.net>
64261         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
64262         quad soft-float symbols whose references which are compiler
64263         generated.
64264         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
64266 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
64268         [BZ #13884]
64269         [BZ #13914]
64270         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
64271         USE_AS_EXP10L.
64272         (EXPL_FINITE): Likewise.
64273         (FLDLOG): Likewise.
64274         (c0): Likewise.
64275         (c1): Likewise.
64276         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
64277         Adjust comments for base varying.
64278         (__expl_finite): Change alias to EXPL_FINITE.
64279         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
64280         e_expl.S.
64281         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
64282         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
64283         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
64284         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
64285         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
64286         USE_AS_EXP10L.
64287         (EXPL_FINITE): Likewise.
64288         (FLDLOG): Likewise.
64289         (c0): Likewise.
64290         (c1): Likewise.
64291         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
64292         Adjust comments for base varying.
64293         (__expl_finite): Change alias to EXPL_FINITE.
64294         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
64295         tests for bugs.
64296         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64298         [BZ #14064]
64299         * math/libm-test.inc (check_float_internal): Correct ulp
64300         calculation for subnormal expected results.
64302 2012-05-06  Andreas Jaeger  <aj@suse.de>
64304         * Makeconfig (+math-flags): New, set to -frounding-math.
64305         (+cflags): Add +math-flags so that all of glibc gets compiled with
64306         it.
64308         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
64310 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
64312         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
64313         Disable one test.
64315         [BZ #13787]
64316         [BZ #13922]
64317         [BZ #14036]
64318         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
64319         (__ieee754_expl): Allow for and saturate large arguments.
64320         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
64321         (u_threshold): Likewise.
64322         (__exp): Call __ieee754_exp before checking for overflow and
64323         underflow.
64324         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
64325         (u_threshold): Likewise.
64326         (__expf): Call __ieee754_expf before checking for overflow and
64327         underflow.
64328         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
64329         (u_threshold): Likewise.
64330         (__expl): Call __ieee754_expl before checking for overflow and
64331         underflow.
64332         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
64333         (__ieee754_expl): Allow for and saturate large arguments.
64334         * math/libm-test.inc (exp_test): Add another test.  Do not allow
64335         missing overflow exception on overflow.
64336         (expm1_test): Do not allow missing overflow exception on overflow.
64338         * sysdeps/i386/fpu/e_expl.c: Move to ...
64339         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
64340         rather than using inline asm.
64341         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
64342         * sysdeps/x86_64/fpu/e_expl.S: Copy from
64343         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
64345         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
64346         (nice): Likewise.
64347         (poll): Likewise.
64348         (signal): Likewise.
64349         (time): Likewise.
64350         (times): Likewise.
64352 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
64354         * sysdeps/unix/syscalls.list (adjtime): Add entry from
64355         sysdeps/unix/common/syscalls.list.
64356         (fchmod): Likewise.
64357         (fchown): Likewise.
64358         (ftruncate): Likewise.
64359         (getrusage): Likewise.
64360         (gettimeofday): Likewise.
64361         (setpgid): Likewise.
64362         (setregid): Likewise.
64363         (setreuid): Likewise.
64364         (sigaction): Likewise.
64365         (truncate): Likewise.
64366         (vhangup): Likewise.
64367         * sysdeps/unix/common/syscalls.list: Remove file.
64368         * sysdeps/unix/bsd/Implies: Don't include unix/common.
64369         * sysdeps/unix/sysv/linux/Implies: Likewise.
64371 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
64373         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
64374         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
64375         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
64376         Moved to ...
64377         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
64378         Here.
64379         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
64380         to ...
64381         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
64382         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
64383         to ...
64384         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
64385         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
64386         to ...
64387         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
64388         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
64389         to ...
64390         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
64391         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
64392         to ...
64393         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
64394         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
64395         to ...
64396         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
64397         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
64398         to ...
64399         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
64400         Here.
64401         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
64402         to ...
64403         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
64404         Here.
64405         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
64406         to ...
64407         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
64408         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
64409         Moved to ...
64410         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
64411         Here.
64412         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
64413         to ...
64414         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
64416 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
64418         * sysdeps/unix/common/bits/dirent.h: Remove file.
64419         * sysdeps/unix/common/bits/fcntl.h: Likewise.
64421         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
64422         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
64423         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
64424         * sysdeps/unix/bsd/isatty.c: Likewise.
64425         * sysdeps/unix/bsd/tcdrain.c: Likewise.
64426         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
64427         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
64429 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64431         [BZ #13563]
64432         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
64433         long double comparison inaccuracies.
64434         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
64435         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64437 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
64439         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
64440         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
64442 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
64444         [BZ #14049]
64445         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
64446         nonzero digits before rounding a hex value.
64447         * stdlib/tst-strtod.c (tests): Add another test.
64449 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64451         * sysdeps/s390/fpu/libm-test-ulps: Update.
64453 2012-05-03  Andreas Jaeger  <aj@suse.de>
64455         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
64456         does not get optimized out.
64457         (malloc_opt_barrier): New.
64459 2012-05-03  Andreas Jaeger  <aj@suse.de>
64460             Roland McGrath  <roland@hack.frob.com>
64462         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
64463         intermediate file deletion.
64464         (generated): Add .symlist files.
64466 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
64468         [BZ #13775]
64469         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
64470         Redirect under this condition.
64471         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
64472         [__USE_GNU] (__dprintf_chk): Not under this condition.
64473         [__USE_GNU] (__vdprintf_chk): Likewise.
64474         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
64475         under this condition.
64476         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
64477         [__USE_XOPEN2K8] (dprintf): Define under this condition.
64478         [__USE_XOPEN2K8] (vdprintf): Likewise.
64479         [__USE_GNU] (__dprintf_chk): Not under this condition.
64480         [__USE_GNU] (__vdprintf_chk): Likewise.
64481         [__USE_GNU] (dprintf): Likewise.
64482         [__USE_GNU] (vdprintf): Likewise.
64484 2012-05-03  Roland McGrath  <roland@hack.frob.com>
64486         * elf/Makefile (common-generated): Set this instead of generated for
64487         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
64488         $(all-built-dso)-derived lists.
64490 2012-05-03  Andreas Jaeger  <aj@suse.de>
64492         * sysdeps/i386/fpu/libm-test-ulps: Update.
64494         * FAQ: Removed.
64495         * FAQ.in: Likewise.
64496         * scripts/gen-FAQ.pl: Likewise.
64497         * manual/install.texi (Installation): Point to online location of
64498         FAQ.
64499         * Makefile (files-for-dist): Remove FAQ.
64500         (FAQ): Remove.
64502 2012-05-02  Allan McRae  <allan@archlinux.org>
64504         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
64505         (LDFLAGS-reldepmod5.so): Likewise.
64506         (LDFLAGS-reldep6mod1.so): Likewise.
64507         (LDFLAGS-reldep6mod4.so): Likewise.
64508         (LDFLAGS-reldep8mod3.so): Likewise.
64509         (LDFLAGS-unload4mod1.so): Likewise.
64510         (LDFLAGS-unload4mod2.so): Likewise.
64511         (LDFLAGS-tst-initorder): Likewise.
64512         (LDFLAGS-tst-initordera2.so): Likewise.
64513         (LDFLAGS-tst-initordera3.so): Likewise.
64514         (LDFLAGS-tst-initordera4.so): Likewise.
64515         (LDFLAGS-tst-initorderb2.so): Likewise.
64516         (LDFLAGS-noload): Likewise.
64517         (LDFLAGS-next): Likewise.
64518         (LDFLAGS-order2mod1.so): Likewise.
64519         (LDFLAGS-order2mod2.so): Likewise.
64520         (LDFLAGS-tst-initorder2): Likewise.
64521         (LDFLAGS-tst-initorder2a.so): Likewise.
64522         (LDFLAGS-tst-initorder2b.so): Likewise.
64523         (LDFLAGS-tst-initorder2c.so): Likewise.
64524         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
64526 2012-05-02  David S. Miller  <davem@davemloft.net>
64528         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64530 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
64532         [BZ #14055]
64533         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
64535 2012-05-02  Andreas Jaeger  <aj@suse.de>
64537         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
64538         since we manipulate rounding mode.
64539         (CPPFLAGS-test-idouble.c): Likewise.
64540         (CPPFLAGS-test-ifloat.c): Likewise.
64541         (CFLAGS-test-ldouble.c): Likewise.
64542         (CFLAGS-test-double.c): Likewise.
64543         (CFLAGS-test-float.c): Likewise.
64544         (CFLAGS-test-misc.c): Likewise.
64545         (CFLAGS-test-test-fenv.c): Likewise.
64547 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64549         [BZ #2550]
64550         [BZ #2570]
64551         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
64552         comparisons to determine direction to adjust input.
64554 2012-05-01  Roland McGrath  <roland@hack.frob.com>
64556         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
64557         output to the target.
64559         * scripts/localplt.awk: New file.
64560         * elf/Makefile ($(objpfx)check-localplt): Target removed.
64561         (check-localplt-CFLAGS): Variable removed.
64562         ($(all-built-dso:=.jmprel)): New static pattern rule.
64563         (generated): Add those targets.
64564         (localplt-built-dso): New variable.
64565         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
64567         * elf/check-localplt.c: File removed.
64569         * scripts/check-execstack.awk: New file.
64570         * elf/Makefile ($(objpfx)check-execstack): Target removed.
64571         (check-execstack-CFLAGS): Variable removed.
64572         ($(objpfx)check-execstack.h): Target removed.
64573         ($(objpfx)execstack-default): New target.
64574         (generated): Add that instead of check-execstack.h.
64575         ($(all-built-dso:=.phdr)): New static pattern rule.
64576         (generated): Add those targets.
64577         * elf/check-execstack.c: File removed.
64579         * scripts/check-textrel.awk: New file.
64580         * elf/Makefile ($(objpfx)check-textrel): Target removed.
64581         (check-textrel-CFLAGS): Variable removed.
64582         (all-built-dso): Use := to define.o
64583         ($(all-built-dso:=.dyn)): New static pattern rule.
64584         (generated): Add those targets.
64585         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
64586         * config.make.in (READELF): New substituted variable.
64587         * elf/check-textrel.c: File removed.
64589 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
64591         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
64592         allow.
64593         * conform/data/ctype.h-data [C99-based standards] (isblank):
64594         Expect function.
64595         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
64596         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
64597         [ISO || ISO99 || ISO11] (*_t): Do not allow.
64598         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
64599         Specify type.  Require positive value.
64600         (EILSEQ): Likewise.
64601         (ERANGE): Likewise.
64602         [ISO || POSIX] (EILSEQ): Do not expect.
64603         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
64604         Specify type.  Require positive value.
64605         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
64606         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
64607         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
64608         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
64609         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
64610         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
64611         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
64612         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
64613         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
64614         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
64615         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
64616         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
64617         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
64618         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
64619         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
64620         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
64621         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
64622         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
64623         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
64624         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
64625         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
64626         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
64627         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
64628         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
64629         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
64630         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
64631         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
64632         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
64633         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
64634         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
64635         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
64636         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
64637         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
64638         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
64639         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
64640         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
64641         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
64642         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
64643         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
64644         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
64645         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
64646         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
64647         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
64648         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
64649         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
64650         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
64651         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
64652         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
64653         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
64654         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
64655         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
64656         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
64657         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
64658         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
64659         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
64660         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
64661         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
64662         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
64663         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
64664         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
64665         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
64666         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
64667         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
64668         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
64669         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
64670         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
64671         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
64672         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
64673         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
64674         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
64675         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
64676         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
64677         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
64678         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
64679         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
64680         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
64681         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
64682         Require >= 2.
64683         (FLT_ROUNDS): Expect as macro, not constant.
64684         (FLT_MANT_DIG): Use macro-int-constant.
64685         (DBL_MANT_DIG): Likewise.
64686         (LDBL_MANT_DIG): Likewise.
64687         (FLT_DIG): Likewise.
64688         (DBL_DIG): Likewise.
64689         (LDBL_DIG): Likewise.
64690         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
64691         (DBL_MIN_EXP): Likewise.
64692         (LDBL_MIN_EXP): Likewise.
64693         (FLT_MAX_EXP): Use macro-int-constant.
64694         (DBL_MAX_EXP): Likewise.
64695         (LDBL_MAX_EXP): Likewise.
64696         (FLT_MAX_10_EXP): Likewise.
64697         (DBL_MAX_10_EXP): Likewise.
64698         (LDBL_MAX_10_EXP): Likewise.
64699         (FLT_MAX): Use macro-constant.
64700         (DBL_MAX): Likewise.
64701         (LDBL_MAX): Likewise.
64702         (FLT_EPSILON): Use macro-constant.  Give upper bound.
64703         (DBL_EPSILON): Likewise.
64704         (LDBL_EPSILON): Likewise.
64705         (FLT_MIN): Likewise.
64706         (DBL_MIN): Likewise.
64707         (LDBL_MIN): Likewise.
64708         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
64709         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
64710         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
64711         [ISO11] (FLT_HAS_SUBNORM): Likewise.
64712         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
64713         [ISO11] (DBL_DECIMAL_DIG): Likewise.
64714         [ISO11] (FLT_DECIMAL_DIG): Likewise.
64715         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
64716         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
64717         [ISO11] (FLT_TRUE_MIN): Likewise.
64718         [ISO11] (LDBL_TRUE_MIN): Likewise.
64719         [ISO || ISO99 || ISO11] (*_t): Do not allow.
64720         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
64721         (SCHAR_MIN): Use macro-int-constant.  Specify type.
64722         (SCHAR_MAX): Likewise.
64723         (UCHAR_MAX): Likewise.
64724         (CHAR_MIN): Likewise.
64725         (CHAR_MAX): Likewise.
64726         (MB_LEN_MAX): Use macro-int-constant.
64727         (SHRT_MIN): Use macro-int-constant.  Specify type.
64728         (SHRT_MAX): Likewise.
64729         (USHRT_MAX): Likewise.
64730         (INT_MAX): Likewise.
64731         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
64732         bound negative.
64733         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
64734         bound with "U".
64735         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
64736         bound with "L".
64737         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
64738         bound negative.  Suffix upper bound with "L".
64739         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
64740         bound with "UL".
64741         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
64742         Specify type.
64743         [C99-based standards] (LLONG_MAX): Likewise.
64744         [C99-based standards] (ULLONG_MAX): Likewise.
64745         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
64746         == 0.
64747         [ISO11] (max_align_t): Require type.
64748         [ISO || ISO99 || ISO11] (*_t): Do not allow.
64750         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
64751         from $CFLAGS, without defining away __attribute__ calls.
64752         (checknamespace): Use $CFLAGS_namespace.
64754         * conform/conformtest.pl (@keywords): Only include C99 keywords
64755         for standards based on C99 or C11.
64757         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
64758         Disable tests.
64759         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
64760         UNIX98]: Likewise.
64762         * conform/conformtest.pl: Handle "macro-int-constant" and test for
64763         usability of symbols in #if.
64765         * conform/conformtest.pl: If macro or constant types start
64766         "promoted:", expect the symbol to be of the following type
64767         promoted by the integer promotions.
64769         * conform/conformtest.pl: Parse all "constant" and "macro" lines
64770         in one place.  Also handle "macro-constant".
64772         * conform/conformtest.pl: Only accept expected macro values with
64773         "==".  Parse all "macro" lines in one place.
64774         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
64776         * conform/conformtest.pl: Handle braced types on "constant" lines
64777         instead of handling "typed-constant".
64778         * conform/data/signal.h-data: Use "constant" instead of
64779         "typed-constant".
64781         * conform/conformtest.pl: Handle "optional-" at start of lines in
64782         one place rather than duplicating several cases.  Handle each
64783         format of "macro" line with initial "optional-".
64785         * conform/conformtest.pl: Only accept expected constant or
64786         optional-constant values with "==".  Parse all "constant" lines in
64787         one place.  Parse all "optional-constant" lines in one place.
64788         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
64789         * conform/data/fmtmsg.h-data: Likewise.
64790         * conform/data/netinet/in.h-data: Likewise.
64791         * conform/data/tar.h-data: Likewise.
64792         * conform/data/limits.h-data: Use "==" form on "constant" and
64793         "optional-constant" lines.
64795         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
64796         Use -std=c99 for XOPEN2K.
64797         (@knownproblems): Remove.
64798         (newtoken): Don't check %isknown.
64800         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
64801         Do not expect macro.
64802         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
64803         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
64804         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
64805         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
64806         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
64807         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
64808         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
64809         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
64810         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
64811         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
64812         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
64813         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
64814         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
64815         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
64816         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
64817         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
64818         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
64819         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
64820         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
64821         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
64822         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
64823         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
64824         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
64825         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
64826         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
64827         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
64828         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
64829         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
64830         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
64831         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
64832         [XPG3] (acosh): Likewise.
64833         [XPG3] (asinh): Likewise.
64834         [XPG3] (atanh): Likewise.
64835         [XPG3] (cbrt): Likewise.
64836         [XPG3] (expm1): Likewise.
64837         [XPG3] (ilogb): Likewise.
64838         [XPG3] (log1p): Likewise.
64839         [XPG3] (logb): Likewise.
64840         [XPG3] (nextafter): Likewise.
64841         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
64842         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
64843         [XPG3] (remainder): Likewise.
64844         [XPG3] (rint): Likewise.
64845         [XPG3 || XPG4 || UNIX98] (round): Likewise.
64846         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
64847         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
64848         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
64849         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
64850         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
64851         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
64852         [UNIX98 || XOPEN2K] (scalb): Expect.
64853         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
64854         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
64855         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
64856         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
64857         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
64858         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
64859         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
64860         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
64861         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
64862         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
64863         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
64864         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
64865         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
64866         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
64867         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
64868         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
64869         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
64870         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
64871         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
64872         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
64873         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
64874         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
64875         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
64876         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
64877         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
64878         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
64879         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
64880         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
64881         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
64882         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
64883         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
64884         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
64885         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
64886         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
64887         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
64888         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
64889         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
64890         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
64891         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
64892         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
64893         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
64894         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
64895         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
64896         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
64897         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
64898         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
64899         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
64900         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
64901         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
64902         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
64903         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
64904         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
64905         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
64906         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
64907         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
64908         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
64909         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
64910         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
64911         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
64912         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
64913         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
64914         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
64915         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
64916         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
64917         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
64918         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
64919         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
64920         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
64921         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
64922         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
64923         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
64924         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
64925         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
64926         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
64927         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
64928         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
64929         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
64930         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
64931         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
64932         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
64933         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
64934         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
64935         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
64936         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
64937         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
64938         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
64939         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
64940         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
64941         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
64942         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
64943         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
64944         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
64945         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
64946         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
64947         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
64948         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
64949         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
64950         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
64951         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
64952         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
64953         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
64954         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
64955         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
64956         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
64957         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
64958         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
64959         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
64960         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
64961         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
64962         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
64963         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
64964         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
64965         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
64966         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
64967         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
64968         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
64969         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
64970         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
64971         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
64972         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
64973         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
64974         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
64975         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
64976         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
64977         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
64978         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
64979         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
64980         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
64981         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
64982         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
64983         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
64984         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
64985         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
64986         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
64987         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
64988         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
64989         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
64991         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
64992         _XOPEN_SOURCE_EXTENDED for XPG4.
64994         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
64996         * Makeconfig (localtime): Remove variable.
64997         (inst_localtime-file): Likewise.
64999 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
65001         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
65002         Update.
65003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
65004         Update.
65005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
65006         Update.
65007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
65008         Update.
65009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
65010         Update.
65011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
65012         Update.
65013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
65014         Update.
65015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
65016         Update.
65017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
65018         Update.
65020 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
65022         [BZ #2550]
65023         [BZ #2570]
65024         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
65025         comparisons to determine direction to adjust input.
65026         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
65027         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
65028         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
65029         Likewise.
65030         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
65031         Likewise.
65032         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
65033         Likewise.
65034         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
65035         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
65036         Likewise.
65037         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
65038         Likewise.
65039         * math/libm-test.inc (nexttoward_test): Add more tests.
65041 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
65043         [BZ #14040]
65044         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
65045         in version GLIBC_2.1, not GLIBC_2.0.
65046         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
65047         Likewise.
65049 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
65051         [BZ #13942]
65052         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
65053         (1 - x) * (1 + x).
65054         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
65055         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
65056         * math/libm-test.inc (acos_test): Add more tests.
65057         (asin_test): Likewise.
65058         * sysdeps/i386/fpu/libm-test-ulps: Update.
65059         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65061         [BZ #14034]
65062         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
65063         of square root.
65064         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
65065         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
65066         * math/libm-test.inc (acos_test_tonearest): New function.
65067         (acos_test_towardzero): Likewise.
65068         (acos_test_downward): Likewise.
65069         (acos_test_upward): Likewise.
65070         (asin_test_tonearest): Likewise.
65071         (asin_test_towardzero): Likewise.
65072         (asin_test_downward): Likewise.
65073         (asin_test_upward): Likewise.
65074         (main): Call the new functions.
65075         * sysdeps/i386/fpu/libm-test-ulps: Update.
65076         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65078         [BZ #13884]
65079         [BZ #13924]
65080         * math/e_exp10.c: Include <float.h>.
65081         (__ieee754_exp10): Handle underflow here rather than multiplying
65082         large negative argument by M_LN10.
65083         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
65084         of __ieee754_expf.
65085         * math/e_exp10l.c: Include <float.h>.
65086         (__ieee754_exp10l): Handle underflow here rather than multiplying
65087         large negative argument by M_LN10l.
65088         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
65089         spurious overflow exception on underflow.
65091 2012-04-29  Marek Polacek  <polacek@redhat.com>
65093         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
65094         (__fortify_function): New macro.
65095         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
65096         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
65097         __extern_always_inline.
65098         * libio/bits/stdio2.h: Likewise.
65099         * libio/bits/stdio.h: Likewise.
65100         * string/string.h: Likewise.
65101         * string/bits/string3.h: Likewise.
65102         * include/stdio.h: Likewise.
65103         * stdlib/bits/stdlib.h: Likewise.
65104         * stdlib/stdlib.h: Likewise.
65105         * rt/bits/mqueue2.h: Likewise.
65106         * rt/mqueue.h: Likewise.
65107         * posix/bits/unistd.h: Likewise.
65108         * posix/unistd.h: Likewise.
65109         * io/bits/poll2.h: Likewise.
65110         * io/bits/fcntl2.h: Likewise.
65111         * io/fcntl.h: Likewise.
65112         * io/sys/poll.h: Likewise.
65113         * misc/bits/syslog.h: Likewise.
65114         * misc/bits/syslog-ldbl.h: Likewise.
65115         * misc/sys/syslog.h: Likewise.
65116         * socket/bits/socket2.h: Likewise.
65117         * socket/sys/socket.h: Likewise.
65118         * debug/tst-chk1.c: Likewise.
65119         * wcsmbs/bits/wchar2.h: Likewise.
65120         * wcsmbs/bits/wchar-ldbl.h: Likewise.
65121         * wcsmbs/wchar.h: Likewise.
65123 2012-04-29  Andreas Jaeger  <aj@suse.de>
65125         * Makerules (tests): Remove enable-check-abi protection.
65126         (check-abi-warn): Remove.
65127         (check-abi-%): Remove check-abi-warn usage.
65129         * configure.in: Remove check-abi configure option.
65130         * configure: Regenerated.
65131         * config.make.in (enable-check-abi): Remove.
65133 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
65135         [BZ #14033]
65136         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
65137         double functions to double *_finite functions.
65139         [BZ #13941]
65140         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
65141         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
65142         LDBL_MIN_EXP.
65143         * stdio-common/Makefile (tests): Add tst-sprintf3.
65144         * stdio-common/tst-sprintf3.c: New file.
65146         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
65147         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
65149 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
65151         * conform/conformtest.pl: Remove duplicate typed-constant
65152         handling.
65154 2012-04-28  David S. Miller  <davem@davemloft.net>
65156         * Makerules (%.abilist): Add vpath on sysdep_dirs.
65157         (check-abi-%): Remove AWK script prerequisite and explicit
65158         abilist directory.
65159         (check-abi): Rewrite to just diff the symlist with the abilist.
65160         (config-tls, config-abi-config): Delete, no longer used.
65161         (update-abi-%): Remove AWK script and explicit abilist directory.
65162         (update-abi): Rewrite to simply compare and conditionally copy the
65163         symlist and the sysdep abilist file.  Remove update-abi-config
65164         checks.
65165         * abilist/ld.abilist: Remove.
65166         * abilist/libBrokenLocale.abilist: Remove.
65167         * abilist/libanl.abilist: Remove.
65168         * abilist/libcrypt.abilist: Remove.
65169         * abilist/libdl.abilist: Remove.
65170         * abilist/librt.abilist: Remove.
65171         * abilist/libthread_db.abilist: Remove.
65172         * abilist/libutil.abilist: Remove.
65173         * scripts/extract-abilist.awk: Remove.
65174         * scripts/merge-abilist.awk: Remove.
65175         * sysdeps/generic/libcidn.abilist: New file.
65176         * sysdeps/generic/libnss_compat.abilist: New file.
65177         * sysdeps/generic/libnss_db.abilist: New file.
65178         * sysdeps/generic/libnss_dns.abilist: New file.
65179         * sysdeps/generic/libnss_files.abilist: New file.
65180         * sysdeps/generic/libnss_hesiod.abilist: New file.
65181         * sysdeps/generic/libnss_nis.abilist: New file.
65182         * sysdeps/generic/libnss_nisplus.abilist: New file.
65183         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
65184         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
65185         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
65186         file.
65187         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
65188         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
65189         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
65190         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
65191         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
65192         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
65193         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
65194         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
65195         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
65196         file.
65197         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
65198         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
65199         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
65200         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
65201         file.
65202         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
65203         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
65204         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
65205         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
65206         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
65207         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
65208         file.
65209         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
65210         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
65211         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
65212         file.
65213         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
65214         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
65215         New file.
65216         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
65217         New file.
65218         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
65219         New file.
65220         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
65221         New file.
65222         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
65223         New file.
65224         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
65225         New file.
65226         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
65227         New file.
65228         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
65229         New file.
65230         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
65231         New file.
65232         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
65233         New file.
65234         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
65235         New file.
65236         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
65237         New file.
65238         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
65239         New file.
65240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
65241         file.
65242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
65243         New file.
65244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
65245         New file.
65246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
65247         file.
65248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
65249         New file.
65250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
65251         New file.
65252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
65253         file.
65254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
65255         New file.
65256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
65257         New file.
65258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
65259         New file.
65260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
65261         New file.
65262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
65263         New file.
65264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
65265         New file.
65266         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
65267         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
65268         file.
65269         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
65270         New file.
65271         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
65272         file.
65273         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
65274         file.
65275         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
65276         file.
65277         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
65278         file.
65279         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
65280         file.
65281         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
65282         New file.
65283         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
65284         file.
65285         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
65286         file.
65287         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
65288         New file.
65289         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
65290         file.
65291         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
65292         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
65293         file.
65294         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
65295         New file.
65296         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
65297         file.
65298         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
65299         file.
65300         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
65301         file.
65302         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
65303         file.
65304         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
65305         file.
65306         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
65307         New file.
65308         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
65309         file.
65310         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
65311         file.
65312         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
65313         New file.
65314         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
65315         file.
65316         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
65317         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
65318         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
65319         file.
65320         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
65321         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
65322         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
65323         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
65324         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
65325         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
65326         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
65327         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
65328         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
65329         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
65330         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
65331         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
65332         file.
65333         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
65334         New file.
65335         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
65336         file.
65337         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
65338         file.
65339         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
65340         file.
65341         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
65342         file.
65343         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
65344         file.
65345         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
65346         New file.
65347         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
65348         New file.
65349         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
65350         file.
65351         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
65352         New file.
65353         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
65354         file.
65355         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
65356         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
65357         file.
65358         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
65359         New file.
65360         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
65361         file.
65362         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
65363         file.
65364         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
65365         file.
65366         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
65367         file.
65368         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
65369         file.
65370         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
65371         New file.
65372         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
65373         New file.
65374         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
65375         file.
65376         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
65377         New file.
65378         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
65379         file.
65381 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
65383         * conform/conformtest.pl: Fix typo in handling typed-constant from
65384         allow-header.
65386 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
65388         * README: Cut down references to pre-2.6 Linux kernels and
65389         Linuxthreads.  Update lists of configurations in libc and ports
65390         and sort alphabetically.  Say "or newer" with Linux kernel version
65391         requirements.
65393         * config.h.in [IS_IN_build]: Allow compiling without optimization.
65395 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
65397         [BZ #887]
65398         * math/libm-test.inc (logb_test_downward): New test to expose
65399         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
65400         rounding mode.
65402 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
65404         [BZ #14027]
65405         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
65406         to be done.
65407         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
65408         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
65410 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
65412         * sysdeps/unix/i386/brk.S: Remove file.
65413         * sysdeps/unix/i386/dl-brk.S: Likewise.
65414         * sysdeps/unix/i386/pipe.S: Likewise.
65415         * sysdeps/unix/i386/sigreturn.S: Likewise.
65416         * sysdeps/unix/i386/syscall.S: Likewise.
65417         * sysdeps/unix/i386/vfork.S: Likewise.
65418         * sysdeps/unix/i386/wait.S: Likewise.
65420         * sysdeps/unix/common/tcsendbrk.c: Move to ...
65421         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
65423         * configure.in (arm*-none*): Do not allow without
65424         --enable-hacker-mode.
65425         (netbsd*): Remove case setting base_os.
65426         (386bsd*): Likewise.
65427         (freebsd*): Likewise.
65428         (bsdi*): Likewise.
65429         (osf*): Likewise.
65430         (sunos*): Likewise.
65431         (ultrix*): Likewise.
65432         (newsos*): Likewise.
65433         (dynix*): Likewise.
65434         (*bsd*): Likewise.
65435         (sysv*): Likewise.
65436         (isc*): Likewise.
65437         (esix*): Likewise.
65438         (sco*): Likewise.
65439         (minix*): Likewise.
65440         (irix4*): Likewise.
65441         (irix6*): Likewise.
65442         (solaris[2-9]*): Likewise.
65443         (none): Likewise.
65444         * configure: Regenerated.
65446 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65448         [BZ #11521]
65449         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
65450         overflow or cancellation in calculating denominator.
65451         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
65452         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
65453         down expression to avoid unexpected rounding in newer GCCs.
65454         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
65456 2012-04-26  David S. Miller  <davem@davemloft.net>
65458         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
65459         long-double compat symbols.
65460         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
65461         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
65462         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
65463         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
65464         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
65465         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
65466         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
65467         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
65468         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
65469         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
65470         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
65471         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
65472         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
65474 2012-04-25  David S. Miller  <davem@davemloft.net>
65476         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
65477         HWCAP_* values only after the memory barriers have been defined.
65478         (atomic_full_barrier): Define.
65479         (atomic_read_barrier): Define.
65480         (atomic_write_barrier): Define.
65482 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
65484         * shlib-versions: Add libgcc_s version information.
65485         * sysdeps/generic/libgcc_s.h: Remove.
65486         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
65487         libgcc_s.h.
65488         * sysdeps/gnu/unwind-resume.c: Likewise.
65489         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
65491 2012-04-25  David S. Miller  <davem@davemloft.net>
65493         * sysdeps/unix/sparc/brk.S: Delete.
65494         * sysdeps/unix/sparc/dl-brk.S: Delete.
65495         * sysdeps/unix/sparc/pipe.S: Delete.
65496         * sysdeps/unix/sparc/sysdep.S: Delete.
65497         * sysdeps/unix/sparc/sysdep.h: Delete.
65498         * sysdeps/unix/sparc/vfork.S: Delete.
65499         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
65500         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
65501         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
65502         (ret_ERRVAL, r0, r1, MOVE): Define.
65503         (JUMPTARGET): Remove.
65504         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
65505         sysdeps/unix/sparc/sysdep.h
65506         (ENTRY, END): Remove.
65507         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
65509 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
65511         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
65512         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
65513         -DIS_IN_build.
65515         * timezone/README: Update upstream location and email address for
65516         tzcode and tzdata.
65517         * timezone/zdump.c: Update from tzcode 2012b.
65518         * timezone/zic.c: Likewise.
65520         * configure.in (libc_cv_as_needed): Remove test.
65521         * configure: Regenerated.
65522         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
65523         conditional definition.
65524         [$(have-as-needed) != yes] (no-as-needed): Likewise.
65525         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
65526         * config.make.in (have-as-needed): Remove variable.
65528 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
65529             Paul Pluzhnikov  <ppluzhnikov@google.com>
65531         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
65532         strings correctly.
65534 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
65536         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
65537         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
65538         * sysdeps/sh/strlen.S: Likewise.
65540 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
65542         * sysdeps/unix/fork.S: Remove file.
65543         * sysdeps/unix/i386/fork.S: Likewise.
65544         * sysdeps/unix/sparc/fork.S: Likewise.
65546         * sysdeps/unix/system.c: Remove file.
65547         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
65549         * sysdeps/unix/getegid.S: Remove file.
65550         * sysdeps/unix/geteuid.S: Likewise.
65552 2012-04-24  Roland McGrath  <roland@hack.frob.com>
65554         * scripts/check-localplt.awk: New file.
65555         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
65556         of diff.
65557         * scripts/data/localplt-generic.data: Add a comment.
65559         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
65560         NODE when __dir_mkfile failed.
65561         * sysdeps/mach/hurd/symlinkat.c: Likewise.
65562         Reported by Ludovic Courtès <ludo@gnu.org>.
65564 2012-04-24  Andreas Jaeger  <aj@suse.de>
65566         * Makerules (common-clean): Also remove gen-as-const-headers
65567         files.
65569 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
65571         * Makerules (native-compile): Do not change working directory for
65572         build.  Use $(OUTPUT_OPTION) in command.
65573         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
65575 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65577         [BZ #13886]
65578         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
65579         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
65580         * math/libm-test.inc (floor_test): Add more tests.
65581         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
65583 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
65585         * sysdeps/unix/getdents.c: Remove file.
65586         * sysdeps/unix/sysv/getdents.c: Likewise.
65587         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
65589         * sysdeps/unix/syscalls.list (madvise): Add syscall from
65590         sysdeps/unix/mman/syscalls.list.
65591         (mmap): Likewise.
65592         (mprotect): Likewise.
65593         (msync): Likewise.
65594         (munmap): Likewise.
65595         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
65596         * sysdeps/unix/mman/syscalls.list: Remove.
65597         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
65599         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
65600         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
65601         * configure: Regenerated.
65602         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
65603         $(libgcc_s_suffix).
65604         * config.make.in (libgcc_s_suffix): Remove variable.
65606 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
65608         * sysdeps/unix/sysv/gethostname.c: Move to ...
65609         * sysdeps/posix/gethostname.c: ... here.
65611         * sysdeps/unix/execve.S: Remove file.
65613         * sysdeps/unix/_exit.S: Remove file.
65615 2012-04-23  Andreas Jaeger  <aj@suse.de>
65617         [BZ #13739]
65618         * manual/Makefile: Remove make dist support, there's no
65619         need for a stand-alone documentation tar ball.
65620         (TEXI2DVI): Define always, it's not in Makeconfig.
65621         (dist): Removed.
65622         (tar-it): Removed.
65623         (edition): Removed.
65624         (glibc-doc-$(edition).tar): Removed
65625         (%.Z): Removed.
65626         (%.gz): Removed.
65627         (%.uu): Removed.
65628         (ETAGS): Remove, it's in Makeconfig.
65629         (move-if-change): Remove, it's in Makeconfig.
65631 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
65633         [BZ #13970]
65634         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
65635         (strtod, strtof, strtold, strtol, strtoul, strtoq)
65636         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
65637         (strtod_l, strtof_l, strtold_l): Remove __wur.
65638         It is not necessarily an error to ignore strtol's return value.
65639         One can reliably look at the stored endptr to decide whether
65640         the number had valid syntax.
65642 2012-04-21  Andreas Jaeger  <aj@suse.de>
65644         [BZ #13739]
65645         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
65647 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
65649         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
65650         * sysdeps/unix/sysv/Versions: Remove file.
65652 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
65654         [BZ #13927]
65655         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65657 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
65659         [BZ #7064]
65660         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
65661         version from __vm86.
65663 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
65665         * sysdeps/unix/common/lxstat.c: Remove file.
65666         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
65668         * sysdeps/unix/sysv/Makefile: Remove file.
65670         * sysdeps/unix/sysv/direct.h: Remove file.
65672         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
65673         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
65674         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
65675         * sysdeps/unix/sysv/bits/signum.h: Likewise.
65676         * sysdeps/unix/sysv/bits/stat.h: Likewise.
65677         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
65678         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
65680         * sysdeps/unix/sysv/setrlimit.c: Remove file.
65682         * sysdeps/unix/xmknod.c: Remove file.
65683         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
65685         * sysdeps/unix/sysv/settimeofday.c: Remove file.
65687         * sysdeps/unix/sysv/i386/time.S: Remove file.
65689         * sysdeps/unix/fxstat.c: Remove file.
65690         * sysdeps/unix/xstat.c: Likewise.
65691         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
65693         * sysdeps/unix/sysv/sigaction.c: Remove file.
65695         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
65696         (sysdep_headers): Remove variable.
65697         [termio.h not in sysdep_headers] (generated): Likewise.
65698         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
65699         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
65700         * sysdeps/unix/sysv/tcdrain.c: Likewise.
65701         * sysdeps/unix/sysv/tcflow.c: Likewise.
65702         * sysdeps/unix/sysv/tcflush.c: Likewise.
65703         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
65704         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
65705         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
65706         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
65707         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
65709         * sysdeps/unix/siglist.c: Remove file.
65711         * sysdeps/unix/getppid.S: Remove file.
65713         * sysdeps/unix/mkdir.c: Remove file.
65714         * sysdeps/unix/rmdir.c: Likewise.
65716 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
65718         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
65719         ERR_MAX value.
65720         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
65721         errlist-compat value.
65723 2012-04-18  David S. Miller  <davem@davemloft.net>
65725         * sysdeps/generic/memcopy.h (reg_char): Delete.
65726         * debug/strcat_chk.c: Use char, not reg_char.
65727         * debug/strcpy_chk.c: Likewise.
65728         * debug/strncat_chk.c: Likewise.
65729         * debug/strncpy_chk.c: Likewise.
65730         * string/memchr.c: Likewise.
65731         * string/memrchr.c: Likewise.
65732         * string/rawmemchr.c: Likewise.
65733         * string/strcat.c: Likewise.
65734         * string/strchr.c: Likewise.
65735         * string/strchrnul.c: Likewise.
65736         * string/strcmp.c: Likewise.
65737         * string/strcpy.c: Likewise.
65738         * string/strncat.c: Likewise.
65739         * string/strncmp.c: Likewise.
65740         * string/strncpy.c: Likewise.
65742 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
65744         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
65745         __builtin_memcopy is called when src and dest ranges are known to not
65746         overlap.
65748 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
65750         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
65751         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
65752         fwd_align_merge macro call.
65753         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
65754         bwd_align_merge macro call.
65755         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
65757 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
65759         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
65760         bwd_align_merge macros.
65761         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
65762         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
65763         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
65765 2012-04-18  David S. Miller  <davem@davemloft.net>
65767         * sysdeps/sparc/sparc64/memcopy.h: Delete.
65769 2012-04-18  Andreas Jaeger  <aj@suse.de>
65771         [BZ# 6794]
65772         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
65773         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
65774         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
65776         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
65777         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
65778         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
65780         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
65781         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
65782         Adjust for changed ldbl-128 files.
65784         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
65785         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
65786         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
65788 2012-04-17  David S. Miller  <davem@davemloft.net>
65790         * sysdeps/sparc/sparc32/memcopy.h: Delete.
65792 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
65794         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
65795         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
65796         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
65797         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
65798         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
65799         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
65801 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65803         [BZ #6794]
65804         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
65805         * math/libm-test.inc: Add ilogb errno and exception tests.
65806         * math/w_ilogb.c: New file: ilogb wrapper.
65807         * math/w_ilogbf.c: New file: ilogbf wrapper.
65808         * math/w_ilogbl.c: New file: ilogbl wrapper.
65809         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
65810         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
65811         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
65812         exception being thrown with 0.0 as argument.
65813         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
65814         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
65815         exception being thrown with 0.0 as argument.
65816         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
65817         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
65818         exception being thrown with 0.0 as argument.
65819         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
65820         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
65821         exception being thrown with 0.0 as argument.
65822         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
65823         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
65824         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
65825         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
65826         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
65827         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
65828         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
65829         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
65830         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
65832 2012-04-17  Petr Baudis  <pasky@ucw.cz>
65834         * include/sys/uio.h: Change __vector to __iovec to avoid clash
65835         with altivec.
65837 2012-04-16  Marek Polacek  <polacek@redhat.com>
65839         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
65841 2012-04-16  Marek Polacek  <polacek@redhat.com>
65843         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
65844         operands of fdivp instruction.
65846 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
65848         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
65849         * elf/tst-auditmod3b.c: Likewise.
65850         * elf/tst-auditmod4b.c: Likewise.
65851         * elf/tst-auditmod5b.c: Likewise.
65852         * elf/tst-auditmod6b.c: Likewise.
65853         * elf/tst-auditmod6c.c: Likewise.
65854         * elf/tst-auditmod7b.c: Likewise.
65855         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
65856         * sysdeps/x86_64/preconfigure.in: Likewise.
65857         * sysdeps/x86_64/preconfigure: Regenerated.
65859 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
65861         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
65862         __ILP32__.
65864 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
65866         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
65867         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
65869 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
65871         [BZ #13973]
65872         * locale/iso-639.def: Fix gl language name. Spotted by
65873         Yaron Shahrabani.
65875 2012-04-12  Roland McGrath  <roland@hack.frob.com>
65877         [BZ #2074]
65878         * libio/libio.h (__io_write_fn): Update comment.
65880 2012-04-12  Petr Baudis  <pasky@ucw.cz>
65882         [BZ #2074]
65883         * stdio.texi (Hook Functions): The user provided writer function
65884         is not allowed to return -1.
65886 2012-04-11  David S. Miller  <davem@davemloft.net>
65888         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65890 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
65892         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
65893         Add a leading slash to rtkaio.
65895 2012-04-11  Jim Meyering  <meyering@redhat.com>
65897         [BZ #11959]
65898         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
65899         It is not necessarily an error to ignore fwrite's return
65900         value.  One can reliably use ferror to test for errors after
65901         the fact.
65903 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
65905         * bits/types.h (__snseconds_t): New type.
65906         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
65908         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
65909         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
65910         (__SNSECONDS_T_TYPE): Likewise.
65911         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
65912         (__SNSECONDS_T_TYPE): Likewise.
65913         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65914         (__SNSECONDS_T_TYPE): Likewise.
65916 2012-04-10  Andreas Jaeger  <aj@suse.de>
65918         [BZ #2636]
65919         * manual/time.texi (Processor Time): Return type of times is
65920         elapsed real time since an arbitrary point in the past.
65921         (CPU Time): Move CLK_TCK from here...
65922         (Processor Time): ...to here.  Correct description.
65923         * manual/conf.texi (Constants for Sysconf): Correct description of
65924         _SC_CLK_TCK.
65926 2012-04-10  David S. Miller  <davem@davemloft.net>
65928         [BZ #13967]
65929         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
65930         where the is a gap between DT_REL(A) and DT_JMPREL.
65932 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
65934         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
65935         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
65936         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
65938 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
65940         * elf/dl-support.c (_dl_inhibit_cache): New variable.
65941         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
65942         (dl_main): Handle --inhibit-cache.
65943         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
65944         _dl_inhibit_cache.
65945         * elf/dl-load.c (_dl_map_object): Use it.
65946         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
65948 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
65950         [BZ #13872]
65951         * sysdeps/i386/fpu/e_powl.S (p78): New object.
65952         (__ieee754_powl): Saturate large exponents rather than testing for
65953         overflow of y*log2(x).
65954         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
65955         * math/libm-test.inc (pow_test): Do not permit spurious overflow
65956         exceptions.
65958         [BZ #11521]
65959         * math/s_ctan.c: Include <float.h>.
65960         (__ctan): Avoid internal overflow or cancellation in calculating
65961         denominator.
65962         * math/s_ctanf.c: Likewise.
65963         * math/s_ctanl.c: Likewise.
65964         * math/s_ctanh.c: Likewise.
65965         * math/s_ctanhf.c: Likewise.
65966         * math/s_ctanhl.c: Likewise.
65967         * math/libm-test.inc (ctan_test): Add more tests.
65968         (ctanh_test): Likewise.
65969         * sysdeps/i386/fpu/libm-test-ulps: Update.
65970         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65972 2012-04-09  Andreas Jaeger  <aj@suse.de>
65974         [BZ #6894]
65975         * manual/filesys.texi (Directory Entries): Mention that d_namlen
65976         is an optional BSD extension.
65978         [BZ #10254]
65979         * manual/stdio.texi (Opening Streams): Document additional fopen
65980         parameters.
65982 2012-04-09  Roland McGrath  <roland@hack.frob.com>
65984         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
65985         %eax without telling the compiler.
65987 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
65989         [BZ # 13963]
65990         * manual/install.texi: Use sourceware.org.
65992 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
65994         [BZ #13873]
65995         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
65996         (__ieee754_pow): Generate overflow and underflow using huge*huge
65997         and tiny*tiny rather than just returning constant infinity or zero
65998         for large exponents.
65999         * math/libm-test.inc (pow_test): Require overflow exceptions for
66000         applicable cases of large exponents.
66002         [BZ #706]
66003         * sysdeps/i386/fpu/e_pow.S (p10): New object.
66004         (__ieee754_pow): Use iterative multiplication algorithm only for
66005         integer exponents with absolute value below 1024.  Check for odd
66006         integer exponents when using algorithm for real exponents.
66007         * math/libm-test.inc (pow_test): Add more tests.
66008         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66010 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
66012         [BZ #13705]
66013         * math/libm-test.inc (exp_test): Do not allow overflow exception
66014         on underflow test.
66016 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
66018         [BZ #13705]
66019         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
66020         instead of __kernel_standard_f.
66022 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
66024         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
66025         * sysdeps/x86_64/memset_chk.S: Likewise.
66027 2012-04-08  Andreas Jaeger  <aj@suse.de>
66029         [BZ #10153]
66030         * manual/startup.texi (Environment Access): Describe return value
66031         for putenv and setenv.
66033         [BZ #6895]
66034         * manual/filesys.texi (Directory Entries): Add description for
66035         DT_LNK.
66037         [BZ #6890]
66038         * manual/filesys.texi (Directory Entries): Clarify that it's file
66039         system not operating system in the description of DT_UNKNOWN.
66041         [BZ #6578]
66042         * manual/syslog.texi (closelog): Fix reference, it's openlog.
66044 2012-04-08  Stephen Compall  <s11@member.fsf.org>
66046         [BZ #6649]
66047         * manual/llio.texi (Opening and Closing Files): Add cross
66048         reference to explain mode argument.
66050 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
66052         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
66053         * sysdeps/x86_64/memset_chk.S: Likewise.
66055 2012-04-07  David S. Miller  <davem@davemloft.net>
66057         * elf/elf.h (R_SPARC_WDISP10): Define.
66058         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
66059         R_SPARC_SIZE32.
66060         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
66061         R_SPARC_SIZE64 and R_SPARC_H34.
66063 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
66065         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
66066         conditions and remove no longer applicable assertion.
66068 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
66070         * bits/byteswap.h: Include <features.h>.
66071         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
66072         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
66074 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
66076         * bits/byteswap.h (__bswap_16): Removed.
66077         Include <bits/byteswap-16.h> to get __bswap_16.
66078         * sysdeps/i386/bits/byteswap.h: Likewise.
66079         * sysdeps/s390/bits/byteswap.h: Likewise.
66080         * sysdeps/x86_64/bits/byteswap.h: Likewise.
66081         * bits/byteswap-16.h: New file.
66082         * sysdeps/i386/bits/byteswap-16.h: Likewise.
66083         * sysdeps/s390/bits/byteswap-16.h: Likewise.
66084         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
66085         * string/Makefile (headers): Add bits/byteswap-16.h.
66087 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
66089         [BZ #13895]
66090         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
66091         extra indirection.
66092         * nss/Makefile (tests-static, tests): Add tst-nss-static.
66093         * nss/tst-nss-static.c: New.
66095 2012-04-06  Robert Millan  <rmh@gnu.org>
66097         [BZ #6486]
66098         * manual/llio.texi (File Position Primitive): lseek
66099         refers to WHENCE when it really means OFFSET.
66101 2012-04-06  Andreas Jaeger  <aj@suse.de>
66103         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
66104         strncmp declarations.
66106         * abilist/libc.abilist: Add __poll and __ppoll.
66108 2012-04-05  David S. Miller  <davem@davemloft.net>
66110         * scripts/check-local-headers.sh: Accept a host triplet in the
66111         path matched by the exclude regexp.
66113         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
66114         definition.
66115         * sysdeps/powerpc/powerpc32/dl-machine.h
66116         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
66117         * sysdeps/s390/s390-32/dl-machine.h
66118         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
66119         * sysdeps/sparc/sparc32/dl-machine.h
66120         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
66121         * sysdeps/sparc/sparc64/dl-machine.h
66122         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
66124         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
66125         lazy binding.
66126         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
66127         undefined symbol errors.
66129         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
66130         DT_NEEDED entries.
66132 2012-04-05  Michael Matz  <matz@suse.de>
66134         [BZ #13592]
66135         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
66137 2012-04-05  Andreas Jaeger  <aj@suse.de>
66139         [BZ #13908]
66140         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
66141         comment.
66143 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
66145         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
66146         which ROUND is no valid rounding mode.
66148 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
66150         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
66151         read again.
66152         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
66154 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
66156         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
66157         an exception using FPU order intentionally.
66159 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
66161         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
66162         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
66163         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
66164         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
66166 2012-04-05  Simon Josefsson  <simon@josefsson.org>
66168         [BZ #12340]
66169         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
66170         EINVAL when BUFLEN is too smal.
66172 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
66174         [BZ #13553]
66175         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
66176         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
66178 2012-04-03  Andreas Jaeger  <aj@suse.de>
66180         [BZ #13938]
66181         * manual/setjmp.texi (System V contexts): Fix sentence.
66183         [BZ #13926]
66184         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
66185         New macro for this case.
66186         [!__GNUC__] (__bswap_64): New inline function for this case.
66187         * sysdeps/x86_64/bits/byteswap.h: Likewise.
66188         * bits/byteswap.h: Likewise.
66189         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
66190         ull, guard with __GLIBC_HAVE_LONG_LONG.
66192         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
66193         __GLIBC_HAVE_LONG_LONG.
66195         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
66196         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
66198 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
66200         [BZ #13691]
66201         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
66202         inptr and inend, rather than using last_ch.
66204 2012-04-02  David S. Miller  <davem@davemloft.net>
66206         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
66207         * stdio-common/printf-parse.h (read_int): Change return type to
66208         'int', return -1 on INT_MAX overflow.
66209         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
66210         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
66211         overflows INT_MAX.  Check for overflow of in-format-string precision
66212         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
66213         SIZE_MAX not INT_MAX for integer overflow test.
66214         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
66215         skip the construct in the format string but do not record anything.
66216         * stdio-common/bug22.c: Adjust to test both width/prevision
66217         INT_MAX overflow as well as total length INT_MAX overflow.  Check
66218         explicitly for proper errno values.
66220 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
66222         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
66223         CHAR_MAX.
66224         * string/test-strcmp.c [! WIDE]: Likewise.
66225         * time/tst-mktime2.c: Likewise for INT_MAX.
66226         * string/test-string.h: #include <sys/param.h> for MIN.
66228         * csu/init-first.c (__libc_init_first): Call __ctype_init.
66229         * sysdeps/i386/init-first.c (init): Likewise.
66230         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
66231         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
66232         * sysdeps/sh/init-first.c (init): Likewise.
66234 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
66236         * po/ru.po: Update from translation team.
66237         * po/vi.po: Likewise.
66239 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
66241         * resolv/nss_dns/dns-host.c: Merge copyright years.
66243 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66245         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
66246         Optimize memcpy with prefetch if
66247         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
66248         src, dst pointers have unequal 16 byte alignments.
66250 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
66252         [BZ #13928]
66253         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
66254         from a CNAME entry and return the minimum ttl for the query.
66255         (gaih_getanswer_slice): Likewise.
66257 2012-03-30  Jeff Law  <law@redhat.com>
66259         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
66260         due to long keys.
66261         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
66262         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
66264         * resolv/nss_dns/dns-host.c: Update copyright year.
66266 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
66268         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
66269         requests to save a system call.  Fix check that all bytes are sent.
66271         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
66272         comments for sendmmsg.
66274 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
66276         [BZ #13691]
66277         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
66278         with only 1 character between 0x0041 and 0x01b0.
66279         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
66280         * wcsmbs/tst-mbsnrtowcs.c: New file.
66282 2012-03-29  David S. Miller  <davem@davemloft.net>
66284         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
66285         small copies by hand.
66287 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
66289         [BZ #13761]
66290         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
66291         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
66292         group memberships.
66294 2012-03-28  David S. Miller  <davem@davemloft.net>
66296         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
66297         that branches into memcpy.
66298         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
66299         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
66300         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
66301         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
66302         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
66303         bits.
66304         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
66305         implementation too.
66306         * sysdeps/sparc/mempcpy.S: New file.
66308         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
66309         the IFUNC routine in the libc case.
66310         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
66312         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
66313         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
66314         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
66315         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
66316         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
66317         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
66318         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
66319         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
66321         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
66322         loop to 256 bytes instead of 64 bytes and fix test signedness.
66324         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
66325         * sysdeps/sparc/sparc32/Makefile: rather than here...
66326         * sysdeps/sparc/sparc64/Makefile: and here.
66328 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
66330         * malloc/mallocbug.c: Avoid warnings about unused variables.
66332 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
66334         [BZ #13760]
66335         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
66336         in the right place. Discard and retry query if response is
66337         larger than input buffer size.
66339 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
66341         [BZ #369]
66342         [BZ #2678]
66343         [BZ #3866]
66344         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
66345         x for large integer exponent.
66346         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
66347         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
66348         sign of result as needed afterwards.
66349         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
66350         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
66351         result for underflowing pow the same as for overflow.
66352         (__kernel_standard_l): Handle powl overflow and underflow here
66353         rather than calling __kernel_standard.
66354         * math/libm-test.inc (pow_test): Add more tests.
66356         [BZ #3868]
66357         [BZ #13879]
66358         [BZ #13910]
66359         [BZ #13911]
66360         [BZ #13912]
66361         [BZ #13913]
66362         [BZ #13915]
66363         [BZ #13916]
66364         [BZ #13917]
66365         [BZ #13918]
66366         [BZ #13919]
66367         [BZ #13920]
66368         [BZ #13921]
66369         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
66370         * sysdeps/ieee754/k_standard.c: Include <float.h>.
66371         (__kernel_standard_l): New function.
66372         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
66373         __kernel_standard.
66374         * math/w_acosl.c (__acosl): Likewise.
66375         * math/w_asinl.c (__asinl): Likewise.
66376         * math/w_atan2l.c (__atan2l): Likewise.
66377         * math/w_atanhl.c (__atanhl): Likewise.
66378         * math/w_coshl.c (__coshl): Likewise.
66379         * math/w_exp10l.c (__exp10l): Likewise.
66380         * math/w_exp2l.c (__exp2l): Likewise.
66381         * math/w_fmodl.c (__fmodl): Likewise.
66382         * math/w_hypotl.c (__hypotl): Likewise.
66383         * math/w_j0l.c (__j0l, __y0l): Likewise.
66384         * math/w_j1l.c (__j1l, __y1l): Likewise.
66385         * math/w_jnl.c (__jnl, __ynl): Likewise.
66386         * math/w_lgammal.c (__lgammal): Likewise.
66387         * math/w_log10l.c (__log10l): Likewise.
66388         * math/w_log2l.c (__log2l): Likewise.
66389         * math/w_logl.c (__logl): Likewise.
66390         * math/w_powl.c (__powl): Likewise.
66391         * math/w_remainderl.c (__remainderl): Likewise.
66392         * math/w_scalbl.c (sysv_scalbl): Likewise.
66393         * math/w_sinhl.c (__sinhl): Likewise.
66394         * math/w_sqrtl.c (__sqrtl): Likewise.
66395         * math/w_tgammal.c (__tgammal): Likewise.
66396         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
66397         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
66398         * math/libm-test.inc (acos_test): Add more tests.
66399         (acosh_test): Likewise.
66400         (asin_test): Likewise.
66401         (atanh_test): Likewise.
66402         (exp_test): Likewise.
66403         (exp10_test): Likewise.
66404         (exp2_test): Likewise.
66405         (expm1_test): Likewise.
66406         (lgamma_test): Likewise.
66407         (log_test): Likewise.
66408         (log10_test): Likewise.
66409         (log1p_test): Likewise.
66410         (log2_test): Likewise.
66411         (pow_test): Do not allow some spurious overflow exceptions.
66412         (sqrt_test): Add more tests.
66413         (tgamma_test): Likewise.
66414         (y0_test): Likewise.
66415         (y1_test): Likewise.
66416         (yn_test): Likewise.
66418 2012-03-27  Anton Blanchard  <anton@samba.org>
66420         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
66421         MAP_HUGETLB.
66422         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
66423         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
66424         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
66426 2012-03-27  David S. Miller  <davem@davemloft.net>
66428         * conform/Makefile: Run run-conformtest.sh using $(BASH).
66430         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
66431         have-as-vis3 check.
66433 2012-03-27  Andreas Jaeger  <aj@suse.de>
66435         * sysdeps/x86_64/elf/configure.in: Moved to ...
66436         * sysdeps/x86_64/configure.in: ... here.
66437         * sysdeps/x86_64/elf/start.S: Moved to ...
66438         * sysdeps/x86_64/start.S: ... here.
66439         * sysdeps/x86_64/elf/configure: Delete.
66441         * sysdeps/x86_64/configure.in: Merge contents from
66442         sysdeps/i386/configure.in (without i686 check).
66444         * sysdeps/i386/elf/Versions: Merge into ...
66445         * sysdeps/i386/Versions: ... this.
66446         * sysdeps/i386/elf/Versions: Delete file.
66447         * sysdeps/i386/elf/start.S: Moved to ...
66448         * sysdeps/i386/start.S: ...here.
66449         * sysdeps/i386/elf/configure.in: Merge into...
66450         * sysdeps/i386/configure.in: ...here.
66451         * sysdeps/i386/elf/configure.in: Delete file.
66452         * sysdeps/i386/elf/configure: Delete file.
66454         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
66455         * debug/backtracesyms.c: ... here.
66456         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
66457         * debug/backtracesymsfd.c: ... here.
66458         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
66459         * sysdeps/generic/ifunc-sel.h: ... here.
66461         * sysdeps/unix/i386/start.c: Delete file.
66462         * sysdeps/unix/sparc/start.c: Delete file.
66463         * sysdeps/unix/start.c: Delete file.
66465         * sysdeps/sh/elf/configure.in: Moved to ...
66466         * sysdeps/sh/configure.in: ... here.
66467         * sysdeps/sh/elf/start.S: Moved to ...
66468         * sysdeps/sh/start.S: ... here.
66469         * sysdeps/sh/elf/configure: Delete file.
66471         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
66472         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
66473         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
66474         * sysdeps/powerpc/powerpc64/entry.h: ... here.
66475         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
66476         * sysdeps/powerpc/powerpc64/start.S: here.
66477         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
66478         * sysdeps/powerpc/powerpc64/Makefile: ... this.
66479         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
66480         * sysdeps/powerpc/powerpc64/configure.in: ... this.
66481         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
66483         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
66484         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
66485         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
66486         * sysdeps/powerpc/powerpc32/start.S: ... here.
66487         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
66488         * sysdeps/powerpc/powerpc32/configure.in: ... this.
66489         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
66491         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
66492         * sysdeps/powerpc/ifunc-sel.h: ... here.
66493         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
66494         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
66496         * sysdeps/sparc/elf/configure.in: Moved to ...
66497         * sysdeps/sparc/configure.in: ... here.
66498         * sysdeps/sparc/elf/configure: Delete file.
66499         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
66500         * sysdeps/sparc/sparc32/start.S: ... here.
66501         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
66502         * sysdeps/sparc/sparc64/start.S: ... here.
66503         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
66504         * sysdeps/sparc/sparc32/Makefile: ... this.
66505         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
66506         * sysdeps/sparc/sparc64/Makefile: ... this.
66508         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
66509         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
66510         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
66511         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
66512         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
66513         * sysdeps/s390/s390-32/setjmp.S: ... here.
66514         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
66515         * sysdeps/s390/s390-32/configure.in: ... here.
66516         * sysdeps/s390/s390-32/elf/configure: Delete file.
66517         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
66518         * sysdeps/s390/s390-32/start.S: ... here.
66520         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
66521         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
66522         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
66523         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
66524         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
66525         * sysdeps/s390/s390-64/setjmp.S: ... here.
66526         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
66527         * sysdeps/s390/s390-64/configure.in: ... here
66528         * sysdeps/s390/s390-64/elf/configure: Delete file.
66529         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
66530         * sysdeps/s390/s390-64/start.S: ... here.
66531         * sysdeps/s390/s390-64/elf/configure: Delete.
66533         * configure.in: Remove support for elf directories in sysdeps.
66535         * configure: Regenerated.
66536         * sysdeps/i386/configure: Regenerated.
66537         * sysdeps/powerpc/powerpc32/configure: Regenerated.
66538         * sysdeps/powerpc/powerpc64/configure: Regenerated.
66539         * sysdeps/s390/s390-32/configure: Regenerated.
66540         * sysdeps/s390/s390-64/configure: Regenerated.
66541         * sysdeps/sh/configure: Regenerated.
66542         * sysdeps/sparc/configure: Regenerated.
66543         * sysdeps/x86_64/configure: Regenerated.
66545 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
66547         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66549         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
66550         denormal result into account.
66552 2012-03-25  Roland McGrath  <roland@hack.frob.com>
66554         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
66555         Reported by Allan McRae <allan@archlinux.org>.
66557 2012-03-23  Jeff Law  <law@redhat.com>
66559         * nss/getnssent.c (__nss_getent): Fix typo.
66561 2012-03-23  David S. Miller  <davem@davemloft.net>
66563         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66565 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
66567         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
66568         to pad to uint64_t for each field.
66569         (dl_tls_index): Replace unsigned long with uint64_t.
66571 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
66572         Paul Pluzhnikov  <ppluzhnikov@google.com>
66574         [BZ #6528]
66575         * grp/Makefile (otherlibs): Don't set it.
66576         * inet/Makefile (otherlibs): Likewise.
66577         * login/Makefile (otherlibs): Likewise.
66578         * nscd/Makefile (otherlibs): Likewise.
66579         * posix/Makefile (otherlibs): Likewise.
66580         * pwd/Makefile (otherlibs): Likewise.
66581         * rt/Makefile (otherlibs): Likewise.
66582         * sunrpc/Makefile (otherlibs): Likewise.
66583         * nss/Makefile (otherlibs): Likewise.
66584         Add libnss_files to routines and static-only-routines.
66585         ($(objpfx)getent): Remove rule.
66586         * resolv/Makefile: Add libnss_dns and libresolv to routines and
66587         static-only-routines.
66589 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
66591         [BZ #13892]
66592         * math/s_cexp.c: Include <float.h>.
66593         (__cexp): Handle exp result overflowing not necessarily
66594         overflowing both real and imaginary parts of result.
66595         * math/s_cexpf.c: Likewise.
66596         * math/s_cexpl.c: Likewise.
66597         * math/libm-test.inc (cexp_test): Add more tests.
66598         * sysdeps/i386/fpu/libm-test-ulps: Update.
66599         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66601 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
66603         * include/link.h (ELFW): New macro.
66604         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
66605         Replace ELF64_R_TYPE with ELFW(R_TYPE).
66607 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
66609         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
66610         with uint64_t.
66612 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
66614         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
66615         declaration.
66616         (struct La_x32_retval): Likewise.
66618 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
66620         * sysdeps/x86_64/preconfigure.in: New file.
66621         * sysdeps/x86_64/preconfigure: New generated file.
66623 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
66625         [BZ #13824]
66626         * math/e_exp2l.c: Include <float.h>.
66627         (__ieee754_exp2l): Handle overflow and underflow cases
66628         separately.  Only pass fractional part of argument to
66629         __ieee754_expl.
66630         * math/libm-test.inc (exp2_test): Add more tests.
66632         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
66633         negating x to take absolute value.
66634         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
66635         Likewise.
66636         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
66637         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
66638         Likewise.
66639         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
66640         computing low part if x was negated.
66641         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
66643 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
66645         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
66646         la_x32_gnu_pltexit.
66647         (pltexit): Cast int_retval to ptrdiff_t.
66648         * elf/tst-auditmod3b.c: Likewise.
66649         * elf/tst-auditmod4b.c: Likewise.
66650         * elf/tst-auditmod5b.c: Likewise.
66651         * elf/tst-auditmod6b.c: Likewise.
66652         * elf/tst-auditmod6c.c: Likewise.
66653         * elf/tst-auditmod7b.c: Likewise.
66655         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
66656         and x32_gnu_pltexit.
66658         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
66659         __ELF_NATIVE_CLASS.
66660         (La_x32_regs): New macro.
66661         (La_x32_retval): Likewise.
66662         (la_x32_gnu_pltenter): New function prototype.
66663         (la_x32_gnu_pltexit): Likewise.
66665 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
66667         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
66668         exponent.
66670         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66672         * configure.in (libc_cv_cc_nofma): Check for option to disable
66673         generation of FMA instructions.
66674         * configure: Regenerate.
66675         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
66676         * sysdeps/ieee754/dbl-64/Makefile: New file.
66677         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
66678         Remove brandred-fma4.
66679         (CFLAGS-brandred-fma4.c): Remove.
66680         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
66681         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
66682         define.
66683         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
66684         define.
66686 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
66688         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
66689         LLONG_MAX != LONG_MAX.
66690         (_itoa_word): Use _ITOA_WORD_TYPE on value.
66691         (_fitoa_word): Likewise.
66692         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
66693         LLONG_MAX != LONG_MAX.
66694         * stdio-common/_itowa.h: Include <_itoa.h>.
66695         (_itowa_word): Use _ITOA_WORD_TYPE on value.
66696         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
66697         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
66698         only if not defined.
66699         (_ITOA_WORD_TYPE): Likewise.
66700         (_itoa_word): Use _ITOA_WORD_TYPE on value.
66701         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
66703 2012-03-21  David S. Miller  <davem@davemloft.net>
66705         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66707 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
66709         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
66710         of x86_64 when setting libc_cv_slibdir, libdir and
66711         libc_cv_localedir.
66712         * sysdeps/unix/sysv/linux/configure: Regenerated.
66714 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
66716         * manual/lang.texi (Old Varargs): Remove section.
66717         (How Variadic): Update menu.
66718         (va_start): Do not mention varargs.h.
66720 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
66721             Joseph Myers  <joseph@codesourcery.com>
66723         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
66724         link test.
66725         * configure: Regenerated.
66727 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
66729         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
66730         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
66731         conformtest.pl
66733 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
66735         * NOTES: Remove.
66736         * Makefile (files-for-dist): Remove NOTES.
66737         (NOTES): Remove rule.
66738         * README: Don't refer to NOTES.
66739         * manual/creature.texi: Don't include macros.texi.
66740         * manual/intro.texi (creature.texi): Remove comment referring to
66741         NOTES.
66743         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
66744         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
66745         * configure: Regenerated.
66746         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
66747         LIBC_TRY_CC_OPTION.
66748         (libc_cv_as_i686): Likewise.
66749         (libc_cv_cc_avx): Likewise.
66750         (libc_cv_cc_sse2avx): Likewise.
66751         (libc_cv_cc_fma4): Likewise.
66752         (libc_cv_cc_novzeroupper): Likewise.
66753         * sysdeps/i386/configure: Regenerated.
66755         [BZ #13883]
66756         * sysdeps/i386/fpu/s_cexp.S: Remove.
66757         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
66758         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
66759         * math/libm-test.inc (cexp_test): Add more tests.
66760         * sysdeps/i386/fpu/libm-test-ulps: Update.
66761         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66763 2012-03-21  Allan McRae  <allan@archlinux.org>
66765         * timezone/Makefile: Do not install iso3166.tab and zone.tab
66767 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
66769         [BZ #13871]
66770         * math/w_exp2.c: Do not include <float.h>.
66771         (o_threshold, u_threshold): Remove.
66772         (__exp2): Calculate result before checking finiteness and calling
66773         __kernel_standard.
66774         * math/w_exp2f.c: Likewise.
66775         * math/w_exp2l.c: Likewise.
66776         * math/libm-test.inc (exp2_test): Require overflow exception for
66777         1e6 input.
66779         [BZ #3866]
66780         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
66781         range of signed 64-bit integers before using fistpll.  Remove
66782         checks for whether integers fit in mantissa bits.
66783         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
66784         the range of signed 32-bit integers before using fistpl.  Remove
66785         checks for whether integers fit in mantissa bits.
66786         * sysdeps/i386/fpu/e_powl.S (p64): New object.
66787         (__ieee754_powl): Test for y outside the range of signed 64-bit
66788         integers before using fistpll.  Reduce 64-bit values to 63-bit
66789         ones as needed.
66790         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
66791         divide-by-zero is raised for zero to large negative powers.
66792         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
66793         (__ieee754_powl): Test for y outside the range of signed 64-bit
66794         integers before using fistpll.  Reduce 64-bit values to 63-bit
66795         ones as needed.
66796         * math/libm-test.inc (pow_test): Add more tests.
66798 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
66800         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
66801         <stdio-common/_itoa.h>.
66802         * debug/segfault.c: Likewise.
66803         * elf/dl-cache.c: Likewise.
66804         * elf/dl-minimal.c: Likewise.
66805         * elf/dl-misc.c: Likewise.
66806         * elf/dl-sysdep.c: Likewise.
66807         * elf/dl-version.c: Likewise.
66808         * elf/rtld.c: Likewise.
66809         * hurd/hurdsock.c: Likewise.
66810         * hurd/lookup-retry.c: Likewise.
66811         * malloc/malloc.c: Likewise.
66812         * malloc/mtrace.c: Likewise.
66813         * nscd/nscd_getgr_r.c: Likewise.
66814         * nscd/nscd_getpw_r.c: Likewise.
66815         * nscd/nscd_getserv_r.c: Likewise.
66816         * posix/getopt_init.c: Likewise.
66817         * posix/wordexp.c: Likewise.
66818         * stdio-common/_itoa.c: Likewise.
66819         * stdio-common/printf_fphex.c: Likewise.
66820         * stdio-common/vfprintf.c: Likewise.
66821         * string/_strerror.c: Likewise.
66822         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
66823         * sysdeps/i386/i686/hp-timing.h: Likewise.
66824         * sysdeps/mach/_strerror.c: Likewise.
66825         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
66826         * sysdeps/mach/hurd/sethostid.c: Likewise.
66827         * sysdeps/mach/hurd/xmknodat.c: Likewise.
66828         * sysdeps/mach/xpg-strerror.c: Likewise.
66829         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
66830         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
66831         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
66832         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
66833         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
66834         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
66835         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
66836         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
66837         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
66838         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
66839         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
66840         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
66841         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
66842         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
66843         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
66844         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
66845         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
66846         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
66847         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
66848         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
66849         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
66851         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
66853         * stdio-common/_itoa.h: Moved to ...
66854         * sysdeps/generic/_itoa.h: Here.
66856         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
66858         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
66859         instead of "_itoa.h" and "_itowa.h".
66860         * stdio-common/vfprintf.: Likewise.
66862 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
66864         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
66865         <bits/wordsize.h>.
66866         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
66867         (__signbit): Likwise.
66868         (llrintf): Likwise.
66869         (llrint): Likwise.
66871 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
66873         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
66874         __WORDSIZE != 64.
66876 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
66878         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
66879         OVERFLOW_EXCEPTION_OK.
66880         * math/libm-test.inc ("Philosophy"): Update comment about
66881         exception testing.
66882         (OVERFLOW_EXCEPTION): Define.
66883         (OVERFLOW_EXCEPTION_OK): Likewise.
66884         (INVALID_EXCEPTION_OK): Renumber.
66885         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
66886         (IGNORE_ZERO_INF_SIGN): Likewise.
66887         (test_exceptions): Handle FE_OVERFLOW.
66888         (exp10_test): Expect overflow exceptions.
66889         (exp2_test): Likewise.
66890         (expm1_test): Likewise.
66891         (nextafter_test): Likewise.
66892         (pow_test): Likewise.
66893         (scalbn_test): Likewise.
66894         (scalbln_test): Likewise.
66896 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
66898         * sysdeps/x86_64/bits/atomic.h
66899         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
66900         64bit integer.
66901         (atomic_exchange_acq): Likewise.
66902         (__arch_exchange_and_add_body): Likewise.
66903         (__arch_add_body): Likewise.
66904         (atomic_add_negative): Likewise.
66905         (atomic_add_zero): Likewise.
66907 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
66909         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
66910         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
66912 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
66914         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
66915         Check __x86_64__ instead of __WORDSIZE.
66917 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
66919         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
66921 2012-03-19  David S. Miller  <davem@davemloft.net>
66923         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66925         * sysdeps/sparc/fpu/fenv_private.h: New file.
66926         * sysdeps/sparc/fpu/math_private.h: Use it.
66927         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
66928         Remove.
66929         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
66930         (libc_feholdexcept_setroundl): Remove.
66931         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
66932         Remove.
66933         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
66934         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
66936 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
66938         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
66939         int64_t instead of long int.
66940         (INSERT_WORDS64): Likwise.
66942 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
66944         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
66945         _Unwind_GetCFA return to _Unwind_Ptr first.
66947 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
66949         [BZ #13629]
66950         * math/s_clog.c: Include <float.h>.
66951         (__clog): Scale large or subnormal inputs.
66952         * math/s_clogf.c: Likewise.
66953         * math/s_clogl.c: Likewise.
66954         * math/s_clog10.c: Include <float.h>.
66955         (M_LOG10_2): Define.
66956         (__clog10): Scale large or subnormal inputs.
66957         * math/s_clog10f.c: Likewise.
66958         * math/s_clog10l.c: Likewise.
66959         * math/libm-test.inc (clog_test): Add more tests.
66960         (clog10_test): Likewise.
66961         * sysdeps/i386/fpu/libm-test-ulps: Update.
66962         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66964         [BZ #11451]
66965         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
66966         x and y.
66967         * math/libm-test.inc (atan2_test): Add another test.
66969         * Makerules (common-objdir-compile): Remove.
66970         * sysdeps/unix/Makefile (config-generated): Do not add
66971         $(unix-generated) to variable.
66972         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
66973         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
66974         Remove rule.
66975         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
66976         Likewise.
66977         [generic bits/local_lim.h] (before-compile): Do not append to
66978         variable.
66979         [generic bits/local_lim.h] (common-generated): Likewise.
66980         [generic sys/param.h] (before-compile): Do not append to variable.
66981         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
66982         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
66983         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
66984         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
66985         include.
66986         [generic sys/param.h] (sys/param.h-includes): Remove variable.
66987         [generic sys/param.h] (sys/param.h-includes): Remove rule.
66988         [generic sys/param.h] ($(addprefix
66989         $(common-objpfx),$(sys/param.h-includes))): Likewise.
66990         [generic sys/param.h] (common-generated): Do not append to
66991         variable.
66992         [generic sys/param.h] (sysdep_headers): Likewise.
66993         [generic bits/errno.h] (before-compile): Do not append to
66994         variable.
66995         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
66996         rule.
66997         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
66998         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
66999         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
67000         [generic bits/errno.h] (common-generated): Do not append to
67001         variable.
67002         [generic bits/ioctls.h] (before-compile): Do not append to
67003         variable.
67004         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
67005         rule.
67006         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
67007         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
67008         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
67009         rule.
67010         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
67011         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
67012         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
67013         [generic bits/ioctls.h] (common-generated): Do not append to
67014         variable.
67015         [generic sys/syscall.h] (syscall.h): Remove variable.
67016         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
67017         rule.
67018         [generic sys/syscall.h] (before-compile): Do not append to
67019         variable.
67020         [generic sys/syscall.h] (common-generated): Likewise.
67021         * sysdeps/unix/errnos-tmpl.c: Remove file.
67022         * sysdeps/unix/errnos.awk: Likewise.
67023         * sysdeps/unix/ioctls-tmpl.c: Likewise.
67024         * sysdeps/unix/ioctls.awk: Likewise.
67025         * sysdeps/unix/mk-local_lim.c: Likewise.
67026         * sysdeps/unix/snarf-ioctls: Likewise.
67028 2012-03-19  Richard Henderson  <rth@twiddle.net>
67030         * sysdeps/i386/fpu/fenv_private.h: New file.
67031         * sysdeps/i386/fpu/math_private.h: Use it.
67032         (math_opt_barrier, math_force_eval): Remove.
67033         (libc_feholdexcept_setround_53bit): Remove.
67034         (libc_feupdateenv_53bit): Remove.
67035         * sysdeps/x86_64/fpu/math_private.h: Likewise.
67036         (math_opt_barrier, math_force_eval): Remove.
67037         (libc_feholdexcept): Remove.
67038         (libc_feholdexcept_setround): Remove.
67039         (libc_fetestexcept, libc_fesetenv): Remove.
67040         (libc_feupdateenv_test): Remove.
67041         (libc_feupdateenv, libc_feholdsetround): Remove.
67042         (libc_feresetround): Remove.
67044         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
67045         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
67047         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
67048         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
67049         (libc_feupdateenv_testl): New.
67050         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
67051         (libc_feupdateenv_testf): New.
67052         (libc_feupdateenv): Use libc_feupdateenv_test.
67053         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
67054         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
67056         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
67057         (libc_feholdsetroundf, libc_feholdsetroundl): New.
67058         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
67059         (libc_feresetround_noex): New.
67060         (libc_feresetround_noexf): New.
67061         (libc_feresetround_noexl): New.
67062         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
67063         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
67064         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
67065         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
67066         SET_RESTORE_ROUND.
67067         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
67068         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
67069         (__cos): Likewise.
67070         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
67071         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
67072         SET_RESTORE_ROUND_NOEX.
67073         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
67074         SET_RESTORE_ROUND_NOEXF.
67075         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
67076         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
67077         (libc_feholdsetroundf): New.
67078         (libc_feresetround, libc_feresetroundf): New.
67080         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
67081         (libc_feholdexcept_setround_53bit): Convert from macro to function.
67082         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
67084         * sysdeps/generic/math_private.h: Include <fenv.h>.
67085         (default_libc_feholdexcept): New.
67086         (default_libc_feholdexcept_setround): New.
67087         (default_libc_fesetenv, default_libc_feupdateenv): New.
67088         (libc_feholdexcept): Only define if undefined.
67089         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
67090         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
67091         (libc_feholdexcept_setroundl): Likewise.
67092         (libc_feholdexcept_setround_53bit): Likewise.
67093         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
67094         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
67095         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
67096         (libc_feupdateenv_53bit): Likewise.
67097         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
67098         (libc_feholdexcept): Convert from macro to inline function.
67099         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
67100         (libc_fesetenv, libc_feupdateenv): Likewise.
67102         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
67103         not previously defined.
67104         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
67105         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
67106         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
67107         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
67108         * sysdeps/ieee754/flt-32/math_private.h: New file.
67109         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
67110         math_private.h below SET_FLOAT_WORD.
67111         (__isnan, __isinf_ns, __finite): Remove.
67112         (__isnanf, __isinf_nsf, __finitef): Remove.
67114 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
67116         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67118 2012-03-17  David S. Miller  <davem@davemloft.net>
67120         [BZ #6471]
67121         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
67122         for 2.16.
67124 2012-03-16  David S. Miller  <davem@davemloft.net>
67126         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
67127         warnings.
67129         [BZ #6471]
67130         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
67131         properly.
67132         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
67133         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
67134         sysdep_routines when subdir is sysvipc.
67135         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
67136         __getshmlba helper.
67138         * sysdeps/sparc/fpu/libm-test/ulps: Update.
67140 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
67142         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
67143         [__LP64__].
67145 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
67147         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
67148         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
67149         (__lround): Renamed to ...
67150         (__llround): This.  Replace long int with long long int.
67151         Define lround functions as aliases of llround functions.
67152         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
67154 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
67156         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
67157         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
67158         adresses to uintptr_t.  Replace "long int" and "unsigned long
67159         int" with "greg_t" on va_arg.
67161 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
67163         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
67164         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
67166         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
67167         Move e_machine check before EI_CLASS check.  Handle x32
67168         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
67169         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
67170         SKIP_EM_IA_64 and include
67171         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
67173         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
67174         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
67175         (add_system_dir): New macro.
67177         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
67178         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
67180 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
67182         [BZ #2551]
67183         [BZ #2552]
67184         [BZ #2553]
67185         [BZ #2554]
67186         [BZ #2562]
67187         [BZ #2563]
67188         [BZ #2565]
67189         [BZ #2566]
67190         [BZ #2576]
67191         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
67192         (y0): Likewise.
67193         * math/w_j0f.c (j0f): Likewise.
67194         (y0f): Likewise.
67195         * math/w_j0l.c (__j0l): Likewise.
67196         (__y0l): Likewise.
67197         * math/w_j1.c (j1): Likewise.
67198         (y1): Likewise.
67199         * math/w_j1f.c (j1f): Likewise.
67200         (y1f): Likewise.
67201         * math/w_j1l.c (__j1l): Likewise.
67202         (__y1l): Likewise.
67203         * math/w_jn.c (jn): Likewise.
67204         (yn): Likewise.
67205         * math/w_jnf.c (jnf): Likewise.
67206         (ynf): Likewise.
67207         * math/w_jnl.c (__jnl): Likewise.
67208         (__ynl): Likewise.
67209         * math/libm-test.inc (j0_test): Add more tests.
67210         (j1_test): Likewise.
67211         (jn_test): Likewise.  Add trailing semicolon to existing test.
67212         (y0_test): Likewise.
67213         (y1_test): Likewise.
67214         * sysdeps/i386/fpu/libm-test-ulps: Update.
67215         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67217         [BZ #13851]
67218         [BZ #13854]
67219         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
67220         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
67221         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
67222         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
67223         (__tanl): Set errno for infinite argument.
67224         * sysdeps/i386/fpu/mptan.c: Remove.
67225         * sysdeps/i386/fpu/s_tan.S: Likewise.
67226         * sysdeps/i386/fpu/s_tanl.S: Likewise.
67227         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
67228         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
67229         * math/libm-test.inc (tan_test): Add more tests and enable more
67230         tests for double and long double.
67231         * sysdeps/i386/fpu/libm-test-ulps: Update.
67232         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67234 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
67236         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
67237         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
67239 2012-03-16  Roland McGrath  <roland@hack.frob.com>
67241         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
67242         * configure.in: Use it for both main tree and add-ons.
67243         * configure: Regenerated.
67245 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
67247         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
67249 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
67251         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
67252         in comment.
67254         [BZ #13851]
67255         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
67256         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
67257         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
67258         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
67259         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
67260         infinite argument.
67261         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
67262         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
67263         != 0 for prec == 2.
67264         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
67265         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
67266         * sysdeps/i386/fpu/s_cosl.S: Likewise.
67267         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
67268         * sysdeps/i386/fpu/s_sinl.S: Likewise.
67269         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
67270         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
67271         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
67272         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
67273         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
67274         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
67275         * math/libm-test.inc (cos_test): Add more tests and enable more
67276         tests for long double.
67277         (sin_test): Likewise.
67278         (sincos_test): Likewise.
67279         * sysdeps/i386/fpu/libm-test-ulps: Update.
67280         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67282 2012-03-16  David S. Miller  <davem@davemloft.net>
67284         * sysdeps/sparc/fpu/math_private.h: New file.
67286 2012-03-15  David S. Miller  <davem@davemloft.net>
67288         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
67289         file.
67290         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
67291         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
67292         file.
67293         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
67294         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
67295         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
67296         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
67297         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
67298         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
67299         sysdep routines.
67300         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
67302         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
67303         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
67305         * sysdeps/sparc/sparc-ifunc.h: New file.
67306         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
67307         sparc-ifunc.h
67308         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
67309         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
67310         Likewise.
67311         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
67312         Likewise.
67313         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
67314         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
67315         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
67316         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
67317         Likewise.
67318         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
67319         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
67320         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
67321         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
67322         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
67323         Likewise.
67324         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
67325         Likewise.
67326         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
67327         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
67328         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
67329         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
67330         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
67331         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
67332         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
67333         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
67334         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
67335         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
67336         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
67337         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
67338         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
67339         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
67340         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
67341         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
67342         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
67343         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
67344         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
67345         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
67346         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
67347         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
67348         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
67349         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
67351 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
67353         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
67354         scaling.
67355         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67357 2012-03-15  Andreas Jaeger  <aj@suse.de>
67359         [BZ #13852]
67360         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
67361         ieee754/flt-32 implementation for sin, cos and sincos.
67362         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
67363         * sysdeps/i386/fpu/s_cosf.S: Likewise.
67364         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
67365         * sysdeps/i386/fpu/s_sinf.S: Likewise.
67366         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
67367         ieee754/flt-32 implementation for tan.
67369         * math/libm-test.inc (cos_test): Enable some large input tests for
67370         float as well
67371         (sin_test): Likewise.
67372         (sincos_test): Likewise.
67373         (tan_test): Add tests for large input.
67375         * sysdeps/i386/fpu/libm-test-ulps: Update.
67377 2012-03-15  Andreas Jaeger  <aj@suse.de>
67379         [BZ #13658]
67380         * math/libm-test.inc (cos_test): Add more test cases.
67381         (sin_test): Likewise.
67382         (sincos_test): Likewise.
67384 2012-03-15  Andreas Jaeger  <aj@suse.de>
67386         [BZ #13837]
67387         * math/libm-test.inc (cos_test): Add a test case for large input
67388         value.
67389         (sin_test): Likewise.
67390         (sincos_test): Likewise.
67392 2012-03-15  Andreas Jaeger  <aj@suse.de>
67393             Joseph Myers  <joseph@codesourcery.com>
67395         [BZ #13658]
67396         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
67397         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
67398         * sysdeps/i386/fpu/branred.c: Likewise.
67399         * sysdeps/i386/fpu/dosincos.c: Likewise.
67400         * sysdeps/i386/fpu/mpa.c: Likewise.
67401         * sysdeps/i386/fpu/s_cos.S: Likewise.
67402         * sysdeps/i386/fpu/s_sin.S: Likewise.
67403         * sysdeps/i386/fpu/s_sincos.S: Likewise.
67404         * sysdeps/i386/fpu/sincos32.c: Likewise.
67406         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
67407         Define.
67408         (libc_feupdateenv_53bit): Define.
67409         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
67410         Define.
67411         (libc_feupdateenv_53bit): Define.
67413         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
67414         53 bit (without extend i386 double precision).
67416         * math/libm-test.inc (sincos_test): Add tests for large input.
67417         (sin): Likewise.
67418         (cos): Likewise.
67420         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
67422 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
67424         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67426 2012-03-15  David S. Miller  <davem@davemloft.net>
67428         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
67429         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
67430         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
67431         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
67432         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
67433         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
67434         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
67435         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
67436         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
67437         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
67438         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
67439         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
67440         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
67441         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
67442         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
67443         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
67444         file.
67445         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
67446         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
67447         file.
67448         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
67449         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
67450         file.
67451         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
67452         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
67453         file.
67454         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
67455         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
67456         fmin/fmax sysdep routines.
67457         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
67459 2012-03-14  David S. Miller  <davem@davemloft.net>
67461         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
67462         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
67463         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
67464         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
67465         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
67466         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
67467         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
67468         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
67469         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
67470         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
67471         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
67472         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
67473         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
67474         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
67475         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
67476         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
67477         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
67478         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
67479         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
67480         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
67481         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
67482         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
67483         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
67484         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
67485         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
67486         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
67487         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
67488         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
67489         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
67490         routines.
67491         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
67492         file.
67493         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
67494         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
67495         file.
67496         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
67497         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
67498         file.
67499         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
67500         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
67501         file.
67502         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
67503         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
67504         file.
67505         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
67506         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
67507         file.
67508         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
67509         file.
67510         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
67511         file.
67512         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
67513         file.
67514         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
67515         New file.
67516         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
67517         file.
67518         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
67519         file.
67520         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
67521         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
67522         file.
67523         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
67524         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
67525         file.
67526         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
67527         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
67528         file.
67529         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
67530         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
67531         VIS3 routines.
67533         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
67534         New file.
67536         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67538         * sysdeps/sparc/configure.in: New file.
67539         * sysdeps/sparc/configure: Generate.
67540         * configure.in (libc_cv_sparc_as_vis3): Substitute.
67541         * configure: Regenerate.
67542         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
67543         * config.make.in (have-as-vis3): New.
67544         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
67545         available use -Av9d instead of -Av9a.
67546         * sysdeps/sparc/sparc64/Makefile: Likewise.
67547         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
67548         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
67549         New file.
67550         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
67551         file.
67552         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
67553         New file.
67554         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
67555         file.
67556         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
67557         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
67558         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
67559         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
67560         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
67562         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
67563         fzeros/fnegs to load 0x80000000 into a float register instead of
67564         using the stack.
67565         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
67567 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
67569         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67570         bits/syscall.h.
67571         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
67572         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
67573         ($(inst_includedir)/bits/syscall.h): Remove rule.
67574         ($(objpfx)bits/syscall.d): Include instead of
67575         $(objpfx)syscall-list.d.
67576         (generated): Change syscall-list.h and syscall-list.d to
67577         bits/syscall.h and bits/syscall.d.
67579 2012-03-14  Roland McGrath  <roland@hack.frob.com>
67581         [BZ #13846]
67582         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
67584 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
67586         [BZ #13841]
67587         * math/s_csqrt.c: Include <float.h>.
67588         (__csqrt): Scale large or subnormal inputs.
67589         * math/s_csqrtf.c: Likewise.
67590         * math/s_csqrtl.c: Likewise.
67591         * math/libm-test.inc (csqrt_test): Add more tests.
67592         * sysdeps/i386/fpu/libm-test-ulps: Update.
67593         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67595         [BZ #13840]
67596         * math/libm-test.inc (hypot_test): Add more tests.
67598 2012-03-13  David S. Miller  <davem@davemloft.net>
67600         [BZ #13840]
67601         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
67602         double-precision for the calculation instead of scaling.
67604 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
67606         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
67607         manipulate bits before adding and subtracting TWO52[sx].
67608         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
67609         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
67610         Likewise.
67611         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
67613 2012-03-13  David S. Miller  <davem@davemloft.net>
67615         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
67616         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
67617         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
67618         rtld-global-offsets.h
67619         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
67621         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
67622         large parameters.
67624         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
67626         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
67627         'err' in the ifdef scope in which it is actually used.
67629         * nss/nss_db/db-init.c: Include string.h
67631 2012-03-12  David S. Miller  <davem@davemloft.net>
67633         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
67634         masking out of the most significant byte of random value used.
67635         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
67636         Fix coding style in previous change.
67638         * sysdeps/unix/sysv/linux/kernel-features.h
67639         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
67640         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
67641         expression.
67642         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
67643         later.
67645 2012-03-11  David S. Miller  <davem@davemloft.net>
67647         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
67648         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
67649         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
67650         for 'resultvar' otherwise things get truncated on 64-bit.
67652         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
67653         Fix masking out of the most significant byte of random value used.
67655         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67657 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
67659         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67661 2012-03-09  David S. Miller  <davem@davemloft.net>
67663         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
67664         variables with appropriate CPP guards.
67665         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
67666         from the frame pointer, not the stack pointer.  Correct layout
67667         comments.  Fix test on resulting framesize and the management of
67668         the outregs buffer for pltexit.  Preserve floating point return
67669         values across _dl_call_pltexit call.
67670         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
67671         framesize and the management of the outregs buffer for pltexit.
67672         Preserve floating point return values across _dl_call_pltexit
67673         call.
67674         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
67675         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
67676         (la_sparc64_gnu_pltexit): New functions.
67677         (print_exit): Fix format string for return register value.
67679 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
67681         * sunrpc/Makefile (others): Add rpcgen.
67682         ($(objpfx)rpcgen): Remove special build rule and dependency on
67683         libc.
67684         * sunrpc/rpcgen.c: New file.
67686 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
67688         [BZ #13673]
67689         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
67690         * stdio-common/bug-vfprintf-nargs.c: Likewise.
67691         * sysdeps/i386/crti.S: Likewise.
67692         * sysdeps/i386/crtn.S: Likewise.
67693         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
67694         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
67695         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
67696         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
67697         * sysdeps/sh/crti.S: Likewise.
67698         * sysdeps/sh/crtn.S: Likewise.
67699         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
67701         [BZ #13673]
67702         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
67703         with URL.
67704         * locale/programs/locfile-kw.gperf: Likewise.
67705         * locale/programs/charmap-kw.h: Regenerated.
67706         * locale/programs/locfile-kw.h: Likewise.
67708         [BZ #13673]
67709         * intl/plural.y: Replace FSF snail mail address with URL.
67710         * intl/plural.c: Regenerated.
67712 2012-03-09  Richard Henderson  <rth@twiddle.net>
67714         * include/math_private.h: Remove file.
67715         * math/math_private.h: Move file ...
67716         * sysdeps/generic/math_private.h: ... here.
67718         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
67719         * sysdeps/powerpc/fpu/math_private.h: Likewise.
67720         * sysdeps/x86_64/fpu/math_private.h: Likewise.
67722         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
67723         and <math_private.h>.
67724         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
67725         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
67726         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
67727         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
67728         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
67729         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
67730         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
67731         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
67732         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
67733         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
67734         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
67735         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
67736         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
67737         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
67738         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
67739         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
67740         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
67741         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
67742         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
67743         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
67744         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67745         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
67746         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
67747         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
67748         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
67749         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
67750         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
67751         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
67752         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
67753         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
67754         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
67755         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
67756         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
67757         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
67758         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
67759         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
67760         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
67761         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
67762         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
67763         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
67764         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
67765         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
67766         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
67767         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
67768         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
67769         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
67770         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
67771         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
67772         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
67773         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
67774         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
67775         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
67776         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
67777         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
67778         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
67779         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
67780         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
67781         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
67782         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
67783         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
67784         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
67785         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
67786         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
67787         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
67788         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
67789         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
67790         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
67791         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
67792         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
67793         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
67794         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
67795         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
67796         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
67797         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
67798         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
67799         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
67800         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
67801         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
67802         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
67803         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
67804         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
67805         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
67806         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
67807         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
67808         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
67809         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
67810         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
67811         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
67812         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
67813         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
67814         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
67815         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
67816         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
67817         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
67818         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
67819         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
67820         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
67821         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
67822         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
67823         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
67824         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
67825         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
67826         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
67827         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
67828         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
67829         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
67830         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
67831         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
67832         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
67833         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
67834         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
67835         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
67836         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
67837         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
67838         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
67839         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
67840         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
67841         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
67842         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
67843         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
67844         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
67845         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
67846         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
67847         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
67848         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
67849         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
67850         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
67851         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
67852         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
67853         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
67854         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
67855         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
67856         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
67857         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
67858         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
67859         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
67860         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
67861         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
67862         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
67863         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
67864         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
67865         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
67866         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
67867         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
67868         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
67869         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
67870         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
67871         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
67872         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
67873         * sysdeps/ieee754/k_standard.c: Likewise.
67874         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
67875         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
67876         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
67877         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
67878         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
67879         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
67880         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
67881         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
67882         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
67883         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
67884         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
67885         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
67886         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
67887         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
67888         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
67889         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
67890         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
67891         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
67892         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
67893         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
67894         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
67895         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
67896         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
67897         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
67898         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
67899         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
67900         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
67901         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
67902         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
67903         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
67904         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
67905         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
67906         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
67907         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
67908         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
67909         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
67910         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
67911         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
67912         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
67913         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
67914         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
67915         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
67916         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
67917         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
67918         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
67919         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
67920         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
67921         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
67922         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
67923         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
67924         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
67925         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
67926         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
67927         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
67928         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
67929         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
67930         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
67931         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
67932         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
67933         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
67934         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
67935         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
67936         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
67937         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
67938         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
67939         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
67940         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
67941         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
67942         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
67943         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
67944         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
67945         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
67946         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
67947         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
67948         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
67949         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
67950         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
67951         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
67952         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
67953         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
67954         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
67955         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
67956         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
67957         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
67958         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
67959         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
67960         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
67961         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
67962         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
67963         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
67964         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
67965         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
67966         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
67967         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
67968         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
67969         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
67970         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
67971         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
67972         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
67973         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
67974         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
67975         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
67976         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
67977         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
67978         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
67979         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
67980         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
67981         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
67982         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
67983         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
67984         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
67985         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
67986         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
67987         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
67988         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
67989         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
67990         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
67991         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
67992         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
67993         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
67994         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
67995         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
67996         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
67997         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
67998         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
67999         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
68000         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
68001         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
68002         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
68003         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
68004         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
68005         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
68006         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
68007         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
68008         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
68009         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
68010         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
68011         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
68012         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
68013         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
68014         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
68015         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
68016         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
68017         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
68018         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
68019         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
68020         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
68021         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
68022         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
68023         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
68024         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
68025         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
68026         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
68027         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
68028         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
68029         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
68030         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
68031         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
68032         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
68033         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
68034         * sysdeps/ieee754/s_lib_version.c: Likewise.
68035         * sysdeps/ieee754/s_matherr.c: Likewise.
68036         * sysdeps/ieee754/s_signgam.c: Likewise.
68037         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
68038         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
68039         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
68040         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
68041         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
68042         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
68043         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
68044         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
68045         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
68046         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
68047         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
68048         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
68049         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
68050         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
68051         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
68052         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
68053         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
68054         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
68055         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
68056         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
68057         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
68059 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
68061         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
68062         * sunrpc/rpc_main.c: Likewise.
68063         * sunrpc/rpc_svcout.c: Likewise.
68065 2012-03-09  David S. Miller  <davem@davemloft.net>
68067         * include/math_private.h: New file.
68069 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
68071         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
68072         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
68073         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
68074         from <bits/socket_type.h>.
68075         (enum __socket_type): Don't define here.
68076         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
68077         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68078         bits/socket_type.h.
68080         [BZ #13566]
68081         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
68082         checking __USE_GNU.
68084         * Makerules ($(inst_includedir)/%.h): New rule.
68085         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
68086         (install-others): Remove variable setting.
68087         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
68089 2012-03-08  Richard Henderson  <rth@twiddle.net>
68091         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
68092         from macro to inline function; merge with the
68093         !__LIBC_INTERNAL_MATH_INLINES version.
68094         (__ieee754_sqrtf): Likewise.
68096         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
68097         to inline function.
68098         (__rintf, __floor, __floorf): Likewise.
68100         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
68101         macro to inline function.
68102         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
68104         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
68105         not <math/math_private.h>.
68107 2012-03-08  David S. Miller  <davem@davemloft.net>
68109         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
68110         copyright year.
68111         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
68113 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
68115         * resolv/gai_misc.c (handle_requests): Fix struct timespec
68116         normalization.
68117         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
68118         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
68120 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
68122         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
68123         be defined individually, they must be defined as a block.  Define
68124         S for printing a string instead of hidint the different by using a
68125         macro for adding the 'l'.
68126         * stdio-common/tst-fphex-wide.c: Adjust.
68128 2012-03-07  Marek Polacek  <polacek@redhat.com>
68130         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
68132 2012-03-08  Marek Polacek  <polacek@redhat.com>
68134         [BZ #13806]
68135         * stdio-common/Makefile (tests): Add tst-fphex-wide.
68136         * stdio-common/tst-fphex.c: Define a few macros to make the
68137         test reusable.  Use them.
68138         * stdio-common/tst-fphex-wide.c: New file.
68140 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
68142         [BZ #6911]
68143         * manual/macros.texi (gnusystems): New macro.
68144         (nongnusystems): Likewise.
68145         (gnulinuxhurdsystems): Likewise.
68146         (gnuhurdsystems): Likewise..
68147         (gnulinuxsystems): Likewise.
68148         * manual/charset.texi: Use new macros or @theglibc{} to refer to
68149         variants of the GNU system, not "GNU system".
68150         * manual/conf.texi: Likewise.
68151         * manual/errno.texi: Likewise.  Update example of errno macro
68152         expansion.
68153         * manual/filesys.texi: Likewise.
68154         (getumask): Document as specific to GNU/Hurd.
68155         * manual/install.texi: Likewise.  Reword some references to
68156         GNU/Linux.
68157         * manual/intro.texi: Likewise.
68158         * manual/io.texi: Likewise.
68159         (File Name Portability): Detail which constraints are inapplicable
68160         to all GNU systems and which are only inapplicable to GNU/Hurd.
68161         * manual/job.texi: Likewise.
68162         * manual/llio.texi: Likewise.
68163         (O_NOCTTY): Document as present on GNU/Linux.
68164         * manual/maint.texi: Likewise.
68165         * manual/memory.texi: Likewise.
68166         * manual/pattern.texi: Likewise.
68167         * manual/pipe.texi: Likewise.
68168         * manual/process.texi: Likewise.
68169         * manual/resource.texi: Likewise.
68170         (RUSAGE_CHILDREN): Remove statement about specifying a particular
68171         child on GNU/Hurd.
68172         * manual/setjmp.texi: Likewise.
68173         * manual/signal.texi: Likewise.
68174         * manual/startup.texi: Likewise.
68175         * manual/stdio.texi: Likewise.
68176         * manual/terminal.texi: Likewise.
68177         (ONLCR): Document as POSIX.
68178         (OXTABS): Document availability on GNU/Linux as XTABS.
68179         (ONOEOT): Document availability separately from other bits.
68180         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
68181         * manual/time.texi: Likewise.
68182         * manual/users.texi: Likewise.
68183         * INSTALL: Regenerated.
68184         * sysdeps/gnu/errlist.c: Regenerated.
68186         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
68187         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
68188         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
68189         puts.
68190         * configure: Regenerated.
68192 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
68194         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
68195         default includes instead of AC_HEADER_CHECK.
68196         * sysdeps/i386/configure: Regenerated.
68198         [BZ #10716]
68199         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
68200         * math/s_cacoshf.c (__cacoshf): Likewise.
68201         * math/s_cacoshl.c (__cacoshl): Likewise.
68202         * math/s_casinh.c (__casinh): Set signs of result from argument.
68203         * math/s_casinhf.c (__casinhf): Likewise.
68204         * math/s_casinhl.c (__casinhl): Likewise.
68205         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
68206         (casinh_test): Add more tests.
68207         * sysdeps/i386/fpu/libm-test-ulps: Update.
68208         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68210 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
68212         * po/zh_TW.po: Update from translation team.
68214         * login/Makefile (distribute): Remove variable.
68215         * catgets/Makefile: Likewise.
68216         * mach/Makefile: Likewise.
68217         * malloc/Makefile: Likewise.
68218         * misc/Makefile: Likewise.
68219         * iconv/Makefile: Likewise.
68220         * nscd/Makefile: Likewise.
68221         * hurd/Makefile: Likewise.
68222         * manual/Makefile: Likewise.
68223         * locale/Makefile: Likewise.
68224         * intl/Makefile: Likewise.
68225         * conform/Makefile: Likewise.
68226         * nss/Makefile: Likewise.
68227         * time/Makefile: Likewise.
68228         * soft-fp/Makefile: Likewise.
68229         * dirent/Makefile: Likewise.
68230         * gmon/Makefile: Likewise.
68231         * po/Makefile: Likewise.
68232         * rt/Makefile: Likewise.
68233         * socket/Makefile: Likewise.
68234         * math/Makefile: Likewise.
68235         * signal/Makefile: Likewise.
68236         * debug/Makefile: Likewise.
68237         * elf/Makefile: Likewise.
68238         * timezone/Makefile: Likewise.
68239         * stdlib/Makefile: Likewise.
68240         * iconvdata/Makefile: Likewise.
68241         * sunrpc/Makefile: Likewise.
68242         * io/Makefile: Likewise.
68243         * argp/Makefile: Likewise.
68244         * inet/Makefile: Likewise.
68245         * hesiod/Makefile: Likewise.
68246         * grp/Makefile: Likewise.
68247         * csu/Makefile: Likewise.
68248         * wctype/Makefile: Likewise.
68249         * crypt/Makefile: Likewise.
68250         * libio/Makefile: Likewise.
68251         * string/Makefile: Likewise.
68252         * nis/Makefile: Likewise.
68253         * resolv/Makefile: Likewise.
68254         * stdio-common/Makefile: Likewise.
68255         * wcsmbs/Makefile: Likewise.
68256         * dlfcn/Makefile: Likewise.
68257         * posix/Makefile: Likewise.
68259         [BZ #6959]
68260         * timezone/Makefile: Don't install timezone files, just the programs
68261         and scripts.
68263 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
68265         * nss/databases.def: Add missing gshadow entry.
68267         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
68269 2012-03-06  Marek Polacek  <polacek@redhat.com>
68271         [BZ #13726]
68272         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
68273         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
68274         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
68275         * stdio-common/tst-long-dbl-fphex.c: New file.
68277 2012-03-06  David S. Miller  <davem@davemloft.net>
68279         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
68280         (set_obp_int): New function.
68281         (get_obp_int): New function.
68282         (__get_clockfreq_via_dev_openprom): Likewise.
68283         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
68284         Avoid unused variable warnings on 'val' and use builtin_expect.
68285         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
68286         __builtin_expect.
68287         (INLINE_CLONE_SYSCALL): Likewise.
68289 2012-03-05  David S. Miller  <davem@davemloft.net>
68291         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68293 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
68295         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68297         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
68298         only for |x| >= 40.
68299         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
68301 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
68303         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
68304         Replace gettimeofday with __vdso_gettimeofday.
68306         * sysdeps/unix/sysv/linux/x86_64/init-first.c
68307         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
68308         __vdso_clock_gettime and __vdso_getcpu.
68310         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
68311         time with __vdso_time.
68313 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
68315         * manual/lang.texi (size_t): Note types to which size_t may be
68316         equivalent with the GNU C Library, but do not describe when
68317         differences between them are significant.
68319 2012-03-05  Andreas Jaeger  <aj@suse.de>
68321         * sysdeps/i386/fpu/libm-test-ulps: Update.
68323 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
68325         [BZ #3976]
68326         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
68327         (__ieee754_pow): Save and restore rounding mode and use
68328         round-to-nearest for main computations.
68329         * math/libm-test.inc (pow_test_tonearest): New function.
68330         (pow_test_towardzero): Likewise.
68331         (pow_test_downward): Likewise.
68332         (pow_test_upward): Likewise.
68333         (main): Call the new functions.
68334         * sysdeps/i386/fpu/libm-test-ulps: Update.
68335         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68337         [BZ #3976]
68338         * math/libm-test.inc (cosh_test_tonearest): New function.
68339         (cosh_test_towardzero): Likewise.
68340         (cosh_test_downward): Likewise.
68341         (cosh_test_upward): Likewise.
68342         (sinh_test_tonearest): Likewise.
68343         (sinh_test_towardzero): Likewise.
68344         (sinh_test_downward): Likewise.
68345         (sinh_test_upward): Likewise.
68346         (main): Call the new functions.
68347         * sysdeps/i386/fpu/libm-test-ulps: Update.
68348         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68350 2012-03-05  Tom de Vries  <tom@codesourcery.com>
68352         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
68353         default stack guard is set in last bytes.
68354         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
68356 2012-03-05  Kees Cook  <keescook@chromium.org>
68358         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
68360         [BZ #13656]
68361         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
68362         possibly allocate from heap instead of stack.
68363         * stdio-common/bug-vfprintf-nargs.c: New file.
68364         * stdio-common/Makefile (tests): Add nargs overflow test.
68366 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
68368         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68370 2012-03-03  Marek Polacek  <polacek@redhat.com>
68372         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
68373         * math/math_private.h: Likewise.
68374         * stdlib/tst-strtod.c: Likewise.
68375         * sysdeps/i386/i486/bits/atomic.h: Likewise.
68376         * sysdeps/x86_64/bits/atomic.h: Likewise.
68378 2012-03-02  David S. Miller  <davem@davemloft.net>
68380         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
68381         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
68382         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
68383         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
68384         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
68385         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
68386         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
68387         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
68389 2012-03-02  Roland McGrath  <roland@hack.frob.com>
68391         [BZ #13792]
68392         * manual/examples/README: New file, says the example source files
68393         can be used under GPL>=2.
68394         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
68395         line containing just "*/".
68396         * manual/examples/add.c: Add copyright header (GPL>=2).
68397         * manual/examples/argp-ex1.c: Likewise.
68398         * manual/examples/argp-ex2.c: Likewise.
68399         * manual/examples/argp-ex3.c: Likewise.
68400         * manual/examples/argp-ex4.c: Likewise.
68401         * manual/examples/atexit.c: Likewise.
68402         * manual/examples/db.c: Likewise.
68403         * manual/examples/dir.c: Likewise.
68404         * manual/examples/dir2.c: Likewise.
68405         * manual/examples/execinfo.c: Likewise.
68406         * manual/examples/filecli.c: Likewise.
68407         * manual/examples/filesrv.c: Likewise.
68408         * manual/examples/fmtmsgexpl.c: Likewise.
68409         * manual/examples/genpass.c: Likewise.
68410         * manual/examples/inetcli.c: Likewise.
68411         * manual/examples/inetsrv.c: Likewise.
68412         * manual/examples/isockad.c: Likewise.
68413         * manual/examples/longopt.c: Likewise.
68414         * manual/examples/memopen.c: Likewise.
68415         * manual/examples/memstrm.c: Likewise.
68416         * manual/examples/mkfsock.c: Likewise.
68417         * manual/examples/mkisock.c: Likewise.
68418         * manual/examples/mygetpass.c: Likewise.
68419         * manual/examples/pipe.c: Likewise.
68420         * manual/examples/popen.c: Likewise.
68421         * manual/examples/rprintf.c: Likewise.
68422         * manual/examples/search.c: Likewise.
68423         * manual/examples/select.c: Likewise.
68424         * manual/examples/setjmp.c: Likewise.
68425         * manual/examples/sigh1.c: Likewise.
68426         * manual/examples/sigusr.c: Likewise.
68427         * manual/examples/stpcpy.c: Likewise.
68428         * manual/examples/strdupa.c: Likewise.
68429         * manual/examples/strftim.c: Likewise.
68430         * manual/examples/strncat.c: Likewise.
68431         * manual/examples/subopt.c: Likewise.
68432         * manual/examples/swapcontext.c: Likewise.
68433         * manual/examples/termios.c: Likewise.
68434         * manual/examples/testopt.c: Likewise.
68435         * manual/examples/testpass.c: Likewise.
68436         * manual/examples/timeval_subtract.c: Likewise.
68438         [BZ #13792]
68439         * manual/time.texi (Elapsed Time): Move timeval_subtract example
68440         function to ...
68441         * manual/timeval_subtract.c.texi: ... here, new file.
68443 2012-03-02  David S. Miller  <davem@davemloft.net>
68445         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
68447 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
68449         [BZ #3976]
68450         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
68451         (__sin): Save and restore rounding mode and use round-to-nearest
68452         for all computations.
68453         (__cos): Save and restore rounding mode and use round-to-nearest
68454         for all computations.
68455         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
68456         <fenv.h>.
68457         (tan): Save and restore rounding mode and use round-to-nearest for
68458         all computations.
68459         * math/libm-test.inc (cos_test_tonearest): New function.
68460         (cos_test_towardzero): Likewise.
68461         (cos_test_downward): Likewise.
68462         (cos_test_upward): Likewise.
68463         (sin_test_tonearest): Likewise.
68464         (sin_test_towardzero): Likewise.
68465         (sin_test_downward): Likewise.
68466         (sin_test_upward): Likewise.
68467         (tan_test_tonearest): Likewise.
68468         (tan_test_towardzero): Likewise.
68469         (tan_test_downward): Likewise.
68470         (tan_test_upward): Likewise.
68471         (main): Call the new functions.
68472         * sysdeps/i386/fpu/libm-test-ulps: Update.
68473         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68475         [BZ #10135]
68476         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
68477         small n, then large n, before computing and testing k+n.
68478         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
68479         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
68480         Likewise.
68481         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
68482         Likewise.
68483         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
68484         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
68485         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
68486         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
68487         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
68488         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
68489         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
68490         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
68491         * math/libm-test.inc (scalbn_test): Add more tests.
68492         (scalbln_test): Likewise.
68494         * manual/filesys.texi (mode_t): Describe constraints on size and
68495         signedness, not exact equivalence to a particular type.
68496         (ino_t): Likewise.
68497         (ino64_t): Likewise.
68498         (dev_t): Likewise.
68499         (nlink_t): Likewise.
68500         (blkcnt_t): Likewise.
68501         (blkcnt64_t): Likewise.
68502         * manual/llio.texi (off_t): Likewise.
68504         [BZ #3976]
68505         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
68506         (__ieee754_exp): Save and restore rounding mode and use
68507         round-to-nearest for all computations.
68508         * math/libm-test.inc (exp_test_tonearest): New function.
68509         (exp_test_towardzero): Likewise.
68510         (exp_test_downward): Likewise.
68511         (exp_test_upward): Likewise.
68512         (main): Call the new functions.
68513         * sysdeps/i386/fpu/libm-test-ulps: Update.
68514         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68516 2012-03-01  Chris Demetriou  <cgd@google.com>
68518         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
68519         have predictable order.
68521 2012-03-01  David S. Miller  <davem@davemloft.net>
68523         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
68525         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
68526         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
68527         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
68528         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
68530         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
68531         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
68532         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
68533         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
68534         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
68535         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
68536         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
68537         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
68538         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
68540         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68542         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
68543         * sysdeps/sparc/fpu/libm-test-ulps: to here.
68544         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
68546         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
68547         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
68548         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
68549         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
68550         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
68551         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
68552         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
68553         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
68554         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
68555         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
68556         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
68557         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
68558         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
68559         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
68560         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
68561         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
68562         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
68563         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
68564         * sysdeps/sparc/elf/configure: Regenerated.
68566 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
68568         * configure.in (AS, LD): Require binutils 2.20 or later.
68569         * configure: Regenerated.
68570         * manual/install.texi (Tools for Compilation): Give binutils 2.20
68571         as required minimum version.
68572         * INSTALL: Regenerated.
68574         [BZ #2541]
68575         [BZ #4108]
68576         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
68577         before squaring exponent.
68578         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
68579         bottom long double and 27 bits of top long double before squaring
68580         exponent.
68581         * math/libm-test.inc (erfc_test): Add more tests.
68582         * sysdeps/i386/fpu/libm-test-ulps: Update.
68583         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
68584         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68586 2012-03-01  Kai Tietz  <ktietz@redhat.com>
68588         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
68589         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
68590         containing bit-fields.
68591         * soft-fp/extended.h (_FP_UNION_E): Likewise.
68592         * soft-fp/single.h (_FP_UNION_S): Likewise.
68593         * soft-fp/double.h (_FP_UNION_D): Likewise.
68595 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
68597         [BZ #13786]
68598         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
68599         not include ../strcmp.S.
68600         [USE_AS_STRNCASECMP_L]: Likewise.
68601         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
68602         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
68603         * sysdeps/i386/i686/multiarch/strncase_l-c.c
68604         (__strncasecmp_l_ia32): Define as alias to
68605         __strncasecmp_l_nonascii.
68607         [BZ #5794]
68608         * math/libm-test.inc (expm1_test): Add test for bug 5794.
68609         * sysdeps/i386/fpu/libm-test-ulps: Update.
68610         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68612         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
68613         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68615 2012-02-29  Jeff Law  <law@redhat.com>
68617         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
68618         out of bounds read.
68620 2012-02-29  Marek Polacek  <polacek@redhat.com>
68622         [BZ #13706]
68623         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
68624         * elf/Makefile: Add rules to run tst-unused-dep.out.
68626 2012-02-28  David S. Miller  <davem@davemloft.net>
68628         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
68629         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
68630         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
68631         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
68632         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
68633         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
68635 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
68637         * math/libm-test.inc (llround_test): Move one test from
68638         lround_test.  Use TEST_f_L in moved test.
68639         (lround_test): Move misplaced test to llround_test.  Add testcase
68640         from bug 2561.
68642 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
68644         * sysdeps/x86_64/fpu/e_expf.S: New file.
68645         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
68647 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
68649         [BZ #13637]
68650         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
68651         of remain_len that may cause incomplete multi-byte character and
68652         false match.
68653         * posix/bug-regex33.c: New file.
68654         * posix/Makefile (tests): Add bug-regex33.
68656 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
68658         * manual/macros.texi: New file.
68659         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
68660         * manual/libc.texinfo: Include macros.texi.
68661         * manual/creatute.texi: Likewise.
68662         * manual/install.texi: Likewise.
68663         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
68664         @glibcadj{} in references to the GNU C Library.
68665         * manual/charset.texi: Likewise.
68666         * manual/conf.texi: Likewise.
68667         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
68668         when not using those macros.
68669         * manual/creature.texi: Likewise.
68670         * manual/crypt.texi: Likewise.
68671         * manual/errno.texi: Likewise.
68672         * manual/filesys.texi: Likewise.
68673         * manual/header.texi: Likewise.
68674         * manual/install.texi: Likewise.
68675         * manual/intro.texi: Likewise.
68676         * manual/io.texi: Likewise.
68677         * manual/job.texi: Likewise.
68678         * manual/lang.texi: Likewise.
68679         * manual/libc.texiinfo: Likewise.
68680         * manual/llio.texi: Likewise.
68681         * manual/locale.texi: Likewise.
68682         * manual/maint.texi: Likewise.
68683         * manual/math.texi: Likewise.
68684         * manual/memory.texi: Likewise.
68685         * manual/message.texi: Likewise.
68686         * manual/nss.texi: Likewise.
68687         * manual/pattern.texi: Likewise.
68688         * manual/process.texi: Likewise.
68689         * manual/resource.texi: Likewise.
68690         * manual/search.texi: Likewise.
68691         * manual/setjmp.texi: Likewise.
68692         * manual/signal.texi: Likewise.
68693         * manual/socket.texi: Likewise.
68694         * manual/startup.texi: Likewise.
68695         * manual/stdio.texi: Likewise.
68696         * manual/string.texi: Likewise.
68697         * manual/sysinfo.texi: Likewise.
68698         * manual/syslog.texi: Likewise.
68699         * manual/terminal.texi: Likewise.
68700         * manual/time.texi: Likewise.
68701         * manual/users.texi: Likewise.
68702         * INSTALL: Regenerated.
68703         * NOTES: Regenerated.
68704         * sysdeps/gnu/errlist.c: Regenerated.
68706 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
68708         * include/dirent.h: Include <dirstream.h> before
68709         <dirent/dirent.h>.
68711 2012-02-28  David S. Miller  <davem@davemloft.net>
68713         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
68714         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
68715         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
68716         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
68718 2012-02-27  David S. Miller  <davem@davemloft.net>
68720         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
68721         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
68722         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
68723         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
68725         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
68726         frame pointer instead of stack pointer relative arg slot.
68727         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
68728         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
68729         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
68731 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
68733         [BZ #3992]
68734         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
68736 2012-02-27  David S. Miller  <davem@davemloft.net>
68738         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
68739         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
68740         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
68741         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
68742         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
68743         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
68744         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
68745         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
68747 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
68749         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
68750         later.  Allow versions 5-9.
68751         * configure: Regenerated.
68752         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
68753         required minimum version and 4.6 as recommended version.  Do not
68754         mention bugs in GCC 2.7 and 2.8.
68755         * INSTALL: Regenerated.
68757 2012-02-27  David S. Miller  <davem@davemloft.net>
68759         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
68760         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
68761         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
68762         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
68763         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
68764         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
68765         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
68766         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
68768         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
68769         manipulate bits before adding and subtracting TWO112[sx].
68770         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
68772 2012-02-27  Roland McGrath  <roland@hack.frob.com>
68774         [BZ #13775]
68775         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
68776         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
68777         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
68778         being in POSIX, because they are in 1003.1-2008.
68780         * rt/tst-aio.c: Include <fcntl.h>.
68781         * rt/tst-aio7.c: Likewise.
68782         * rt/tst-aio64.c: Likewise.
68784         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
68786 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
68788         * manual/install.texi (--with-headers): Describe headers as
68789         interface headers, not private headers.
68790         (Specific advice for GNU/Linux systems): Describe use of headers
68791         from "make headers_install", not private headers from older
68792         kernels.
68793         * INSTALL: Regenerated.
68794         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
68795         Change to 2.6.19.
68796         * sysdeps/unix/sysv/linux/configure: Regenerated.
68798         * manual/llio.texi (fclean): Remove documentation.
68800         * manual/Makefile (libc-texi-generated): New variable.  Include
68801         version.texi.
68802         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
68803         $(libc-texi-generated), not duplicated list of files.
68804         (version.texi, stamp-version): New rules.
68805         (realclean): Remove $(libc-texi-generated), not individual files
68806         from that list.  Do not remove dir-add.texinfo.
68807         * manual/libc.texinfo: Comment out uses of edition numbers and
68808         references to printed manual.  Remove last-updated dates.
68809         (EDITION): Comment out.
68810         (ISBN): Likewise.
68811         (VERSION, UPDATED): Remove.
68812         (version.texi): Include.
68814 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
68816         * sysdeps/posix/spawni.c: Include <signal.h>.
68817         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
68818         * sysdeps/pthread/aio_fsync.c: Likewise.
68820 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
68822         * conform/Makefile (tests): Run only when not cross-compiling and
68823         when fast-check is not defined.
68825         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
68826         * conform/data/limits.h-data: Fixes for POSIX2008.
68827         * conform/run-conformtest.sh: Run all tests.
68828         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
68829         headers.
68830         * include/bits/dlfcn.h: Likewise.
68831         * include/langinfo.h: Likewise.
68832         * include/monetary.h: Likewise.
68833         * include/sys/poll.h: Likewise.
68835         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
68836         for __USE_GNU.
68837         * posix/spawn.h: Define __need_sigset_t.
68838         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
68839         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
68840         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
68841         to get sigevent_t only.
68842         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
68843         only for __USE_GNU.
68844         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
68845         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
68846         process_vm_writev only for __USE_GNU.
68847         * termios/termios.h: Declare tcgetsid also for POSIX2008.
68849         * conform/Makefile: For now ignore errors from run-conformtest.
68850         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
68851         POSIX to avoid namespace pollution.  Don't prepend headers.
68852         * conform/data/aio.h-data: Fixes for POSIX testing.
68853         * conform/data/fcntl.h-data: Likewise.
68854         * conform/data/glob.h-data: Likewise.
68855         * conform/data/grp.h-data: Likewise.
68856         * conform/data/pthread.h-data: Likewise.
68857         * conform/data/pwd.h-data: Likewise.
68858         * conform/data/signal.h-data: Likewise.
68859         * conform/data/spawn.h-data: Likewise.
68860         * conform/data/stdio.h-data: Likewise.
68861         * conform/data/stdlib.h-data: Likewise.
68862         * conform/data/stropts.h-data: Likewise.
68863         * conform/data/sys/mman.h-data: Likewise.
68864         * conform/data/sys/stat.h-data: Likewise.
68865         * conform/data/sys/types.h-data: Likewise.
68866         * conform/data/sys/wait.h-data: Likewise.
68867         * conform/data/time.h-data: Likewise.
68868         * conform/data/unistd.h-data: Likewise.
68869         * conform/data/utime.h-data: Likewise.
68871         * io/sys/stat.h: fchmod was always in POSIX.
68872         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
68873         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
68874         * rt/aio.h: Define __need_timespec before including <time.h>.
68875         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
68876         struct.  Add forward declaration of pthread_attr_t and use it in
68877         sigevent.
68878         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
68879         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
68880         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
68881         always remove CLK_TCK definition.
68883 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
68885         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
68887 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
68889         * conform/run-conformtest.sh: New file.
68890         * conform/Makefile: Run run-conformtest for tests.
68891         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
68892         support.
68894         * conform/data/uchar.h-data: New file.
68895         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
68896         * conform/data/arpa/inet.h-data: Likewise.
68897         * conform/data/assert.h-data: Likewise.
68898         * conform/data/complex.h-data: Likewise.
68899         * conform/data/cpio.h-data: Likewise.
68900         * conform/data/ctype.h-data: Likewise.
68901         * conform/data/dirent.h-data: Likewise.
68902         * conform/data/dlfcn.h-data: Likewise.
68903         * conform/data/errno.h-data: Likewise.
68904         * conform/data/fcntl.h-data: Likewise.
68905         * conform/data/float.h-data: Likewise.
68906         * conform/data/fmtmsg.h-data: Likewise.
68907         * conform/data/fnmatch.h-data: Likewise.
68908         * conform/data/ftw.h-data: Likewise.
68909         * conform/data/glob.h-data: Likewise.
68910         * conform/data/grp.h-data: Likewise.
68911         * conform/data/iconv.h-data: Likewise.
68912         * conform/data/inttypes.h-data: Likewise.
68913         * conform/data/langinfo.h-data: Likewise.
68914         * conform/data/libgen.h-data: Likewise.
68915         * conform/data/limits.h-data: Likewise.
68916         * conform/data/locale.h-data: Likewise.
68917         * conform/data/math.h-data: Likewise.
68918         * conform/data/monetary.h-data: Likewise.
68919         * conform/data/mqueue.h-data: Likewise.
68920         * conform/data/ndbm.h-data: Likewise.
68921         * conform/data/net/if.h-data: Likewise.
68922         * conform/data/netdb.h-data: Likewise.
68923         * conform/data/netinet/in.h-data: Likewise.
68924         * conform/data/nl_types.h-data: Likewise.
68925         * conform/data/poll.h-data: Likewise.
68926         * conform/data/pthread.h-data: Likewise.
68927         * conform/data/pwd.h-data: Likewise.
68928         * conform/data/regex.h-data: Likewise.
68929         * conform/data/sched.h-data: Likewise.
68930         * conform/data/search.h-data: Likewise.
68931         * conform/data/semaphore.h-data: Likewise.
68932         * conform/data/setjmp.h-data: Likewise.
68933         * conform/data/signal.h-data: Likewise.
68934         * conform/data/spawn.h-data: Likewise.
68935         * conform/data/stdarg.h-data: Likewise.
68936         * conform/data/stdio.h-data: Likewise.
68937         * conform/data/stdlib.h-data: Likewise.
68938         * conform/data/string.h-data: Likewise.
68939         * conform/data/strings.h-data: Likewise.
68940         * conform/data/stropts.h-data: Likewise.
68941         * conform/data/sys/ipc.h-data: Likewise.
68942         * conform/data/sys/mman.h-data: Likewise.
68943         * conform/data/sys/msg.h-data: Likewise.
68944         * conform/data/sys/resource.h-data: Likewise.
68945         * conform/data/sys/select.h-data: Likewise.
68946         * conform/data/sys/sem.h-data: Likewise.
68947         * conform/data/sys/shm.h-data: Likewise.
68948         * conform/data/sys/socket.h-data: Likewise.
68949         * conform/data/sys/stat.h-data: Likewise.
68950         * conform/data/sys/statvfs.h-data: Likewise.
68951         * conform/data/sys/time.h-data: Likewise.
68952         * conform/data/sys/timeb.h-data: Likewise.
68953         * conform/data/sys/times.h-data: Likewise.
68954         * conform/data/sys/types.h-data: Likewise.
68955         * conform/data/sys/uio.h-data: Likewise.
68956         * conform/data/sys/un.h-data: Likewise.
68957         * conform/data/sys/utsname.h-data: Likewise.
68958         * conform/data/sys/wait.h-data: Likewise.
68959         * conform/data/syslog.h-data: Likewise.
68960         * conform/data/tar.h-data: Likewise.
68961         * conform/data/termios.h-data: Likewise.
68962         * conform/data/utime.h-data: Likewise.
68963         * conform/data/utmpx.h-data: Likewise.
68964         * conform/data/varargs.h-data: Likewise.
68965         * conform/data/wchar.h-data: Likewise.
68966         * conform/data/wctype.h-data: Likewise.
68967         * conform/data/wordexp.h-data: Likewise.
68969         * include/stropts.h: New file.
68970         * include/uchar.h: New file.
68971         * include/aio.h: Changes to allow conformtest.pl to use the headers.
68972         * include/assert.h: Likewise.
68973         * include/ctype.h: Likewise.
68974         * include/dirent.h: Likewise.
68975         * include/dlfcn.h: Likewise.
68976         * include/fcntl.h: Likewise.
68977         * include/fnmatch.h: Likewise.
68978         * include/glob.h: Likewise.
68979         * include/grp.h: Likewise.
68980         * include/libio.h: Likewise.
68981         * include/locale.h: Likewise.
68982         * include/math.h: Likewise.
68983         * include/net/if.h: Likewise.
68984         * include/netdb.h: Likewise.
68985         * include/netinet/in.h: Likewise.
68986         * include/pthread.h: Likewise.
68987         * include/pwd.h: Likewise.
68988         * include/regex.h: Likewise.
68989         * include/sched.h: Likewise.
68990         * include/search.h: Likewise.
68991         * include/setjmp.h: Likewise.
68992         * include/signal.h: Likewise.
68993         * include/stdio.h: Likewise.
68994         * include/stdlib.h: Likewise.
68995         * include/string.h: Likewise.
68996         * include/sys/cdefs.h: Likewise.
68997         * include/sys/mman.h: Likewise.
68998         * include/sys/msg.h: Likewise.
68999         * include/sys/resource.h: Likewise.
69000         * include/sys/select.h: Likewise.
69001         * include/sys/socket.h: Likewise.
69002         * include/sys/stat.h: Likewise.
69003         * include/sys/statvfs.h: Likewise.
69004         * include/sys/time.h: Likewise.
69005         * include/sys/times.h: Likewise.
69006         * include/sys/uio.h: Likewise.
69007         * include/sys/utsname.h: Likewise.
69008         * include/sys/wait.h: Likewise.
69009         * include/termios.h: Likewise.
69010         * include/time.h: Likewise.
69011         * include/ulimit.h: Likewise.
69012         * include/unistd.h: Likewise.
69013         * include/utime.h: Likewise.
69014         * include/wchar.h: Likewise.
69015         * include/wctype.h: Likewise.
69016         * include/wordexp.h: Likewise.
69018         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
69020         * time/time.h: TIME_UTC must be a macro.
69021         Make timespec_get available for ISO C11 only as well.
69023 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
69025         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
69026         Reported by Peng Haitao <penght@cn.fujitsu.com>.
69028 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
69030         * configure.in: Use -o not -a in test for unsupported multi-arch.
69032 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
69034         * manual/texinfo.tex: Update to version 2012-01-19.16.
69036 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
69038         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
69040 2012-02-24  Roland McGrath  <roland@hack.frob.com>
69042         [BZ #13738]
69043         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
69044         * manual/fdl-1.3.texi: New file.
69045         * manual/fdl-1.1.texi: File removed.
69047         [BZ #13738]
69048         * manual/libc.texinfo (FDL_VERSION): New @set.
69049         Use it for mention of FDL in cover text.
69050         (Documentation License): Use it in @include file name.
69052 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
69053             Roland McGrath  <roland@hack.frob.com>
69055         [BZ #5461]
69056         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
69057         (not LONG_LONG_MAX and LONG_LONG_MIN.
69058         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
69059         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
69060         name.
69061         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
69063 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
69065         [BZ #2547]
69066         [BZ #11365]
69067         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
69068         manipulate bits before adding and subtracting TWO23[sx].
69069         * math/libm-test.inc (nearbyint_test): Add more tests.
69071 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
69073         [BZ #2548]
69074         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
69075         bits before adding and subtracting TWO23[sx].
69076         * math/libm-test.inc (rint_test): Add more tests.
69077         (rint_test_tonearest): Likewise.
69078         (rint_test_towardzero): Likewise.
69079         (rint_test_downward): Likewise.
69080         (rint_test_upward: Likewise.
69082 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
69084         [BZ #10110]
69085         * include/stdc-predef.h: New file.  Extracted from features.h.
69086         * include/features.h: Include stdc-predef.h.
69087         * Makefile (headers): Add stdc-predef.h.
69088         * CONFORMANCE (Compiler limitations): Update.
69090 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
69092         * manual/libc.texinfo (VERSION, UPDATED): Revert.
69094 2012-02-21  David S. Miller  <davem@davemloft.net>
69096         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
69097         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
69099 2012-02-20  David S. Miller  <davem@davemloft.net>
69101         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
69102         using a normal save/restore sequence, rather than allocating a
69103         dummy stack frame just to store a frame pointer and restore.
69104         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
69106 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
69108         * manual/install.texi: Fix stray word in line-wrapped comment.
69110 2012-02-20  David S. Miller  <davem@davemloft.net>
69112         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
69113         both binutils and gcc support GOTDATA.
69115         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
69116         "rd %pc" in the PIC register setup sequences.
69118         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
69119         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
69120         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
69121         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
69122         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
69123         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
69124         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
69125         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
69126         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
69127         (SYSCALL_ERROR_HANDLER): Likewise.
69128         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
69129         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
69130         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
69131         (SYSCALL_ERROR_HANDLER): Likewise.
69133         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
69134         (HAVE_GCC_GOTDATA): New.
69135         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
69136         relocation support in both binutils and gcc.
69137         * sysdeps/sparc/elf/configure: Regenerate.
69139         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
69140         * sysdeps/sparc/sparc32/elf/configure: Delete.
69141         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
69142         * sysdeps/sparc/sparc64/elf/configure: Delete.
69143         * sysdeps/sparc/elf/configure.in: New file.
69144         * sysdeps/sparc/elf/configure: Generate.
69146         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
69147         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
69148         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
69149         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
69150         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
69152 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
69154         * manual/install.texi: Do not mention specific glibc version
69155         numbers.
69156         * manual/libc.texinfo (VERSION, UPDATED): Update.
69157         (@copying): Use @copyright{} and range of years.
69159 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
69161         [BZ #13695]
69162         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
69163         [crti.S not in sysdirs] (generated): Do not append.
69164         [crti.S not in sysdirs] (omit-deps): Likewise.
69165         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
69166         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
69167         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
69168         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
69169         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
69170         Likewise.
69171         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
69172         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
69173         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
69174         * csu/defs.awk: Remove file.
69175         * sysdeps/generic/initfini.c: Likewise.
69176         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
69177         variable.
69178         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
69179         Likewise.
69181 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
69183         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
69184         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
69185         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
69186         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
69187         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
69188         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
69189         <bits/epoll.h>.
69190         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
69191         (__EPOLL_PACKED): Define to empty if not defined by
69192         <bits/epoll.h>.
69193         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
69194         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69195         bits/epoll.h.
69197 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
69199         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
69200         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
69201         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
69202         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
69203         <bits/timerfd.h>.
69204         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
69205         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69206         bits/timerfd.h.
69208 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
69210         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
69211         in C locale.
69212         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
69213         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
69214         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
69215         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69217 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
69219         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
69220         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
69222 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
69224         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
69225         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
69226         defined.
69227         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
69228         Likewise.
69229         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
69230         entry for 2.16.
69232 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
69234         * math/w_acos.c: Use non-signaling floating-point comparisons.
69235         * math/w_acosf.c: Likewise.
69236         * math/w_acosh.c: Likewise.
69237         * math/w_acoshf.c: Likewise.
69238         * math/w_acoshl.c: Likewise.
69239         * math/w_acosl.c: Likewise.
69240         * math/w_asin.c: Likewise.
69241         * math/w_asinf.c: Likewise.
69242         * math/w_asinl.c: Likewise.
69243         * math/w_atanh.c: Likewise.
69244         * math/w_atanhf.c: Likewise.
69245         * math/w_atanhl.c: Likewise.
69246         * math/w_exp2.c: Likewise.
69247         * math/w_exp2f.c: Likewise.
69248         * math/w_exp2l.c: Likewise.
69249         * math/w_j0.c: Likewise.
69250         * math/w_j0f.c: Likewise.
69251         * math/w_j0l.c: Likewise.
69252         * math/w_j1.c: Likewise.
69253         * math/w_j1f.c: Likewise.
69254         * math/w_j1l.c: Likewise.
69255         * math/w_jn.c: Likewise.
69256         * math/w_jnf.c: Likewise.
69257         * math/w_log.c: Likewise.
69258         * math/w_log10.c: Likewise.
69259         * math/w_log10f.c: Likewise.
69260         * math/w_log10l.c: Likewise.
69261         * math/w_log2.c: Likewise.
69262         * math/w_log2f.c: Likewise.
69263         * math/w_log2l.c: Likewise.
69264         * math/w_logf.c: Likewise.
69265         * math/w_logl.c: Likewise.
69266         * math/w_sqrt.c: Likewise.
69267         * math/w_sqrtf.c: Likewise.
69268         * math/w_sqrtl.c: Likewise.
69269         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
69270         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
69271         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
69272         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
69273         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
69275 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
69277         [BZ #9739]
69278         * manual/string.texi (strnlen): Use correct parameter name in
69279         equivalent expression.
69281 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
69283         [BZ #11174]
69284         * manual/users.texi (seteuid): Consistently use neweuid for
69285         argument name.
69287 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
69289         [BZ #13704]
69290         * manual/nss.texi (Services in the NSS configuration): Correct
69291         list of services in example configuration file.
69293 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
69295         [BZ #11322]
69296         * manual/arith.texi: Remove statements about negative zero
69297         behaving identically to zero.
69299 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
69301         [BZ #5993]
69302         * manual/install.texi: Do not document upgrading from libc5.
69304 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
69306         [BZ #4596]
69307         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
69309 2012-02-18  David S. Miller  <davem@davemloft.net>
69311         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
69312         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
69313         %o7 across the call.
69314         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
69315         instead.
69316         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
69317         SETUP_PIC_REG_LEAF.
69318         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
69319         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
69320         * sysdeps/sparc/crtn.S: Likewise.
69322 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
69324         * aout/Makefile: Remove.
69326 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
69328         [BZ #13058]
69329         * manual/examples/argp-ex1.c (main): Format definition in GNU
69330         style.
69331         * manual/examples/argp-ex2.c (main): Likewise.
69332         * manual/examples/argp-ex3.c (main): Likewise.
69333         * manual/examples/argp-ex4.c (main): Likewise.
69334         * manual/examples/longopt.c (main): Use new-style prototype
69335         definition.
69336         * manual/examples/strncat.c (main): Specify return type and use
69337         (void) for arguments.
69338         * manual/examples/subopt.c (main): Use char **argv argument.
69340 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
69342         [BZ #5077]
69343         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
69344         rounding modes.
69346 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
69348         [BZ #6907]
69349         * manual/string.texi (strchr): Change when strchrnul is
69350         recommended.
69352 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
69354         [BZ #174]
69355         * manual/locale.texi (setlocale): Document LOCPATH.
69357 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
69359         [BZ #10210]
69360         * manual/process.texi (execle): Move @dots{} before last argument.
69362 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
69364         [BZ #12047]
69365         * manual/charset.texi (Generic Charset Conversion): Fix typo
69366         (LC_TYPE -> LC_CTYPE).
69368 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
69370         [BZ #5805]
69371         * manual/arith.texi (scalbn): Use @var{} on parameter names.
69372         (scalbnf): Likewise.
69373         (scalbnl): Likewise.
69374         (scalbln): Likewise.
69375         (scalblnf): Likewise.
69376         (scalblnl): Likewise.
69377         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
69378         (vwarnx): Likewise.
69379         (verr): Likewise.
69380         (verrx): Likewise.
69381         * manual/filesys.texi (telldir): Use braces around return type.
69382         * manual/llio.texi (mmap): Add space after comma.
69383         (mmap64): Likewise.
69384         * manual/math.texi (jn): Use @var{} on parameter names.
69385         (jnf): Likewise.
69386         (jnl): Likewise.
69387         (yn): Likewise.
69388         (ynf): Likewise.
69389         (ynl): Likewise.
69390         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
69391         line.
69392         * manual/resource.texi (ulimit): Use @dots{} instead of literal
69393         "...".
69394         (sched_get_priority_min): Remove semicolon on @deftypefun line.
69395         (sched_get_priority_max): Likewise.
69396         * manual/signal.texi (sigvec): Add space after comma.
69397         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
69398         names.
69399         (if_indextoname): Likewise.
69400         (if_freenameindex): Likewise.
69401         (sendto): Use ',' instead of '.' in prototype.
69402         * manual/startup.texi (syscall): Use @dots{} instead of literal
69403         "...".
69404         * manual/stdio.texi (__fpending): Separate initial words of
69405         paragraph from @deftypefun line.
69406         * manual/syslog.texi (syslog): Use @dots{} instead of literal
69407         "...".
69408         (vsyslog): Use @var{} on parameter names.
69409         * manual/terminal.texi (stty): Use @var{} on parameter names.
69410         * manual/users.texi (getutmp): Use @var{} on parameter names.
69411         (getutmpx): Likewise.
69413 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
69415         [BZ #6884]
69416         * manual/stdio.texi (fopen): Fix typos in description of
69417         ",ccs=STRING".
69419 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
69421         [BZ #4026]
69422         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
69423         get clock_id definition.
69425 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
69427         [BZ #4822]
69428         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
69429         (madvise): Cast every argument to void on its own.
69431 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
69433         [BZ #9902]
69434         * manual/startup.texi (Exit Status): Fix typo.
69436 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
69438         [BZ #10140]
69439         * manual/examples/argp-ex1.c: Include <stdlib.h>.
69440         * manual/examples/argp-ex2.c: Likewise.
69441         * manual/examples/argp-ex3.c: Likewise.
69443 2012-02-16  Richard Henderson  <rth@redhat.com>
69445         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
69446         * sysdeps/s390/s390-32/initfini.c: Remove.
69447         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
69448         * sysdeps/s390/s390-64/initfini.c: Remove.
69450 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
69452         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
69453         compiler output for sysdeps/generic/initfini.c.
69454         * sysdeps/sh/elf/initfini.c: Remove file.
69456 2012-02-16  David S. Miller  <davem@davemloft.net>
69458         [BZ #11494]
69459         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
69461         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
69462         * sysdeps/sparc/crti.S: New file.
69463         * sysdeps/sparc/crtn.S: New file.
69464         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
69465         * sysdeps/sparc/sparc64/Makefile: Likewise.
69467 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
69469         [BZ #3335]
69470         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
69472 2012-02-15  Roland McGrath  <roland@hack.frob.com>
69474         [BZ #4822]
69475         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
69477         * mach/devstream.c (cookie_io_functions_t): Macro removed.
69478         (write, read, close): Likewise.
69479         Patch by Aurelien Jarno <aurelien@aurel32.net>.
69481 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
69483         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
69484         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
69485         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
69486         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
69487         <bits/signalfd.h>.
69488         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
69489         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69490         bits/signalfd.h.
69492 2012-02-14  Marek Polacek  <polacek@redhat.com>
69494         * sysdeps/x86_64/crti.S: New file.
69495         * sysdeps/x86_64/crtn.S: New file.
69496         * sysdeps/x86_64/elf/initfini.c: Remove file.
69498 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
69500         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
69501         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
69502         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
69503         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
69504         <bits/inotify.h>.
69505         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
69506         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69507         bits/inotify.h.
69509 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
69511         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
69512         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
69513         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
69514         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
69515         <bits/eventfd.h>.
69516         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
69517         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69518         bits/eventfd.h.
69520 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
69522         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
69523         __feraiseexcept instead of feraiseexcept.
69525         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
69526         nanosleep invocations.
69527         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
69528         strings, and add error checking for a nanosleep invocations.
69530 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
69532         Replace FSF snail mail address with URLs, as per GNU coding standards.
69533         Most of the snail mail addresses were wrong anyway, and omitting
69534         them makes the source code easier to maintain.  Almost all of the
69535         changes are to license notices and to locale LC_IDENTIFICATION
69536         addresses, except for this one:
69537         * manual/libc.texinfo: In "Published by", give the FSF's URL,
69538         not its snail mail address.
69540 2012-02-09  Richard Henderson  <rth@twiddle.net>
69542         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
69543         of kernel-features.h.
69545         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
69547 2012-02-08  Marek Polacek  <polacek@redhat.com>
69549         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
69550         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
69551         * sysdeps/gnu/_G_config.h: Likewise.
69552         * sysdeps/generic/_G_config.h: Likewise.
69554 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
69556         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
69557         tests.
69558         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69560         * sysdeps/powerpc/powerpc32/crti.S: New file.
69561         * sysdeps/powerpc/powerpc32/crtn.S: New file.
69562         * sysdeps/powerpc/powerpc64/crti.S: New file.
69563         * sysdeps/powerpc/powerpc64/crtn.S: New file.
69565         * Makeconfig (have-initfini): Don't set.
69566         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
69567         * configure.in (nopic_initfini): Don't substitute.
69568         * config.h.in (HAVE_INITFINI): Don't #undef.
69569         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
69570         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
69572 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
69574         Support crti.S and crtn.S provided directly by architectures.
69575         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
69576         [crti.S in sysdirs] (omit-deps): Likewise.
69577         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
69578         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
69579         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
69580         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
69581         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
69582         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
69583         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
69584         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
69585         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
69586         compiler output for sysdeps/generic/initfini.c.
69587         * sysdeps/i386/elf/Makefile: Remove file.
69588         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
69590 2012-02-07  Marek Polacek  <polacek@redhat.com>
69592         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
69593         * sysdeps/gnu/_G_config.h: Likewise.
69594         * sysdeps/mach/hurd/_G_config.h: Likewise.
69596 2012-02-07  Marek Polacek  <polacek@redhat.com>
69598         * math/Makefile (tests): Add tst-CMPLX2.
69599         * math/tst-CMPLX2.c: New file.
69601 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
69603         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
69605         * math/libm-test.inc (jn_test): Add missing L suffix.
69607 2012-02-06  Marek Polacek  <polacek@redhat.com>
69609         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
69610         * sysdeps/i386/fpu/e_powf.S: Likewise.
69611         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
69612         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
69613         * sysdeps/i386/fpu/e_acosh.S: Likewise.
69614         * sysdeps/i386/fpu/e_pow.S: Likewise.
69615         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
69616         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
69617         * sysdeps/i386/fpu/s_expm1.S: Likewise.
69618         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
69619         * sysdeps/i386/fpu/e_log2.S: Likewise.
69620         * sysdeps/i386/fpu/e_log2l.S: Likewise.
69621         * sysdeps/i386/fpu/e_scalb.S: Likewise.
69622         * sysdeps/i386/fpu/e_powl.S: Likewise.
69623         * sysdeps/i386/fpu/s_log1p.S: Likewise.
69624         * sysdeps/i386/fpu/e_log10f.S: Likewise.
69625         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
69626         * sysdeps/i386/fpu/e_logl.S: Likewise.
69627         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
69628         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
69629         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
69630         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
69631         * sysdeps/i386/fpu/e_log2f.S: Likewise.
69632         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
69633         * sysdeps/i386/fpu/e_log.S: Likewise.
69634         * sysdeps/i386/fpu/s_cexp.S: Likewise.
69635         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
69636         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
69637         * sysdeps/i386/fpu/e_logf.S: Likewise.
69638         * sysdeps/i386/fpu/e_log10l.S: Likewise.
69639         * sysdeps/i386/fpu/e_atanh.S: Likewise.
69640         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
69641         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
69642         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
69643         * sysdeps/i386/fpu/e_log10.S: Likewise.
69644         * sysdeps/i386/fpu/s_frexp.S: Likewise.
69645         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
69646         * sysdeps/i386/fpu/s_asinh.S: Likewise.
69647         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
69648         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
69649         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
69650         * sysdeps/i386/asm-syntax.h: Likewise.
69651         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
69652         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
69653         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
69654         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
69655         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
69656         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
69657         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
69658         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
69659         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
69660         * sysdeps/powerpc/sysdep.h: Likewise.
69661         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
69662         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
69664 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
69666         [BZ #411]
69667         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
69669 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
69671         * sysdeps/i386/sysdep.h: Include <features.h>.
69672         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
69673         version.
69675 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
69677         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
69678         Define.
69679         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
69680         LOAD_PIC_REG_STR.
69682 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
69684         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
69685         (SETUP_PIC_REG): Use GET_PC_THUNK.
69686         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
69687         macro.
69689 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
69691         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
69692         for non-PIC compilation.
69693         (SETUP_PIC_REG): Add .p2align directive.
69694         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
69695         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
69696         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
69697         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
69698         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
69699         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
69700         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
69701         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
69702         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
69703         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
69704         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
69705         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
69706         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
69707         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
69708         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
69709         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
69710         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
69711         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
69712         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
69713         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
69714         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
69715         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
69716         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
69717         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
69718         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
69719         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
69720         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
69721         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
69722         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
69723         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
69724         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
69725         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
69726         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
69727         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
69728         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
69729         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
69730         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
69731         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
69732         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
69733         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
69734         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
69736 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
69738         * math/tst-CMPLX.c: Include <stdio.h>.
69740 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
69742         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
69743         float.
69744         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
69745         * sysdeps/sparc/bits/mathdef.h: Likewise.
69747 2012-01-31  Marek Polacek  <polacek@redhat.com>
69749         * libio/libio.h: Don't define _PARAMS.
69750         * locale/programs/config.h: Don't define PARAMS.
69751         * stdlib/strtol_l.c: Likewise.
69752         (__strtol_l): Remove PARAMS from the prototype.
69754 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
69756         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
69757         names.  Just use the correct names.  Remove unnecessary wrapper
69758         functions.
69759         * malloc/arena.c: Likewise.
69760         * malloc/hooks.c: Likewise.
69762         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
69763         ARENA_TEST says not to.  Simplify test for creation of a new arena.
69764         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
69766 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
69768         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
69769         into tail calls.
69770         (update_get_addr): New function.
69771         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
69772         GET_ADDR_MODULE parameter.
69774 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
69776         * crypt/cert.c: Remove __STDC__ conditionals.
69777         * crypt/crypt-entry.c: Likewise.
69778         * crypt/crypt_util.c: Likewise.
69779         * libio/filedoalloc.c: Likewise.
69780         * libio/fileops.c: Likewise.
69781         * libio/genops.c: Likewise.
69782         * libio/iofclose.c: Likewise.
69783         * libio/iofdopen.c: Likewise.
69784         * libio/iofopen.c: Likewise.
69785         * libio/iofopen64.c: Likewise.
69786         * libio/iogetdelim.c: Likewise.
69787         * libio/iopopen.c: Likewise.
69788         * libio/obprintf.c: Likewise.
69789         * libio/oldfileops.c: Likewise.
69790         * libio/oldiofclose.c: Likewise.
69791         * libio/oldiofdopen.c: Likewise.
69792         * libio/oldiofopen.c: Likewise.
69793         * libio/oldiopopen.c: Likewise.
69794         * libio/wfiledoalloc.c: Likewise.
69795         * libio/wgenops.c: Likewise.
69796         * locale/programs/xmalloc.c: Likewise.
69797         * misc/syslog.c: Likewise.
69798         * stdio-common/xbug.c: Likewise.
69799         * string/memchr.c: Likewise.
69800         * string/memcmp.c: Likewise.
69801         * string/memrchr.c: Likewise.
69802         * string/rawmemchr.c: Likewise.
69803         * sysdeps/posix/getcwd.c: Likewise.
69804         * time/strftime_l.c: Likewise.
69806 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
69808         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
69809         * config.make.in (config-cflags-sse2avx): Define.
69810         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
69811         Fix typo.
69813 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
69815         * scripts/config.guess: Update from upstream config git repository.
69816         * scripts/config.sub: Likewise.
69818 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
69820         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
69821         (EM_NUM): Update.
69822         (R_TILEPRO_*, R_TILEGX_*): New macros.
69824         * scripts/firstversions.awk: Fix bug in version range handling.
69826         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
69828         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
69830         * include/sys/epoll.h: New file.
69831         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
69832         libc_hidden_def.
69834 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
69836         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
69837         Avoid unnecessary __WORDSIZE == 64 test.
69838         (fmaxf): Use VEX format if possible.
69839         (fmax): Likewise.
69840         (fminf): Likewise.
69841         (fmin): Likewise.
69843         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
69844         * math/math_private.h: Remove libc_fegetround* and
69845         libc_fesetround*.
69846         * sysdeps/i386/configure.in: Check for -msse2avx.
69847         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
69848         also if SSE2AVX is defined.
69849         Remove libc_fegetround* and libc_fesetround*.
69850         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
69851         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
69852         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
69853         of HAS_YMM_USABLE.
69854         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
69855         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
69856         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
69857         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
69858         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
69860         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
69862 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69864         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
69865         size is not set.
69866         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
69868 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
69870         [BZ #13618]
69871         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
69872         relocation.
69873         * Makeconfig (libm): Define.
69874         * elf/Makefile: Add rules to build and run tst-relsort1.
69875         * elf/tst-relsort1.c: New file.
69876         * elf/tst-relsort1mod1.c: New file.
69877         * elf/tst-relsort1mod2.c: New file.
69879 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
69881         * math/s_ldexp.c: Remove __STDC__ conditionals.
69882         * math/s_ldexpf.c: Likewise.
69883         * math/s_ldexpl.c: Likewise.
69884         * math/s_nextafter.c: Likewise.
69885         * math/s_nexttowardf.c: Likewise.
69886         * math/s_significand.c: Likewise.
69887         * math/s_significandf.c: Likewise.
69888         * math/s_significandl.c: Likewise.
69889         * math/w_jnl.c: Likewise.
69890         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
69891         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
69892         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
69893         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
69894         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
69895         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
69896         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
69897         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
69898         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
69899         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
69900         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
69901         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
69902         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
69903         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
69904         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
69905         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
69906         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
69907         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
69908         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
69909         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
69910         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
69911         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
69912         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
69913         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
69914         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
69915         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
69916         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
69917         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
69918         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
69919         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
69920         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
69921         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
69922         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
69923         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
69924         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
69925         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
69926         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
69927         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
69928         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
69929         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
69930         * sysdeps/ieee754/k_standard.c: Likewise.
69931         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
69932         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
69933         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
69934         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
69935         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
69936         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
69937         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
69938         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
69939         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
69940         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
69941         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
69942         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
69943         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
69944         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
69945         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
69946         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
69947         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
69948         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
69949         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
69950         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
69951         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
69952         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
69953         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
69954         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
69955         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
69956         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
69957         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
69958         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
69959         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
69960         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
69961         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
69962         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
69963         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
69964         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
69965         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
69966         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
69967         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
69968         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
69969         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
69970         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
69971         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
69972         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
69973         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
69974         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
69975         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
69976         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
69977         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
69978         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
69979         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
69980         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
69981         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
69982         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
69983         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
69984         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
69985         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
69986         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
69987         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
69988         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
69989         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
69990         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
69991         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
69992         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
69993         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
69994         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
69995         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
69996         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
69997         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
69998         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
69999         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
70000         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
70001         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
70002         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
70003         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
70004         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
70005         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
70006         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
70007         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
70008         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
70009         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
70010         * sysdeps/ieee754/s_matherr.c: Likewise.
70011         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
70012         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
70013         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
70014         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
70016 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
70018         * crypt/md5.h: Remove __STDC__ conditionals.
70019         * libio/libioP.h: Likewise.
70020         * locale/programs/config.h: Likewise.
70021         * sysdeps/generic/sysdep.h: Likewise.
70022         * sysdeps/i386/asm-syntax.h: Likewise.
70023         * sysdeps/s390/asm-syntax.h: Likewise.
70024         * sysdeps/unix/sysdep.h: Likewise.
70025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
70026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
70028 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
70030         * libio/libio.h: Remove __STDC__ conditionals.
70031         * malloc/obstack.h: Likewise.
70032         * math/complex.h: Likewise.
70033         * math/math.h: Likewise.
70034         * sysdeps/generic/_G_config.h: Likewise.
70035         * sysdeps/gnu/_G_config.h: Likewise.
70036         * sysdeps/mach/hurd/_G_config.h: Likewise.
70037         * sysdeps/powerpc/bits/mathdef.h: Likewise.
70038         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
70039         * sysdeps/sparc/bits/mathdef.h: Likewise.
70041 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
70043         [BZ #13583]
70044         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
70045         Clean up HAS_* macros.
70046         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
70047         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
70048         possible.
70049         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
70050         HAS_AVX.
70051         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
70052         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
70053         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
70054         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
70055         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
70057 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
70059         * elf/tst-unique3.cc (gets): Remove declaration.
70060         * elf/tst-unique3lib.cc (gets): Likewise.
70061         * elf/tst-unique3lib2.cc (gets): Likewise.
70062         * elf/tst-unique4.cc (gets): Likewise.
70064 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
70066         * include/stdio.h: Add C++ protection.  Add gets declarations and
70067         definitions.
70068         * debug/tst-chk1.c: Don't declare gets here.
70069         * stdio-common/tst-gets.c: Likewise.
70071 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
70073         * posix/glob: Remove directory.
70075 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
70077         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
70079 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
70081         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
70082         of the non-standard EPFNOSUPPORT.
70084 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70086         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
70087         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
70088         ANYWHERE set to 1 only on KERN_NO_SPACE error.
70090 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
70092         * wcsmbs/uchar.h: Test __STDC_VERSION__.
70094 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
70096         * nscd/aicache.c (addhstaiX): Do not cache negative results of
70097         transient errors.
70098         * nscd/grpcache.c (cache_addgr): Likewise.
70099         * nscd/hstcache.c (cache_addhst): Likewise.
70100         * nscd/initgrcache.c (addinitgroupsX): Likewise.
70101         * nscd/pwdcache.c (cache_addpw): Likewise.
70102         * nscd/servicescache.c (cache_addserv): Likewise.
70104 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
70106         * malloc/malloc.c: Various cleanups.
70107         * malloc/hooks.c: Likewise.
70109         * stdlib/Makefile (tests): Add bug-fmtmsg1.
70110         * stdlib/bug-fmtmsg1.c: New file.
70112         * stdlib/fmtmsg.c (init): Add missing unlock.
70113         Patch by Peng Haitao <penght@cn.fujitsu.com>.
70115 2012-01-12  Marek Polacek  <polacek@redhat.com>
70117         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
70118         and _GNU_SOURCE.
70120 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
70122         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
70123         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
70124         macro to ensure uniqueness of label name.
70125         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
70126         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
70128 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
70130         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
70132         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
70133         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
70134         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
70135         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
70137 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
70139         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
70141         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
70142         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
70143         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
70145         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
70147         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
70148         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
70149         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
70150         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
70152         * math/bits/math-finite.h: Add ldexp support.
70154 2012-01-10  Marek Polacek  <polacek@redhat.com>
70156         * locale/programs/localedef.h (show_archive_content): Add noreturn
70157         attribute.
70159 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
70161         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
70163 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
70165         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
70167         * io/Makefile (headers): Add bits/poll2.h.
70169 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
70171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
70172         typo #include statement.
70174 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
70176         * include/sys/cdefs.h: Define __attribute_alloc_size.
70177         * catgets/gencat.c: Add alloc_size attribute and apply consistently
70178         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
70179         * elf/pldd.c: Likewise.
70180         * iconv/iconv_charmap.c: Likewise.
70181         * iconv/iconvconfig.c: Likewise.
70182         * iconv/strtab.c: Likewise.
70183         * locale/programs/locale.c: Likewise.
70184         * locale/programs/localedef.h: Likewise.
70185         * locale/programs/simple-hash.c: Likewise.
70186         * nscd/nscd.h: Likewise.
70187         * nss/makedb.c: Likewise.
70188         * sysdeps/generic/ldconfig.h: Likewise.
70189         * locale/programs/localedef.c: Remove xmalloc prototype.
70190         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
70192 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
70194         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
70195         appropriate.
70197 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
70199         * math/Makefile (tests): Add tst-CMPLX.
70200         * math/tst-CMPLX.c: New file.
70202         * math/complex.h (CMPLXL): Fix typo.
70204         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
70205         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
70206         GLIBC_2.16.
70207         * debug/tst-chk1.c: Add poll and ppoll tests.
70208         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
70209         * include/sys/poll.h: Add hidden proto for ppoll.
70210         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
70211         * sysdeps/mach/hurd/ppoll.c: Likewise.
70212         * io/ppoll.c: Likewise.
70213         * debug/poll_chk.c: New file.
70214         * debug/ppoll_chk.c: New file.
70215         * include/bits/poll2.h: New file.
70216         * io/bits/poll2.h: New file.
70218         [BZ #1350]
70219         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
70221         * configure.in: static is always set to yes.  Remove.
70222         * config.make.in: Don't set build-static.
70223         * Makeconfig: Remove use of build-static.
70224         * dlfcn/Makefile: Likewise.
70225         * elf/Makefile: Likewise.
70226         * math/Makefile: Likewise.
70227         * misc/Makefile: Likewise.
70228         * nptl/Makefile: Likewise.
70229         * sysdeps/mach/hurd/Makefile: Likewise.
70231         * configure.in: PWD_P is not used anymore.
70232         * config.make.in: Remove PWD_P entry.
70234         * configure.in: Remove last remnants of RANLIB.
70235         No need to check for signed size_t anymore.
70236         Don't set libc_commonpagesize and libc_relro_required here for Alpha
70237         and IA-64.
70238         Remove __builtin_expect test because we require at least gcc 3.4.
70239         * aclocal.m4: Likewise.
70241         * wcsmbs/mbrtoc16.c: Implement using towc function.
70242         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
70243         * wcsmbs/wcsmbsload.c: Likewise.
70244         * iconv/gconv_simple.c: Likewise.
70245         * iconv/gconv_int.h: Likewise.
70246         * iconv/gconv_builtin.h: Likewise.
70247         * iconv/iconv_prog.c: Remove CHAR16 handling.
70249         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
70251         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
70253         * configure.in: Remove --with-elf and --enable-bounded options.
70254         Dont set base_machine for ia64.  More non-ELF conditions removed.
70255         Remove testing and setting of leading underscore information.
70256         * config.make.in (build-bounded): Set to no.
70257         * config.h.in: Remove NO_UNDERSCORES entry.
70258         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
70259         them.
70260         * csu/start.c: Remove !NO_UNDERSCORE code.
70261         * locale/localeinfo.h: Likewise.
70262         * sysdeps/generic/machine-gmon.h: Likewise.
70263         * sysdeps/generic/sysdep.h: Likewise.
70264         * sysdeps/i386/sysdep.h: Likewise.
70265         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
70266         * sysdeps/mach/sysdep.h: Likewise.
70267         * sysdeps/s390/s390-32/sysdep.h: Likewise.
70268         * sysdeps/s390/s390-64/sysdep.h: Likewise.
70269         * sysdeps/sh/sysdep.h: Likewise.
70270         * sysdeps/sparc/sparc32/alloca.S: Likewise.
70271         * sysdeps/unix/i386/sysdep.S: Likewise.
70272         * sysdeps/unix/sparc/start.c: Likewise.
70273         * sysdeps/unix/sparc/sysdep.S: Likewise.
70274         * sysdeps/unix/sparc/sysdep.h: Likewise.
70275         * sysdeps/unix/start.c: Likewise.
70276         * sysdeps/unix/x86_64/sysdep.S: Likewise.
70277         * sysdeps/x86_64/sysdep.h: Likewise.
70279 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
70281         [BZ #13553]
70282         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
70283         for non-gcc.
70284         * argp/argp-fmtstream.h: Use const instead __const.
70285         * argp/argp.h: Likewise.
70286         * assert/assert.h: Likewise.
70287         * bits/fenv.h: Likewise.
70288         * bits/sched.h: Likewise.
70289         * bits/sigset.h: Likewise.
70290         * bits/sigthread.h: Likewise.
70291         * catgets/nl_types.h: Likewise.
70292         * conform/data/pthread.h-data: Likewise.
70293         * crypt/crypt-private.h: Likewise.
70294         * crypt/crypt.h: Likewise.
70295         * crypt/crypt_util.c: Likewise.
70296         * ctype/ctype.h: Likewise.
70297         * debug/execinfo.h: Likewise.
70298         * debug/mbsnrtowcs_chk.c: Likewise.
70299         * debug/mbsrtowcs_chk.c: Likewise.
70300         * debug/wcsnrtombs_chk.c: Likewise.
70301         * debug/wcsrtombs_chk.c: Likewise.
70302         * debug/wcstombs_chk.c: Likewise.
70303         * dirent/dirent.h: Likewise.
70304         * dlfcn/dlfcn.h: Likewise.
70305         * elf/neededtest4.c: Likewise.
70306         * grp/grp.h: Likewise.
70307         * gshadow/gshadow.h: Likewise.
70308         * iconv/gconv.h: Likewise.
70309         * iconv/gconv_int.h: Likewise.
70310         * iconv/gconv_simple.c: Likewise.
70311         * iconv/iconv.h: Likewise.
70312         * iconv/loop.c: Likewise.
70313         * iconv/skeleton.c: Likewise.
70314         * include/aio.h: Likewise.
70315         * include/aliases.h: Likewise.
70316         * include/argz.h: Likewise.
70317         * include/arpa/inet.h: Likewise.
70318         * include/assert.h: Likewise.
70319         * include/dirent.h: Likewise.
70320         * include/dlfcn.h: Likewise.
70321         * include/execinfo.h: Likewise.
70322         * include/fcntl.h: Likewise.
70323         * include/fenv.h: Likewise.
70324         * include/glob.h: Likewise.
70325         * include/grp.h: Likewise.
70326         * include/libintl.h: Likewise.
70327         * include/mntent.h: Likewise.
70328         * include/netdb.h: Likewise.
70329         * include/pwd.h: Likewise.
70330         * include/rpc/netdb.h: Likewise.
70331         * include/sched.h: Likewise.
70332         * include/search.h: Likewise.
70333         * include/shadow.h: Likewise.
70334         * include/signal.h: Likewise.
70335         * include/stdio.h: Likewise.
70336         * include/stdlib.h: Likewise.
70337         * include/string.h: Likewise.
70338         * include/sys/socket.h: Likewise.
70339         * include/sys/stat.h: Likewise.
70340         * include/sys/statfs.h: Likewise.
70341         * include/sys/statvfs.h: Likewise.
70342         * include/sys/syslog.h: Likewise.
70343         * include/sys/time.h: Likewise.
70344         * include/sys/uio.h: Likewise.
70345         * include/time.h: Likewise.
70346         * include/unistd.h: Likewise.
70347         * include/utmp.h: Likewise.
70348         * include/wchar.h: Likewise.
70349         * include/wctype.h: Likewise.
70350         * inet/aliases.h: Likewise.
70351         * inet/arpa/inet.h: Likewise.
70352         * inet/netinet/ether.h: Likewise.
70353         * inet/netinet/in.h: Likewise.
70354         * intl/libintl.h: Likewise.
70355         * io/bits/fcntl2.h: Likewise.
70356         * io/fcntl.h: Likewise.
70357         * io/ftw.h: Likewise.
70358         * io/sys/poll.h: Likewise.
70359         * io/sys/stat.h: Likewise.
70360         * io/sys/statfs.h: Likewise.
70361         * io/sys/statvfs.h: Likewise.
70362         * io/utime.h: Likewise.
70363         * libio/bits/stdio.h: Likewise.
70364         * libio/bits/stdio2.h: Likewise.
70365         * libio/libio.h: Likewise.
70366         * libio/libioP.h: Likewise.
70367         * libio/stdio.h: Likewise.
70368         * locale/lc-ctype.c: Likewise.
70369         * locale/locale.h: Likewise.
70370         * login/utmp.h: Likewise.
70371         * malloc/arena.c: Likewise.
70372         * malloc/malloc.c: Likewise.
70373         * malloc/malloc.h: Likewise.
70374         * malloc/mcheck.c: Likewise.
70375         * malloc/mtrace.c: Likewise.
70376         * math/bits/mathcalls.h: Likewise.
70377         * math/fenv.h: Likewise.
70378         * math/math_private.h: Likewise.
70379         * misc/bits/error.h: Likewise.
70380         * misc/bits/syslog.h: Likewise.
70381         * misc/err.h: Likewise.
70382         * misc/error.h: Likewise.
70383         * misc/fstab.h: Likewise.
70384         * misc/mntent.h: Likewise.
70385         * misc/regexp.h: Likewise.
70386         * misc/search.h: Likewise.
70387         * misc/sgtty.h: Likewise.
70388         * misc/sys/mman.h: Likewise.
70389         * misc/sys/syslog.h: Likewise.
70390         * misc/sys/uio.h: Likewise.
70391         * misc/sys/xattr.h: Likewise.
70392         * misc/ttyent.h: Likewise.
70393         * nis/rpcsvc/ypclnt.h: Likewise.
70394         * nss/nss.h: Likewise.
70395         * posix/bits/unistd.h: Likewise.
70396         * posix/fnmatch.h: Likewise.
70397         * posix/glob.h: Likewise.
70398         * posix/sched.h: Likewise.
70399         * posix/spawn.h: Likewise.
70400         * posix/sys/wait.h: Likewise.
70401         * posix/unistd.h: Likewise.
70402         * posix/wordexp.h: Likewise.
70403         * pwd/pwd.h: Likewise.
70404         * resolv/netdb.h: Likewise.
70405         * resource/sys/resource.h: Likewise.
70406         * rt/aio.h: Likewise.
70407         * rt/bits/mqueue2.h: Likewise.
70408         * rt/mqueue.h: Likewise.
70409         * shadow/shadow.h: Likewise.
70410         * signal/signal.h: Likewise.
70411         * socket/send.c: Likewise.
70412         * socket/sendto.c: Likewise.
70413         * socket/sys/socket.h: Likewise.
70414         * stdio-common/printf.h: Likewise.
70415         * stdlib/bits/stdlib.h: Likewise.
70416         * stdlib/fmtmsg.h: Likewise.
70417         * stdlib/monetary.h: Likewise.
70418         * stdlib/stdlib.h: Likewise.
70419         * stdlib/ucontext.h: Likewise.
70420         * streams/stropts.h: Likewise.
70421         * string/argz.h: Likewise.
70422         * string/bits/string2.h: Likewise.
70423         * string/string.h: Likewise.
70424         * string/strings.h: Likewise.
70425         * sunrpc/rpc/auth.h: Likewise.
70426         * sunrpc/rpc/auth_des.h: Likewise.
70427         * sunrpc/rpc/clnt.h: Likewise.
70428         * sunrpc/rpc/netdb.h: Likewise.
70429         * sunrpc/rpc/pmap_clnt.h: Likewise.
70430         * sunrpc/rpc/xdr.h: Likewise.
70431         * sysdeps/generic/inttypes.h: Likewise.
70432         * sysdeps/generic/net/if.h: Likewise.
70433         * sysdeps/generic/sys/swap.h: Likewise.
70434         * sysdeps/gnu/net/if.h: Likewise.
70435         * sysdeps/gnu/utmpx.h: Likewise.
70436         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
70437         * sysdeps/i386/i486/bits/string.h: Likewise.
70438         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
70439         * sysdeps/s390/bits/string.h: Likewise.
70440         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
70441         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
70442         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
70443         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
70444         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
70445         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
70446         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
70447         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
70448         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
70449         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
70450         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
70451         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
70452         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
70453         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
70454         * sysdeps/unix/sysv/linux/readv.c: Likewise.
70455         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
70456         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
70457         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
70458         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
70459         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
70460         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
70461         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
70462         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
70463         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
70464         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
70465         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
70466         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
70467         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
70468         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
70469         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
70470         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
70471         * sysvipc/sys/ipc.h: Likewise.
70472         * sysvipc/sys/msg.h: Likewise.
70473         * sysvipc/sys/sem.h: Likewise.
70474         * sysvipc/sys/shm.h: Likewise.
70475         * termios/termios.h: Likewise.
70476         * time/sys/time.h: Likewise.
70477         * time/time.h: Likewise.
70478         * wcsmbs/bits/wchar2.h: Likewise.
70479         * wcsmbs/uchar.h: Likewise.
70480         * wcsmbs/wchar.h: Likewise.
70481         * wctype/wctype.h: Likewise.
70483         [BZ #13551]
70484         * Makeconfig: Remove all but ELF support including AIX support.
70485         * Makerules: Likewise.
70486         * config.h.in: Likewise.
70487         * config.make.in: Likewise.
70488         * configure: Likewise.
70489         * configure.in: Likewise.
70490         * csu/Makefile: Likewise.
70491         * csu/version.c: Likewise.
70492         * debug/Makefile: Likewise.
70493         * dlfcn/Makefile: Likewise.
70494         * elf/Makefile: Likewise.
70495         * extra-lib.mk: Likewise.
70496         * iconv/Makefile: Likewise.
70497         * include/libc-symbols.h: Likewise.
70498         * include/shlib-compat.h: Likewise.
70499         * resolv/Makefile: Likewise.
70500         * resolv/res_libc.c: Likewise.
70501         * rt/Makefile: Likewise.
70502         * sysdeps/i386/asm-syntax.h: Likewise.
70503         * sysdeps/i386/sysdep.h: Likewise.
70504         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
70505         * sysdeps/mach/sysdep.h: Likewise.
70506         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
70507         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
70508         * sysdeps/s390/asm-syntax.h: Likewise.
70509         * sysdeps/s390/s390-32/sysdep.h: Likewise.
70510         * sysdeps/s390/s390-64/sysdep.h: Likewise.
70511         * sysdeps/sh/sysdep.h: Likewise.
70512         * sysdeps/unix/sparc/sysdep.h: Likewise.
70513         * sysdeps/wordsize-32/divdi3.c: Likewise.
70514         * sysdeps/x86_64/sysdep.h: Likewise.
70516         * argp/Versions: Remove _argp_unlock_xxx.
70518         [BZ #13559]
70519         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
70520         * abilist/libBrokenLocale.abilist: Likewise.
70521         * abilist/libanl.abilist: Likewise.
70522         * abilist/libc.abilist: Likewise.
70523         * abilist/libcrypt.abilist: Likewise.
70524         * abilist/libdl.abilist: Likewise.
70525         * abilist/libm.abilist: Likewise.
70526         * abilist/libnsl.abilist: Likewise.
70527         * abilist/libpthread.abilist: Likewise.
70528         * abilist/libresolv.abilist: Likewise.
70529         * abilist/librt.abilist: Likewise.
70530         * abilist/libthread_db.abilist: Likewise.
70531         * abilist/libutil.abilist: Likewise.
70532         * abilist/libnss_db.abilist: New file.
70534         * scripts/abilist.awk: Add support for indirect functions.
70536         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
70538         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
70540         * shlib-versions: Remove entries for ports architectures.
70542         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
70543         files in ports.
70544         * elf/stackguard-macros.h: Remove support for IA-64.
70545         * elf/tst-auditmod1.c: Likewise.
70546         * sysdeps/generic/ldsodefs.h: Likewise.
70548         * sysdeps/unix/sysv/linux/configure.in: Ports should define
70549         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
70550         configure files.
70552         [BZ #13552]
70553         * configure.in: Remove --enable-omitfp support.
70554         * FAQ.in: Adjust.
70555         * config.make.in: Likewise.
70556         * Makeconfig: Likewise.
70557         * manual/install.texi: Likewise.
70559         In case anyone cares, the IA-64 architecture could move to ports.
70560         * sysdeps/ia64/*: Removed.
70561         * sysdeps/unix/sysv/linux/ia64/*: Removed.
70562         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
70564         [BZ #13555]
70565         * configure.in: Remove entries for unsupported architectures.
70567         [BZ #13533]
70568         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
70569         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
70570         routines.
70571         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
70572         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
70573         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
70574         fall back to using wcrtomb.
70575         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
70576         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
70577         renaming.
70578         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
70579         * wcsmbs/tst-c16c32-1.c: New file.
70581         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
70582         local variable.
70584         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
70586         * elf/tst-unique3.cc: Add explicit declaration of gets.
70587         * elf/tst-unique3lib.cc: Likewise.
70588         * elf/tst-unique3lib2.cc: Likewise.
70589         * elf/tst-unique4.cc: Likewise.
70591         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
70593 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
70595         [BZ #13566]
70596         * assert/assert.h (static_assert): Don't define for C++.
70597         * libio/stdio.h (gets): Do declare for C++ <= C++11.
70598         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
70600 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
70602         * iconv/loop.c (single loop): Fix assertion in storing of
70603         remaining bytes.
70605         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
70607 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
70609         * posix/getconf.c: Update copyright year.
70610         * nss/getent.c: Likewise.
70611         * nss/makedb.c: Likewise.
70612         * iconv/iconvconfig.c: Likewise.
70613         * iconv/iconv_prog.c: Likewise.
70614         * elf/ldconfig.c: Likewise.
70615         * elf/pldd.c: Likewise.
70616         * elf/sotruss.ksh: Likewise.
70617         * catgets/gencat.c: Likewise.
70618         * csu/version.c: Likewise.
70619         * elf/ldd.bash.in: Likewise.
70620         * elf/sprof.c (print_version): Likewise.
70621         * locale/programs/locale.c: Likewise.
70622         * locale/programs/localedef.c: Likewise.
70623         * login/programs/pt_chown.c: Likewise.
70624         * nscd/nscd.c (print_version): Likewise.
70625         * debug/xtrace.sh: Likewise.
70626         * malloc/memusage.sh: Likewise.
70627         * malloc/mtrace.pl: Likewise.
70628         * debug/catchsegv.sh: Likewise.
70630 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
70632         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
70633         pure attribute.
70635 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
70637         [BZ #13533]
70638         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
70639         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
70640         transformations.
70641         * iconv/gconv_int.h: Likewise.
70642         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
70643         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
70644         from libc for GLIBC_2.16.
70645         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
70646         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
70647         * wcsmbs/uchar.h: Really define mbstate_t.
70648         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
70649         * wcsmbs/c16rtomb.c: New file.
70650         * wcsmbs/mbrtoc16.c: New file.
70651         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
70652         for C/POSIX locale.
70653         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
70654         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
70656         * wcsmbs/wchar.h: Add missing __restrict.
70658 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
70660         [BZ #13532]
70661         * time/Makefile (routines): Add timespec_get.
70662         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
70663         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
70664         timespec for ISO C11.
70665         * time/timespec_get.c: New file.
70666         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
70667         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
70669         [BZ #13531]
70670         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
70671         * stdlib/stdlib.h: Declare aligned_alloc.
70672         * Versions.def: Add GLIBC_2.16 for libc.
70673         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
70675         [BZ 13527]
70676         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
70677         ISO C11.
70679         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
70680         code.
70682         [BZ #13528]
70683         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
70685         [BZ #13529]
70686         * assert/assert.h (static_assert): Define.
70688         * version.h: Update for 2.16 development version.
70690         [BZ #13526]
70691         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
70692         _ISOC11_SOURCE.
70694         * version.h (RELEASE): Bump for 2.15 release.
70695         * include/features.h (__GLIBC_MINOR__): Bump to 15.
70697         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
70698         Patch by Marek Polacek <mpolacek@redhat.com>.
70700         * bits/byteswap.h: Protect long long constants with __extension__.
70701         * sysdeps/i386/bits/byteswap.h: Likewise.
70702         * sysdeps/ia64/bits/byteswap.h: Likewise.
70703         * sysdeps/s390/bits/byteswap.h: Likewise.
70704         * sysdeps/x86_64/bits/byteswap.h: Likewise.
70706 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70708         [BZ #13540]
70709         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
70710         destination buffer.
70711         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
70713 2011-12-23  Marek Polacek  <polacek@redhat.com>
70715         * elf/dl-addr.c (determine_info): Add inline keyword.
70716         * elf/tst-auditmod4b.c (check_avx): Likewise.
70717         * elf/tst-auditmod6b.c (check_avx): Likewise.
70718         * elf/tst-auditmod6c.c (check_avx): Likewise.
70719         * elf/tst-auditmod7b.c (check_avx): Likewise.
70721 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
70723         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
70724         !__SSE_MATH__.
70726 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70728         [BZ #13540]
70729         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
70730         processing for last bytes.
70732 2011-08-06  Bruno Haible  <bruno@clisp.org>
70734         [BZ #13061]
70735         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
70736         U+0385, not to U+1FEE.
70738         [BZ #13062]
70739         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
70740         entry for U+00A5 U+0301.
70742 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
70744         [BZ #13166]
70745         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
70746         buffer for the output is too small.
70748         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
70749         optimization.
70751         [BZ #13185]
70752         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
70753         SSE flags if possible.
70755 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70757         [BZ #13540]
70758         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
70759         processing for last bytes.
70761 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
70763         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
70764         (syscall-list-default-options, syscall-list-default-condition)
70765         (syscall-list-includes): Define.
70766         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
70767         list of ABIs and options and #if conditions for each ABI.  Do not
70768         handle common syscalls between ABIs specially.
70769         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
70770         Remove.
70771         (syscall-list-variants, syscall-list-32bit-options)
70772         (syscall-list-32bit-condition, syscall-list-64bit-options)
70773         (syscall-list-64bit-condition): Define.
70774         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
70775         (syscall-list-variants, syscall-list-32bit-options)
70776         (syscall-list-32bit-condition, syscall-list-64bit-options)
70777         (syscall-list-64bit-condition): Define.
70778         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
70779         Remove.
70780         (syscall-list-variants, syscall-list-32bit-options)
70781         (syscall-list-32bit-condition, syscall-list-64bit-options)
70782         (syscall-list-64bit-condition): Define.
70783         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
70784         Remove.
70785         (syscall-list-variants, syscall-list-32bit-options)
70786         (syscall-list-32bit-condition, syscall-list-64bit-options)
70787         (syscall-list-64bit-condition): Define.
70789 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
70791         * locale/iso-639.def: Add brx entry.
70793         [BZ #13328]
70794         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
70795         Proposed by Mariusz_Cukr <marcukr@op.pl>.
70797         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
70798         __feraiseexcept_renamed.
70800 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
70802         [BZ #13538]
70803         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
70804         EPOLLET with unsigned values.
70805         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
70806         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
70808         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
70809         to large cancellation.
70810         * math/s_cacoshf.c: Likewise.
70811         * math/s_cacoshl.c: Likewise.
70813 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
70815         [BZ #13305]
70816         [BZ #12786]
70817         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
70818         * math/s_cacoshf.c: Likewise.
70819         * math/s_cacoshl.c: Likewise.
70821 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
70823         [BZ #13439]
70824         * iconv/gconv.h: Define __GCONV_SWAP.
70825         * iconvdata/unicode.c: The swap bit must be stored in __flags.
70826         * iconvdata/utf-16.c: Likewise.
70827         * iconvdata/utf-32.c: Likewise.
70829 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
70831         [BZ #13524]
70832         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
70833         numerator after shifting it by one limb.
70835 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
70837         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
70838         under [__USE_EXTERN_INLINES].
70840 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
70842         [BZ #13446]
70843         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
70845 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70847         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
70848         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
70849         optimized code.
70850         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
70851         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
70852         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
70853         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
70854         for strncasecmp/strncasecmp_l compilation.
70855         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
70856         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
70858 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
70860         [BZ #13484]
70861         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
70862         of __asm__.
70864 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
70866         [BZ #13506]
70867         * time/tzfile.c (__tzfile_read): Check values from file header.
70869 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
70871         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
70872         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
70873         * powerpc/powerpc32/dl-start.S: Likewise.
70874         * powerpc/powerpc32/elf/start.S: Likewise.
70875         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
70876         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
70877         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
70878         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
70879         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
70880         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
70881         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
70882         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
70883         * powerpc/powerpc32/fpu/s_round.S: Likewise.
70884         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
70885         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
70886         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
70887         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
70888         * powerpc/powerpc32/memset.S: Likewise.
70889         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
70890         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
70891         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
70892         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
70893         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
70894         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
70895         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
70896         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
70897         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
70898         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
70899         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
70900         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
70901         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
70903 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70905         * math/libm-test.inc: Added more nearbyint tests.
70906         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
70907         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
70908         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
70909         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
70911 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
70913         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
70914         FD_CLOEXEC.
70916 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70918         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
70919         Add wcscpy-ssse3 wcscpy-c.
70920         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
70921         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
70922         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
70923         * sysdeps/x86_64/wcschr.S: New file.
70924         * sysdeps/x86_64/wcsrchr.S: New file.
70925         * string/test-strcmp.c: Remove checking of wcscmp function for
70926         wrong alignments.
70927         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
70928         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
70929         wcsrchr-sse2 wcsrchr-c.
70930         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
70931         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
70932         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
70933         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
70934         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
70935         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
70936         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
70937         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
70938         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
70939         * wcsmbc/wcschr.c (WCSCHR): New macro.
70941 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70943         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
70944         * wcsmbs/test-wcsrchr.c: New file.
70945         * string/test-strrchr.c: Add wcsrchr support.
70946         (WIDE): New macro.
70947         * wcsmbs/test-wcscpy.c: New file.
70948         * string/test-strcpy.c: Add wcscpy support.
70949         (WIDE): New macro.
70951 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
70953         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
70954         the inner loop.
70956 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
70958         [BZ #13472]
70959         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
70961 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
70963         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
70964         Minor optimizations.
70966         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
70967         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
70968         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
70970 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
70972         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
70973         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
70974         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
70975         for gcc to avoid warnings.
70976         * inet/Makefile (tests): Add tst-checks.
70977         * inet/tst-checks.c: New file.
70979         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
70980         warning.
70982         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
70983         __wmemcmp_sse2.
70985         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
70986         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
70988         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
70990 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
70992         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
70993         problem.
70995         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
70997 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
70999         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
71000         conditional on GCC version.
71001         (__arch_compare_and_exchange_val_8_acq)
71002         (__arch_compare_and_exchange_val_16_acq)
71003         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
71004         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
71005         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
71007 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
71009         * sysdeps/sh/backtrace.c: New file.
71011 2011-12-02  Andreas Schwab  <schwab@redhat.com>
71013         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
71014         parenthesis.
71016 2011-12-01  Andreas Schwab  <schwab@redhat.com>
71018         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
71019         falling back to utime.
71021 2011-11-30  Andreas Schwab  <schwab@redhat.com>
71023         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
71024         expectations for float.
71026 2011-11-29  Andreas Schwab  <schwab@redhat.com>
71028         * locale/weight.h (findidx): Add parameter len.
71029         * locale/weightwc.h (findidx): Likewise.
71030         * posix/fnmatch_loop.c (FCT): Adjust caller.
71031         * posix/regcomp.c (build_equiv_class): Likewise.
71032         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
71033         * posix/regexec.c (check_node_accept_bytes): Likewise.
71034         * string/strcoll_l.c (STRCOLL): Likewise.
71035         * string/strxfrm_l.c (STRXFRM): Likewise.
71037 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
71039         * Makefile.in: Remove CVSOPT handling.
71040         * configure.in: Remove use of AC_REVISION.
71041         * iconvdata/Makefile (distribute): No need to filter out CVS.
71042         * scripts/list-sources.sh: Remove CVS, subversion and monotone
71043         handling.
71045 2011-11-16  Andreas Schwab  <schwab@redhat.com>
71047         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
71048         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
71049         [USE_AS_STRNCASECMP_L]: Likewise.
71050         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
71051         NO_TLS_DIRECT_SEG_REFS.
71052         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
71053         Fix argument offsets for non-PIC.
71054         [USE_AS_STRNCASECMP_L]: Likewise.
71055         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
71056         NO_TLS_DIRECT_SEG_REFS.
71058 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
71060         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
71061         O_CLOEXEC.
71062         * locale/loadlocale.c (_nl_load_locale): Likewise.
71064 2011-11-15  Andreas Schwab  <schwab@redhat.com>
71066         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
71067         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
71068         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
71069         (SYSCALL_GETTIME): Set errno on error.
71071         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
71072         count references to noai6ai_cached.
71074 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
71076         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
71078         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
71079         FD_CLOEXEC for /proc/self/maps.
71081         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
71082         FD_CLOEXEC for /proc/meminfo.
71084         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
71085         gai.conf.
71087         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
71088         FD_CLOEXEC for given file.
71090         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
71092         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
71093         FD_CLOEXEC for /etc/hosts.
71094         (_gethtent): Likewise.
71096         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
71098         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
71099         cancellation and set FD_CLOEXEC for /etc/netgroup.
71101         * nss/nss_files/files-key.c (search): Don't allow cancellation when
71102         reading /etc/publickey.
71104         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
71105         allow cancellation when reading /etc/group.
71107         * nss/nss_files/files-alias.c (internal_setent): Don't allow
71108         cancellation.
71109         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
71111         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
71112         when using data file.
71114         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
71116         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
71117         (write_nis_obj): Use "c" and "e" in fopen.
71119         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
71121         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
71123         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
71125         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
71127         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
71128         locale.alias.
71130         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
71132         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
71134         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
71136         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
71137         file parsing and set FD_CLOEXEC.
71139 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
71141         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
71143 2011-11-14  Andreas Schwab  <schwab@redhat.com>
71145         * malloc/arena.c (arena_get2): Don't call reused_arena when
71146         _int_new_arena failed.
71148 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
71150         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
71151         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
71152         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
71153         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
71154         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
71155         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
71156         to compile strcasecmp and strncasecmp.
71157         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
71158         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
71160         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
71162 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
71164         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
71165         locale-defines.sym to gen-as-const-headers.
71166         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
71167         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
71168         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
71169         to compile strcasecmp and strncasecmp.
71170         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
71171         strcasecmp_l and strncasecmp_l.
71172         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
71173         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
71174         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
71175         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
71176         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
71177         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
71178         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
71179         * sysdeps/i386/i686/multiarch/strncase.S: New file.
71180         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
71181         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
71182         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
71184 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
71186         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
71187         result of SYSDEP_GETTIME_CPU to retval.
71188         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
71189         parameter list to macro.  Remove trailing semicolon.  Adjust users.
71191         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
71192         variable.
71194         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
71195         mantissa words.
71196         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
71198         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
71199         from unused variable.
71201         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
71202         DWARF definitions.
71203         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
71204         for assembling.
71206         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
71207         over namespaces.
71209         * sunrpc/rpc_prot.c (rejected): Fix case value.
71211         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
71212         unsigned long long int to avoid warnings in shift.
71214         * posix/regex_internal.c (re_string_reconstruct): Actually use result
71215         of use of trans.
71216         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
71217         variable tmp.
71219         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
71220         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
71221         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
71223         * nis/nis_table.c (nis_list): Use variable of correct type for
71224         result of __follow_path call.
71226 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71228         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
71229         of math functions ceil, trunc, floor, round, and sqrt, when
71230         avaliable on the platform.
71231         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
71232         name clash.
71233         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
71234         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
71235         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
71237 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
71239         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
71240         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
71242 2011-11-11  Roland McGrath  <roland@hack.frob.com>
71244         * include/unistd.h: Fix __readlink return type.
71245         Reported by Chris Metcalf <cmetcalf@tilera.com>.
71247 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
71249         * stdlib/ucontext.h: Undo last change for makecontext.
71251 2011-11-11  Andreas Schwab  <schwab@redhat.com>
71253         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
71255         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
71256         * setjmp/setjmp.h: Mark functions as non-leaf.
71257         * setjmp/bits/setjmp2.h: Likewise.
71258         * stdlib/ucontext.h: Likewise.
71260 2011-11-10  Andreas Schwab  <schwab@redhat.com>
71262         * malloc/arena.c (_int_new_arena): Don't increment narenas.
71263         (reused_arena): Don't check arena limit.
71264         (arena_get2): Atomically check arena limit.
71266 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
71268         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
71269         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
71271         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
71272         instructions.
71274 2011-11-07  Andreas Schwab  <schwab@redhat.com>
71276         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
71277         handler when locking.
71279         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
71280         Fix size of allocated buffer.
71282 2011-11-04  Andreas Schwab  <schwab@redhat.com>
71284         [BZ #10103]
71285         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
71286         declarations for long double functions.
71287         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
71289         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
71291 2011-11-03  Andreas Schwab  <schwab@redhat.com>
71293         * nscd/nscd.c (main): Don't start AVC thread until credentials are
71294         installed.
71296         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
71297         is disabled.
71299 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71301         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
71303 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
71305         * include/alloca.h (stackinfo_alloca_round): Define.
71306         (extend_alloca): Use it.
71307         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
71308         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
71309         here.
71311         * scripts/check-local-headers.sh: Ignore libaudit.h.
71313         * nscd/Makefile (extra-objs): Make recursively expanded.
71315 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
71317         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
71318         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
71320         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
71321         * posix/tst-rfc3484-2.c: Likewise.
71322         * posix/tst-rfc3484-3.c: Likewise.
71324         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
71325         process_vm_writev.
71326         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
71327         process_vm_writev.
71328         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
71329         process_vm_writev from libc using GLIBC_2.15 version.
71331         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
71333 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
71335         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
71336         stack usage.
71338 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
71340         [BZ #13367]
71341         * nss/getent.c (initgroups_keys): Show error message in case no group
71342         names are given.
71344         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
71345         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
71346         __bump_nl_timestamp.
71347         * nscd/connections (nscd_init): When host database is served open
71348         netlink socket and request notification about configuration changes.
71349         (main_loop_poll): Track netlink file descriptor and bump timestamp
71350         in case data becomes available.
71351         (main_loop_epoll): Likewise.
71352         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
71353         (database_pers_head): Add extra_data fileds.
71354         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
71355         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
71356         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
71357         Adjust caller.
71358         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
71359         in6ai data, call __free_in6ai.
71360         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
71361         Add -DHAVE_NETLINK.
71362         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
71363         interface information.  Reuse previous data if netlink timestamp
71364         is not changed.
71365         (__bump_nl_timestamp): New function.
71366         (__free_in6ai): New function.
71368 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
71370         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
71371         close_not_cancel_no_status here.
71372         (__check_pf): Reorganize code a bit to not call close twice if OOM.
71374 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
71376         [BZ #13276]
71377         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
71378         return value.
71380         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
71381         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
71382         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
71384 2011-07-03  Andreas Jaeger  <aj@suse.de>
71386         [BZ #10709]
71387         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
71388         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
71389         * math/libm-test.inc (sin_test): Add test case.
71391 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
71393         [BZ #13337]
71394         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
71395         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
71397         * elf/chroot_canon.c (chroot_canon): Cleanups.
71399         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
71401         [BZ #13335]
71402         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
71403         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
71405         * string/test-strchr.c: Make usable for strchrnul testing.
71406         * string/test-strchrnul.c: New file.
71407         * string/Makefile (strop-tests): Add strchrnul.
71409         * po/it.po: Update from translation team.
71410         * po/es.po: Likewise.
71412 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
71414         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
71415         the three constants needed as parameters.  Drop the others.
71416         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
71417         __m128i_strloadu_tolower.
71418         Create and initialize variable zero and use it in all the places
71419         where _mm_setzero_si128 was used.
71421         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
71422         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
71423         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
71424         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
71425         anymore.
71426         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
71427         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
71428         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
71429         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
71430         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
71431         __mpranred, __mptan.
71432         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
71433         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
71434         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
71435         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
71436         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
71437         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
71438         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
71439         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
71440         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
71442 2011-10-28  Andreas Schwab  <schwab@redhat.com>
71444         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
71445         redefine if SHARED.
71446         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
71448         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
71449         wide char related routines to wcsmbs subdir.
71451 2011-10-27  Andreas Schwab  <schwab@redhat.com>
71453         [BZ #13344]
71454         * misc/sys/cdefs.h (__THROWNL): Define.
71455         * posix/unistd.h: Use __THREADNL instead of __THREAD
71456         for memory synchronization functions.
71458 2011-10-26  Roland McGrath  <roland@hack.frob.com>
71460         [BZ #13349]
71461         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
71462         doesn't exist.
71463         * manual/stdio.texi (Obstack Streams): Node removed.
71465 2011-10-26  Andreas Schwab  <schwab@redhat.com>
71467         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
71468         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
71469         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
71471         * math/math_private.h (math_force_eval): Allow non-addressable
71472         arguments.
71473         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
71475 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
71477         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
71478         file is not needed.
71480         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
71481         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
71482         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
71483         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
71484         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
71485         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
71486         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
71487         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
71488         Add AVX variants.
71489         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
71490         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
71491         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
71492         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
71493         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
71494         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
71495         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
71496         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
71497         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
71498         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
71499         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
71500         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
71501         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
71502         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
71503         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
71504         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
71505         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
71506         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
71507         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
71509         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
71510         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
71512         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
71513         place.  Use VEX encoding when compiling for AVX.
71515 2011-10-25  Andreas Schwab  <schwab@redhat.com>
71517         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
71518         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
71520         * string/test-strchr.c (do_test): Don't generate NUL bytes.
71522 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
71524         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
71525         useless if() expression.
71526         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
71527         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
71528         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
71529         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
71530         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
71531         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
71532         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
71533         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
71534         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
71535         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
71536         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
71537         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
71538         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
71539         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
71540         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
71541         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
71542         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
71543         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
71544         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
71546         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
71548 2011-10-25  Andreas Schwab  <schwab@redhat.com>
71550         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
71551         condition.
71552         * elf/dl-fini.c (_dl_sort_fini): Likewise.
71554 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
71556         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
71557         .text section.  Avoid duplicate constants.
71558         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
71559         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
71560         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
71561         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
71562         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
71563         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71564         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71565         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
71566         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
71567         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
71568         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
71569         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
71570         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
71571         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
71572         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
71573         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
71574         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
71575         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
71576         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
71577         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
71578         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
71579         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
71580         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
71581         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
71582         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
71583         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
71584         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
71585         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
71586         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
71587         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
71588         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
71589         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
71590         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
71591         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
71592         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
71593         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
71594         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
71595         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
71596         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
71597         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
71598         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
71599         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
71600         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
71601         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
71602         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
71604 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
71606         * sysdeps/x86_64/dla.h: Move to ...
71607         * sysdeps/x86_64/fpu/dla.h: ...here.
71608         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
71609         situations.  Use __builtin_fma only for gcc 4.6 and up.
71611         * config.make.in: Add have-mfma4 entry.
71612         * configure.in: Substitute libc_cv_cc_fma4.
71613         * math/Makefile (dbl-only-routines): Add sincostab.
71614         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
71615         Use __sincostab not sincos.
71616         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
71617         name is a macro.
71618         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
71619         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71620         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71621         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
71622         using __copysign.
71623         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
71624         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
71625         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
71626         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
71627         and __inv.
71628         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
71629         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
71630         __copysign.
71631         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
71632         define aliases when function name is a macro.
71633         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
71634         sysdeps/ieee754/dbl-64/sincos.tbl.
71635         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
71636         fma4-enabled routines.
71637         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
71638         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
71639         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
71640         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
71641         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
71642         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
71643         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
71644         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
71645         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
71646         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
71647         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
71648         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
71649         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
71650         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
71651         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
71652         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
71653         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
71654         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
71655         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
71656         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
71657         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
71658         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
71659         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
71660         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
71661         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
71662         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
71663         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
71664         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
71665         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
71666         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
71668         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
71669         rename.
71670         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
71671         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
71672         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
71673         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71674         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71675         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
71676         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
71677         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
71679 2011-10-24  Andreas Schwab  <schwab@redhat.com>
71681         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
71683 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
71685         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
71687         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
71688         prediction.
71689         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
71691         * string/strnlen.c: Don't define STRNLEN, reverse logic.
71692         Remove unused variable magic_bits.
71693         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
71695         * string/strnlen.c: Define and use STRNLEN macro.
71696         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
71697         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
71698         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
71699         * wcsmbs/wcslen.c: Define and use WCSLEN.
71700         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
71701         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
71702         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
71703         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
71704         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
71705         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
71706         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
71708 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71710         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
71711         strnlen-sse2-no-bsf.
71712         Rename strlen-no-bsf to strlen-sse2-no-bsf.
71713         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
71714         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
71715         Add strnlen support.
71716         (USE_AS_STRNLEN): New macro.
71717         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
71718         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
71719         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
71720         * sysdeps/x86_64/wcslen.S: New file.
71722 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
71724         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
71725         XMM-moves are used for copying on small sizes.
71727 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71729         * wcsmbs/Makefile (strop-tests): Add wcschr.
71730         * wcsmbs/test-wcschr.c: New file.
71731         * string/test-strchr.c: Update.
71732         Add wcschr support.
71733         (WIDE): New macro.
71735 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71737         * wcsmbs/Makefile (strop-tests): Add wcslen.
71738         * wcsmbs/test-wcslen.c: New file.
71739         * string/test-strlen.c: Update.
71740         Add wcslen support.
71741         (WIDE): New macro.
71743 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
71745         * po/it.po: Update from translation team.
71747 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71749         * sysdeps/x86_64/wcscmp.S: Update.
71750         Fix wrong comparison semantics.
71751         wcscmp shall use signed comparison not unsigned.
71752         Don't use substraction to avoid overflow bug.
71753         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
71754         * wcsmbc/wcscmp.c: Likewise.
71755         * string/test-strcmp.c: Likewise.
71756         Add new tests to check cases with negative values.
71758 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
71760         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
71761         * sysdeps/x86_64/dla.h: ...here.  New file.
71762         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
71763         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
71764         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
71765         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71766         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71767         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
71768         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
71769         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
71770         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
71772 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
71774         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
71775         __ynl_finite aliases.
71777 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
71779         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71781         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
71782         define DLA_FMA.
71783         [DLA_FMA] (EMULV): Use DLA_FMA.
71784         [DLA_FMA] (MUL12): Use EMULV.
71785         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
71786         that are not needed.
71787         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
71788         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
71789         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71790         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71791         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
71792         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
71793         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
71795 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
71797         * math/s_nan.c: Undef __nan.
71798         * math/s_nanf.c: Undef __nanf.
71799         * math/s_nanl.c: Undef __nanl.
71800         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
71801         "math_private.h".
71803 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
71805         * math/s_catan.c: Add branch predictions.
71806         * math/s_catanf.c: Likewise.
71807         * math/s_catanh.c: Likewise.
71808         * math/s_catanhf.c: Likewise.
71809         * math/s_catanhl.c: Likewise.
71810         * math/s_catanl.c: Likewise.
71811         * math/s_cexp.c: Likewise.
71812         * math/s_cexpf.c: Likewise.
71813         * math/s_cexpl.c: Likewise.
71814         * math/s_clog.c: Likewise.
71815         * math/s_clog10.c: Likewise.
71816         * math/s_clog10f.c: Likewise.
71817         * math/s_clog10l.c: Likewise.
71818         * math/s_clogf.c: Likewise.
71819         * math/s_clogl.c: Likewise.
71820         * math/s_csqrt.c: Likewise.
71821         * math/s_csqrtf.c: Likewise.
71822         * math/s_csqrtl.c: Likewise.
71823         * math/s_ctanf.c: Likewise.
71824         * math/s_ctanh.c: Likewise.
71825         * math/s_ctanhf.c: Likewise.
71826         * math/s_ctanhl.c: Likewise.
71827         * math/s_ctanl.c: Likewise.
71829         * math/math_private.h: Define __nan, __nanf, __nanl.
71830         * math/s_cacosh.c: Include <math_private.h>.
71831         * math/s_cacoshl.c: Likewise.
71832         * math/s_casinh.c: Likewise.
71833         * math/s_casinhf.c: Likewise.
71834         * math/s_casinhl.c: Likewise.
71835         * math/s_ccos.c: Rely entire on ccosh.
71836         * math/s_ccosf.c: Rely entire on ccoshf.
71837         * math/s_ccosl.c: Rely entirely on ccoshl.
71838         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
71839         Remove tests for FE_INVALID.
71840         * math/s_ccoshf.c: Likewise.
71841         * math/s_ccoshl.c: Likewise.
71842         * math/s_csin.c: Likewise.
71843         * math/s_csinf.c: Likewise.
71844         * math/s_csinh.c Likewise.
71845         * math/s_csinhf.c: Likewise.
71846         * math/s_csinhl.c: Likewise.
71847         * math/s_csinl.c: Likewise.
71848         * math/s_ctan.c: Likewise.
71849         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
71850         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
71851         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
71853 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
71855         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
71856         compilation problems.
71858         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
71859         __builtin_expect.
71861 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
71863         * sysdeps/i386/configure.in: Test for -mfma4 option.
71864         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
71865         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
71866         COMMON_CPUID_INDEX_80000001.
71867         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
71868         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
71869         use it if FMA3 is not supported.
71870         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
71872         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
71873         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
71875 2011-10-20  Andreas Schwab  <schwab@redhat.com>
71877         [BZ #12892]
71878         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
71879         it would create a cycle with a link time dependency.
71881 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
71883         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
71884         instruction.
71885         * string/Makefile (strop-tests): Add rawmemchr.
71886         * string/test-rawmemchr.c: New file.
71888         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
71889         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
71890         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
71891         when compiling str{,n}casecmp and when AVX is available.  Hook up
71892         new optimized code in initializers.
71894 2011-10-19  Andreas Schwab  <schwab@redhat.com>
71896         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
71897         __feraiseexcept instead of feraiseexcept.
71899 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
71901         * math/math_private.h: Define defaults for libc_fetestexcept and
71902         libc_feupdateenv.
71903         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
71904         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
71905         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
71906         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
71907         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
71908         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
71909         libc_fetestexcept and libc_feupdateenv.
71911         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
71912         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
71913         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
71914         * sysdeps/x86_64/fpu/math_private.h: Define special version of
71915         libc_feholdexcept_setround.
71917         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
71918         Add s_nearbyint-c and s_nearbyintf-c.
71919         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
71920         nearbyintf inlines.
71921         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
71922         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
71923         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
71924         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
71926         * math/math_private.h: Define defaults for libc_fegetround,
71927         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
71928         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
71929         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
71930         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
71931         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
71932         standard functions.
71933         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
71934         Remove comments and hacks for old compiler versions.
71935         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
71936         libc_fegetround, libc_fesetround, libc_feholdexcept, and
71937         libc_feholdexceptl.
71939 2011-10-18  Andreas Schwab  <schwab@redhat.com>
71941         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
71942         (__feraiseexcept_renamed): Add __NTH.
71943         (feraiseexcept): Add __NTH.  Rename local variables to fix
71944         namespace violations.
71946 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
71948         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
71950         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
71952         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
71953         recently added interfaces.
71954         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
71956         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
71957         about macro parameter expansion.
71959         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
71960         __NO_MATH_INLINES is defined.  Cleanups.
71962         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
71963         and __floorf is target has SSE4.1.
71964         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
71965         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
71966         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
71967         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
71969         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
71970         name.
71971         (floorf): Likewise.
71973         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
71975 2011-10-17  Andreas Schwab  <schwab@redhat.com>
71977         * misc/sys/cdefs.h: Fix last change.
71979         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
71980         database lookup.
71982 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
71984         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
71986         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
71987         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
71988         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
71989         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
71990         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
71991         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
71992         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
71993         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
71994         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
71995         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
71996         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
71997         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
71998         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
71999         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
72000         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
72001         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
72002         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
72003         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
72004         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
72005         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
72006         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
72007         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
72009         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
72010         ceil, ceilf, floor, floorf.
72012         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
72013         Perform IRELATIVE relocations last.
72015         * elf/do-rel.h: Add another parameter nrelative, replacing the
72016         local variable with the same name.  Change name of the function
72017         to end in Rel or Rela (uppercase).
72018         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
72019         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
72020         elf_dynamic_do_##reloc function.
72022 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
72024         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
72025         is sufficient, at least on modern CPUs.
72027         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
72029         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
72030         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
72032         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
72033         __expl_finite.
72034         * math/bits/math-finite.h: Add entries for exp.
72035         * math/e_expl.c: Add __*_finite alias.
72036         * sysdeps/i386/fpu/e_exp.S: Likewise.
72037         * sysdeps/i386/fpu/e_expf.S: Likewise.
72038         * sysdeps/i386/fpu/e_expl.c: Likewise.
72039         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
72040         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
72041         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
72042         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
72043         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
72044         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
72045         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
72047         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
72048         is sufficient, at least on modern CPUs.
72050         * ctype/ctype-info.c (__ctype_init): Define.
72051         * include/ctype.h (__ctype_init): Declare.
72052         (__ctype_b_loc): The variable is always initialized.
72053         (__ctype_toupper_loc): Likewise.
72054         (__ctype_tolower_loc): Likewise.
72055         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
72056         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
72058 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
72060         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
72062         * configure.in: Also look in $cxxmachine/include for C++ system
72063         headers.
72065 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72067         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
72068         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
72069         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
72070         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
72071         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
72072         (USE_AS_WMEMCMP): New macro.
72073         Fixing indents.
72074         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
72075         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
72076         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
72077         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
72078         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
72079         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
72080         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
72081         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
72082         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
72083         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
72084         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
72085         (USE_AS_WMEMCMP): New macro.
72086         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
72087         * sysdeps/string/test-memcmp.c: Update.
72088         Fix simple_wmemcmp.
72089         Add new tests.
72090         * wcsmbs/wmemcmp.c: Update.
72091         (WMEMCMP): New macro.
72092         Fix overflow bug.
72094 2011-10-12  Andreas Jaeger  <aj@suse.de>
72096         [BZ #13268]
72097         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
72099 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
72101         * libio/iofwide.c (do_length): Avoid warning.
72103         * ctype/ctype.h (__isctype_f): Add missing __THROW.
72105 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
72107         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
72109         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
72110         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
72111         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
72112         * sysdeps/i386/i686/fpu/e_log.S: New file.
72113         * sysdeps/i386/i686/fpu/e_logf.S: New file.
72114         * sysdeps/i386/i686/fpu/e_logl.S: New file.
72116         * ctype/ctype.h: Add support for inlined isXXX functions when
72117         compiling C++ code.
72119 2011-10-14  Andreas Schwab  <schwab@redhat.com>
72121         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
72123         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
72125 2011-10-13  Roland McGrath  <roland@hack.frob.com>
72127         [BZ #13291]
72128         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
72130 2011-10-13  Andreas Schwab  <schwab@redhat.com>
72132         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
72133         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
72134         feraiseexcept.
72136         * sysdeps/x86_64/memrchr.S: Check for zero size.
72138         * string/stratcliff.c: Add memrchr tests.
72140 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72142         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
72143         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
72144         rawmemchr-sse2 rawmemchr-sse2-bsf.
72145         * sysdeps/i386/i686/multiarch/memchr.S: New file.
72146         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
72147         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
72148         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
72149         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
72150         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
72151         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
72152         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
72153         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
72154         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
72155         * string/memrchr.c (MEMRCHR): New macro.
72157 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
72159         Add integration with gcc's -ffinite-math-only and optimize wrapper
72160         functions in libm.
72161         * Versions.def: Define GLIBC_2.15 version for libm.
72162         * math/Makefile (headers): Add bits/math-finite.h.
72163         * math/bits/math-finite.h: New file.
72164         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
72165         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
72166         * math/e_acoshl.c: Add __*_finite alias.
72167         * math/e_acosl.c: Likewise.
72168         * math/e_asinl.c: Likewise.
72169         * math/e_atan2l.c: Likewise.
72170         * math/e_atanhl.c: Likewise.
72171         * math/e_coshl.c: Likewise.
72172         * math/e_exp10.c: Likewise.
72173         * math/e_exp10f.c: Likewise.
72174         * math/e_exp10l.c: Likewise.
72175         * math/e_exp2l.c: Likewise.
72176         * math/e_fmodl.c: Likewise.
72177         * math/e_gammal_r.c: Likewise.
72178         * math/e_hypotl.c: Likewise.
72179         * math/e_j0l.c: Likewise.
72180         * math/e_j1l.c: Likewise.
72181         * math/e_jnl.c: Likewise.
72182         * math/e_lgammal_r.c: Likewise.
72183         * math/e_log10l.c: Likewise.
72184         * math/e_log2l.c: Likewise.
72185         * math/e_logl.c: Likewise.
72186         * math/e_powl.c: Likewise.
72187         * math/e_sinhl.c: Likewise.
72188         * math/e_sqrtl.c: Likewise.
72189         * math/e_scalb.c: Completely rewritten and optimized.
72190         * math/e_scalbf.c: Likewise.
72191         * math/e_scalbl.c: Likewise.
72192         * math/w_acos.c: Likewise.
72193         * math/w_acosf.c: Likewise.
72194         * math/w_acosl.c: Likewise.
72195         * math/w_acosh.c: Likewise.
72196         * math/w_acoshf.c: Likewise.
72197         * math/w_acoshl.c: Likewise.
72198         * math/w_asin.c: Likewise.
72199         * math/w_asinf.c: Likewise.
72200         * math/w_asinl.c: Likewise.
72201         * math/w_atan2.c: Likewise.
72202         * math/w_atan2f.c: Likewise.
72203         * math/w_atan2l.c: Likewise.
72204         * math/w_atanh.c: Likewise.
72205         * math/w_atanhf.c: Likewise.
72206         * math/w_atanhl.c: Likewise.
72207         * math/w_exp10.c: Likewise.
72208         * math/w_exp10f.c: Likewise.
72209         * math/w_exp10l.c: Likewise.
72210         * math/w_fmod.c: Likewise.
72211         * math/w_fmodf.c: Likewise.
72212         * math/w_fmodl.c: Likewise.
72213         * math/w_j0.c: Likewise.
72214         * math/w_j0f.c: Likewise.
72215         * math/w_j0l.c: Likewise.
72216         * math/w_j1.c: Likewise.
72217         * math/w_j1f.c: Likewise.
72218         * math/w_j1l.c: Likewise.
72219         * math/w_jn.c: Likewise.
72220         * math/w_jnf.c: Likewise.
72221         * math/w_log.c: Likewise.
72222         * math/w_logf.c: Likewise.
72223         * math/w_logl.c: Likewise.
72224         * math/w_log10.c: Likewise.
72225         * math/w_log10f.c: Likewise.
72226         * math/w_log10l.c: Likewise.
72227         * math/w_log2.c: Likewise.
72228         * math/w_log2f.c: Likewise.
72229         * math/w_log2l.c: Likewise.
72230         * math/w_pow.c: Likewise.
72231         * math/w_powf.c: Likewise.
72232         * math/w_powl.c: Likewise.
72233         * math/w_remainder.c: Likewise.
72234         * math/w_remainderf.c: Likewise.
72235         * math/w_remainderl.c: Likewise.
72236         * math/w_scalb.c: Likewise.
72237         * math/w_scalbf.c: Likewise.
72238         * math/w_scalbl.c: Likewise.
72239         * math/w_sqrt.c: Likewise.
72240         * math/w_sqrtf.c: Likewise.
72241         * math/w_sqrtl.c: Likewise.
72242         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
72243         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
72244         used.
72245         * math/math_private.h: Declare __kernel_standard_f.
72246         * math/w_cosh.c: Remove cruft and optimize a bit.
72247         * math/w_coshf.c: Likewise.
72248         * math/w_coshl.c: Likewise.
72249         * math/w_exp2.c: Likewise.
72250         * math/w_exp2f.c: Likewise.
72251         * math/w_exp2l.c: Likewise.
72252         * math/w_hypot.c: Likewise.
72253         * math/w_hypotf.c: Likewise.
72254         * math/w_hypotl.c: Likewise.
72255         * math/w_lgamma.c: Likewise.
72256         * math/w_lgamma_r.c: Likewise.
72257         * math/w_lgammaf.c: Likewise.
72258         * math/w_lgammaf_r.c: Likewise.
72259         * math/w_lgammal.c: Likewise.
72260         * math/w_lgammal_r.c: Likewise.
72261         * math/w_sinh.c: Likewise.
72262         * math/w_sinhf.c: Likewise.
72263         * math/w_sinhl.c: Likewise.
72264         * math/w_tgamma.c: Likewise.
72265         * math/w_tgammaf.c: Likewise.
72266         * math/w_tgammal.c: Likewise.
72267         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
72268         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
72269         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
72270         Minor optimizations.  Pretty printing.  Remove cruft.
72271         * sysdeps/i386/fpu/e_acosf.S: Likewise.
72272         * sysdeps/i386/fpu/e_acosh.S: Likewise.
72273         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
72274         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
72275         * sysdeps/i386/fpu/e_acosl.c: Likewise.
72276         * sysdeps/i386/fpu/e_asin.S: Likewise.
72277         * sysdeps/i386/fpu/e_asinf.S: Likewise.
72278         * sysdeps/i386/fpu/e_atan2.S: Likewise.
72279         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
72280         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
72281         * sysdeps/i386/fpu/e_atanh.S: Likewise.
72282         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
72283         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
72284         * sysdeps/i386/fpu/e_exp10.S: Likewise.
72285         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
72286         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
72287         * sysdeps/i386/fpu/e_exp2.S: Likewise.
72288         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
72289         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
72290         * sysdeps/i386/fpu/e_fmod.S: Likewise.
72291         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
72292         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
72293         * sysdeps/i386/fpu/e_hypot.S: Likewise.
72294         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
72295         * sysdeps/i386/fpu/e_log.S: Likewise.
72296         * sysdeps/i386/fpu/e_log10.S: Likewise.
72297         * sysdeps/i386/fpu/e_log10f.S: Likewise.
72298         * sysdeps/i386/fpu/e_log10l.S: Likewise.
72299         * sysdeps/i386/fpu/e_log2.S: Likewise.
72300         * sysdeps/i386/fpu/e_log2f.S: Likewise.
72301         * sysdeps/i386/fpu/e_log2l.S: Likewise.
72302         * sysdeps/i386/fpu/e_logf.S: Likewise.
72303         * sysdeps/i386/fpu/e_logl.S: Likewise.
72304         * sysdeps/i386/fpu/e_pow.S: Likewise.
72305         * sysdeps/i386/fpu/e_powf.S: Likewise.
72306         * sysdeps/i386/fpu/e_powl.S: Likewise.
72307         * sysdeps/i386/fpu/e_remainder.S: Likewise.
72308         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
72309         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
72310         * sysdeps/i386/fpu/e_scalb.S: Likewise.
72311         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
72312         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
72313         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
72314         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
72315         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
72316         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
72317         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
72318         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
72319         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
72320         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
72321         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
72322         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
72323         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
72324         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
72325         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
72326         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
72327         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
72328         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72329         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
72330         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
72331         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72332         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
72333         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
72334         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
72335         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
72336         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
72337         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
72338         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
72339         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
72340         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
72341         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
72342         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
72343         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
72344         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
72345         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
72346         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
72347         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
72348         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
72349         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
72350         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
72351         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
72352         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
72353         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
72354         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
72355         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
72356         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
72357         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
72358         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
72359         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
72360         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
72361         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
72362         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
72363         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
72364         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
72365         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
72366         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
72367         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
72368         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
72369         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
72370         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
72371         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
72372         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
72373         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
72374         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
72375         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
72376         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
72377         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
72378         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
72379         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
72380         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
72381         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
72382         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
72383         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
72384         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
72385         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
72386         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
72387         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
72388         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
72389         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
72390         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
72391         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
72392         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
72393         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
72394         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
72395         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
72396         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
72397         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
72398         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
72399         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
72400         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
72401         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
72402         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
72403         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
72404         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
72405         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
72406         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
72407         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
72408         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
72409         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
72410         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
72411         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
72412         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
72413         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
72414         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
72415         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
72416         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
72417         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
72418         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
72419         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
72420         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
72421         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
72422         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
72423         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
72424         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
72425         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
72426         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
72427         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
72428         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
72429         (__isnanf): Likewise.
72430         (__isinf_ns): Likewise.
72431         (__isinf_nsf): Likewise.
72432         (__finite): Likewise.
72433         (__finitef): Likewise.
72434         (__ieee754_sqrt): Define as macro.
72435         (__ieee754_sqrtf): Define as macro.
72436         (__ieee754_sqrtl): Define as macro.
72437         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
72438         inlined copy.
72439         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
72440         __FINITE_MATH_ONLY__ consistent.
72441         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
72443 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
72445         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
72446         of rawmemchr.
72448         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
72450 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
72452         * po/ja.po: Update from translation team.
72454 2011-10-08  Roland McGrath  <roland@hack.frob.com>
72456         * locale/programs/locarchive.c (prepare_address_space): New function.
72457         (create_archive, enlarge_archive, open_archive): Use it.
72459         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
72460         inside [SHARED], where it is used.
72462         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
72464         * nss/getent.c (netgroup_keys): Remove unused variable.
72465         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
72467 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
72469         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
72470         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
72471         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
72472         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
72473         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
72474         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
72475         * math/Makefile (libm-calls): Add s_isinf_ns.
72476         * math/divtc3.c: Use __isinf_nsl instead of isinf.
72477         * math/multc3.c: Likewise.
72478         * math/s_casin.c: Likewise.
72479         * math/s_casinf.c: Likewise.
72480         * math/s_casinl.c: Likewise.
72481         * math/s_ccos.c: Likewise.
72482         * math/s_ccosf.c: Likewise.
72483         * math/s_ccosl.c: Likewise.
72484         * math/s_ctan.c: Likewise.
72485         * math/s_ctanf.c: Likewise.
72486         * math/s_ctanh.c: Likewise.
72487         * math/s_ctanhf.c: Likewise.
72488         * math/s_ctanhl.c: Likewise.
72489         * math/s_ctanl.c: Likewise.
72490         * math/w_fmod.c: Likewise.
72491         * math/w_fmodf.c: Likewise.
72492         * math/w_fmodl.c: Likewise.
72493         * math/w_remainder.c: Likewise.
72494         * math/w_remainderf.c: Likewise.
72495         * math/w_remainderl.c: Likewise.
72496         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
72497         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
72498         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
72499         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
72500         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
72501         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
72502         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
72503         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
72505         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
72506         of the number.
72507         * stdio-common/printf_fphex.c: Likewise.
72508         * stdio-common/printf_size.c: Likewise.
72510         * math/e_exp10.c: Include math_private.h using <...> not "...".
72511         * math/e_exp10f.c: Likewise.
72512         * math/e_exp10l.c: Likewise.
72513         * math/e_exp2l.c: Likewise.
72514         * math/e_j0l.c: Likewise.
72515         * math/e_j1l.c: Likewise.
72516         * math/e_jnl.c: Likewise.
72517         * math/e_lgammal_r.c: Likewise.
72518         * math/e_rem_pio2l.c: Likewise.
72519         * math/e_scalb.c: Likewise.
72520         * math/e_scalbf.c: Likewise.
72521         * math/e_scalbl.c: Likewise.
72522         * math/k_cosl.c: Likewise.
72523         * math/k_sinl.c: Likewise.
72524         * math/k_tanl.c: Likewise.
72525         * math/s_cacoshf.c: Likewise.
72526         * math/s_catan.c: Likewise.
72527         * math/s_catanf.c: Likewise.
72528         * math/s_catanh.c: Likewise.
72529         * math/s_catanhf.c: Likewise.
72530         * math/s_catanhl.c: Likewise.
72531         * math/s_catanl.c: Likewise.
72532         * math/s_ccosh.c: Likewise.
72533         * math/s_ccoshf.c: Likewise.
72534         * math/s_ccoshl.c: Likewise.
72535         * math/s_cexp.c: Likewise.
72536         * math/s_cexpf.c: Likewise.
72537         * math/s_cexpl.c: Likewise.
72538         * math/s_clog.c: Likewise.
72539         * math/s_clog10.c: Likewise.
72540         * math/s_clog10f.c: Likewise.
72541         * math/s_clog10l.c: Likewise.
72542         * math/s_clogf.c: Likewise.
72543         * math/s_clogl.c: Likewise.
72544         * math/s_csin.c: Likewise.
72545         * math/s_csinf.c: Likewise.
72546         * math/s_csinh.c: Likewise.
72547         * math/s_csinhf.c: Likewise.
72548         * math/s_csinhl.c: Likewise.
72549         * math/s_csinl.c: Likewise.
72550         * math/s_csqrt.c: Likewise.
72551         * math/s_csqrtf.c: Likewise.
72552         * math/s_csqrtl.c: Likewise.
72553         * math/s_ctan.c: Likewise.
72554         * math/s_ctanf.c: Likewise.
72555         * math/s_ctanh.c: Likewise.
72556         * math/s_ctanhf.c: Likewise.
72557         * math/s_ctanhl.c: Likewise.
72558         * math/s_ctanl.c: Likewise.
72559         * math/s_ldexp.c: Likewise.
72560         * math/s_ldexpf.c: Likewise.
72561         * math/s_ldexpl.c: Likewise.
72562         * math/s_significand.c: Likewise.
72563         * math/s_significandf.c: Likewise.
72564         * math/s_significandl.c: Likewise.
72565         * math/w_acos.c: Likewise.
72566         * math/w_acosf.c: Likewise.
72567         * math/w_acosh.c: Likewise.
72568         * math/w_acoshf.c: Likewise.
72569         * math/w_acoshl.c: Likewise.
72570         * math/w_acosl.c: Likewise.
72571         * math/w_asin.c: Likewise.
72572         * math/w_asinf.c: Likewise.
72573         * math/w_asinl.c: Likewise.
72574         * math/w_atan2.c: Likewise.
72575         * math/w_atan2f.c: Likewise.
72576         * math/w_atan2l.c: Likewise.
72577         * math/w_atanh.c: Likewise.
72578         * math/w_atanhf.c: Likewise.
72579         * math/w_atanhl.c: Likewise.
72580         * math/w_cosh.c: Likewise.
72581         * math/w_coshf.c: Likewise.
72582         * math/w_coshl.c: Likewise.
72583         * math/w_dremf.c: Likewise.
72584         * math/w_exp10.c: Likewise.
72585         * math/w_exp10f.c: Likewise.
72586         * math/w_exp10l.c: Likewise.
72587         * math/w_exp2.c: Likewise.
72588         * math/w_exp2f.c: Likewise.
72589         * math/w_fmod.c: Likewise.
72590         * math/w_fmodf.c: Likewise.
72591         * math/w_fmodl.c: Likewise.
72592         * math/w_hypot.c: Likewise.
72593         * math/w_hypotf.c: Likewise.
72594         * math/w_hypotl.c: Likewise.
72595         * math/w_j0.c: Likewise.
72596         * math/w_j0f.c: Likewise.
72597         * math/w_j0l.c: Likewise.
72598         * math/w_j1.c: Likewise.
72599         * math/w_j1f.c: Likewise.
72600         * math/w_j1l.c: Likewise.
72601         * math/w_jn.c: Likewise.
72602         * math/w_jnf.c: Likewise.
72603         * math/w_jnl.c: Likewise.
72604         * math/w_lgamma.c: Likewise.
72605         * math/w_lgamma_r.c: Likewise.
72606         * math/w_lgammaf.c: Likewise.
72607         * math/w_lgammaf_r.c: Likewise.
72608         * math/w_lgammal.c: Likewise.
72609         * math/w_lgammal_r.c: Likewise.
72610         * math/w_log.c: Likewise.
72611         * math/w_log10.c: Likewise.
72612         * math/w_log10f.c: Likewise.
72613         * math/w_log10l.c: Likewise.
72614         * math/w_log2.c: Likewise.
72615         * math/w_log2f.c: Likewise.
72616         * math/w_log2l.c: Likewise.
72617         * math/w_logf.c: Likewise.
72618         * math/w_logl.c: Likewise.
72619         * math/w_pow.c: Likewise.
72620         * math/w_powf.c: Likewise.
72621         * math/w_powl.c: Likewise.
72622         * math/w_remainder.c: Likewise.
72623         * math/w_remainderf.c: Likewise.
72624         * math/w_remainderl.c: Likewise.
72625         * math/w_scalb.c: Likewise.
72626         * math/w_scalbf.c: Likewise.
72627         * math/w_scalbl.c: Likewise.
72628         * math/w_sinh.c: Likewise.
72629         * math/w_sinhf.c: Likewise.
72630         * math/w_sinhl.c: Likewise.
72631         * math/w_sqrt.c: Likewise.
72632         * math/w_sqrtf.c: Likewise.
72633         * math/w_sqrtl.c: Likewise.
72634         * math/w_tgamma.c: Likewise.
72635         * math/w_tgammaf.c: Likewise.
72636         * math/w_tgammal.c: Likewise.
72638         * po/ja.po: Update from translation team.
72640 2011-09-29  Andreas Jaeger  <aj@suse.de>
72642         [BZ #13179]
72643         * sunrpc/netname.c (netname2host): Fix logic.
72645         [BZ #6779]
72646         [BZ #6783]
72647         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
72648         correctly.
72649         * math/w_remainder.c (__remainder): Likewise.
72650         * math/w_remainderf.c (__remainderf): Likewise.
72651         * math/libm-test.inc (remainder_test): Add test cases.
72653 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72655         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
72656         sdiv_qrnnd.
72658 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
72660         * string/test-memcmp.c: Avoid unncessary #defines.
72661         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
72663 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72665         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
72666         Use new sse2 version for core i3 - i7 as it's faster
72667         than sse42 version.
72668         (bit_Prefer_PMINUB_for_stringop): New.
72669         * sysdeps/x86_64/rawmemchr.S: Update.
72670         Replace with faster SSE2 version.
72671         * sysdeps/x86_64/memrchr.S: New file.
72672         * sysdeps/x86_64/memchr.S: Update.
72673         Replace with faster SSE2 version.
72675 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
72677         * elf/dl-load.c (lose): Add cast to avoid warning.
72679 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
72681         * po/ca.po: Update from translation team.
72683         * inet/getnetgrent_r.c: Hook up nscd.
72684         * nscd/Makefile (routines): Add nscd_netgroup.
72685         (nscd-modules): Add netgroupcache.
72686         (CFLAGS-netgroupcache.c): Define.
72687         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
72688         (cache_search): Add const to second parameter.
72689         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
72690         INNETGR.
72691         (dbs): Add netgrdb entry.
72692         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
72693         (verify_persistent_db): Handle netgrdb.
72694         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
72695         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
72696         GETFDNETGR.
72697         (netgroup_response_header): Define.
72698         (innetgroup_response_header): Define.
72699         (datahead): Add netgroup_response_header and innetgroup_response_header
72700         elements.
72701         * nscd/nscd.conf: Add entries for netgroup cache.
72702         * nscd/nscd.h (dbtype): Add netgrdb.
72703         (_PATH_NSCD_NETGROUP_DB): Define.
72704         (netgroup_iov_disabled): Declare.
72705         (xmalloc, xcalloc, xrealloc): Move declarations here.
72706         (cache_search): Adjust prototype.
72707         Add netgroup-related prototypes.
72708         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
72709         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
72710         (__nscd_innetgr): Declare.
72711         * nscd/selinux.c (perms): Use access_vector_t as element type and
72712         add netgroup-related initializers.
72713         * nscd/netgroupcache.c: New file.
72714         * nscd/nscd_netgroup.c: New file.
72715         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
72716         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
72717         For four parameters use innetgr.
72718         * nss/nss_files/files-init.c: Add definition and callback for netgr.
72719         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
72720         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
72721         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
72723         * nscd/connections.c (register_traced_file): Don't register file
72724         for disabled databases.
72726 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
72728         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
72730         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
72731         from tree and freeing node.
72733 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
72735         * nss/nsswitch.c (__nss_database_lookup): Handle
72736         nss_parse_service_list out of memory case.
72738 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
72740         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
72741         out of memory case.
72743 2011-10-04  Andreas Schwab  <schwab@redhat.com>
72745         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
72746         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
72747         pass it down.
72748         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
72749         elf_machine_rela, elf_machine_lazy_rel.
72750         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
72751         (ELF_DYNAMIC_DO_REL): Likewise.
72752         (ELF_DYNAMIC_DO_RELA): Likewise.
72753         (ELF_DYNAMIC_RELOCATE): Likewise.
72754         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
72755         to ELF_DYNAMIC_DO_REL.
72756         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
72757         (dl_main): In trace mode always set __RTLD_NOIFUNC.
72758         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
72759         elf_machine_rela.
72760         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
72761         skip_ifunc, don't call ifunc function if non-zero.
72762         (elf_machine_rela): Likewise.
72763         (elf_machine_lazy_rel): Likewise.
72764         (elf_machine_lazy_rela): Likewise.
72765         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
72766         (elf_machine_lazy_rel): Likewise.
72767         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
72768         Likewise.
72769         (elf_machine_lazy_rel): Likewise.
72770         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
72771         Likewise.
72772         (elf_machine_lazy_rel): Likewise.
72773         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
72774         (elf_machine_lazy_rel): Likewise.
72775         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
72776         (elf_machine_lazy_rel): Likewise.
72777         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
72778         (elf_machine_lazy_rel): Likewise.
72779         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
72780         (elf_machine_lazy_rel): Likewise.
72781         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
72782         (elf_machine_lazy_rel): Likewise.
72783         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
72784         (elf_machine_lazy_rel): Likewise.
72786 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
72788         * nss/nss_files/files-init.c (_nss_files_init): Use static
72789         initialization for all the *_traced_file variables.
72791 2011-09-28  Andreas Schwab  <schwab@redhat.com>
72793         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
72795 2011-09-27  Roland McGrath  <roland@hack.frob.com>
72797         [BZ #13226]
72798         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
72800 2011-09-27  Andreas Schwab  <schwab@redhat.com>
72802         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
72803         Reread the line before reparsing it.
72805 2011-09-26  Andreas Schwab  <schwab@redhat.com>
72807         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
72809 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
72810             Maxim Kuvyrkov  <maxim@codesourcery.com>
72811             Joseph Myers  <joseph@codesourcery.com>
72813         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
72814         if needed for __stack_chk_guard.
72816 2011-09-19  Roland McGrath  <roland@hack.frob.com>
72818         * sysdeps/posix/spawni.c (script_execute): Always define it.
72819         It will be optimized away if unused.
72820         (maybe_script_execute): New function.
72821         (__spawni): Call it.
72823         * Makerules: Don't include tls.make.
72824         (config-tls): Always set to thread.
72825         * tls.make.c: File removed.
72827 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
72829         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
72830         * config.make.in (CPPFLAGS-config): New substituted variable.
72832 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
72834         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
72836         [BZ #13192]
72837         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
72838         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
72840 2011-09-15  Roland McGrath  <roland@hack.frob.com>
72842         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
72843         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
72844         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
72845         (CALL_FAIL): Likewise.
72846         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
72847         (CALL_FAIL): Macro removed.
72848         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
72850 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
72852         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
72853         for __FINITE_MATH_ONLY__ == 1.
72855 2011-09-15  Andreas Schwab  <schwab@redhat.com>
72857         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
72858         __ieee754_sqrt instead of sqrt.
72859         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
72860         __ieee754_sqrtf instead of sqrtf.
72861         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
72862         __floorf instead of floorf.
72863         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
72864         __floorf, __truncf instead of floorf, truncf.
72866 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
72868         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
72870         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
72871         __extern_always_inline.
72872         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
72873         32-bit.
72875 2011-09-14  Andreas Schwab  <schwab@redhat.com>
72877         * elf/rtld.c (dl_main): Also relocate in dependency order when
72878         doing symbol dependency testing.
72880 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
72882         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
72883         Always define `refsym'.
72885 2011-09-13  Andreas Schwab  <schwab@redhat.com>
72887         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
72888         (__FD_ELT): Renamed from __FDELT.
72889         * misc/bits/select2.h (__FD_ELT): Likewise.
72890         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
72891         __FD_MASK instead of __FDELT, __FDMASK.
72892         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
72893         Likewise.
72894         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
72895         Likewise.
72897         * elf/Makefile (gen-ldd): Fix pattern.
72899         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
72900         (init_tls): Likewise.
72902 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
72904         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
72906 2011-09-12  Andreas Schwab  <schwab@redhat.com>
72908         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
72909         `struct cmsghdr *' instead of `void *'.
72910         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
72911         Likewise.
72913 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
72915         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
72916         if non-absolute.
72917         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
72918         ldd_rewrite_script.
72920 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
72922         * configure.in: Remove --with-tls option.
72923         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
72924         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
72925         out in case it is missing.
72926         * sysdeps/ia64/elf/configure.in: Likewise.
72927         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
72928         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
72929         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
72930         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
72931         * sysdeps/sh/elf/configure.in: Likewise.
72932         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
72933         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
72934         * sysdeps/x86_64/elf/configure.in: Likewise.
72935         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
72936         * sysdeps/mach/hurd/tls.h: Likewise.
72938         [BZ #13067]
72939         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
72941         [BZ #13090]
72942         * configure.in: Fix use of AC_INIT.
72944         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
72946 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
72948         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
72949         __set_errno.
72950         * malloc/hooks.c: Likewise.
72952         [BZ #11929]
72953         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
72954         variables statically.
72955         (narenas): Initialize.
72956         (list_lock): Initialize.
72957         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
72958         initializtion of main_arena and list_lock.  Small cleanups.
72959         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
72960         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
72961         Add initializers to main_arena and mp_.
72962         (malloc_state): Remove pagesize member.  Change all users to use
72963         GLRO(dl_pagesize).
72965         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
72966         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
72967         is always initialized.
72969         * malloc/malloc.c: Removed unused configurations and dead code.
72970         * malloc/arena.c: Likewise.
72971         * malloc/hooks.c: Likewise.
72972         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
72974         * include/tls.h: Removed.  USE___THREAD must always be defined.
72975         * bits/libc-tsd.h: Don't handle !USE___THREAD.
72976         * elf/dl-libc.c: Likewise.
72977         * elf/dl-tsd.c: Likewise.
72978         * include/errno.h: Likewise.
72979         * include/netdb.h: Likewise.
72980         * include/resolv.h: Likewise.
72981         * inet/herrno-loc.c: Likewise.
72982         * inet/herrno.c: Likewise.
72983         * malloc/arena.c: Likewise.
72984         * malloc/hooks.c: Likewise.
72985         * malloc/malloc.c: Likewise.
72986         * resolv/res-state.c: Likewise.
72987         * resolv/res_libc.c: Likewise.
72988         * sysdeps/i386/dl-machine.h: Likewise.
72989         * sysdeps/ia64/dl-machine.h: Likewise.
72990         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
72991         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
72992         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
72993         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
72994         * sysdeps/sh/dl-machine.h: Likewise.
72995         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
72996         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
72997         * sysdeps/unix/i386/sysdep.S: Likewise.
72998         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
72999         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
73000         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
73001         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
73002         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
73003         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
73004         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
73005         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
73006         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
73007         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
73008         * sysdeps/unix/x86_64/sysdep.S: Likewise.
73009         * sysdeps/x86_64/dl-machine.h: Likewise.
73010         * tls.make.c: Likewise.
73012         * configure.in: Remove --with-__thread option.  Make tests for
73013         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
73014         tls_model attribute fail if no support is available.  Remove
73015         USE_IN_LIBIO.
73016         * Makeconfig: Adjust for dropped configure option.  All features are
73017         now mandatory.
73018         * Makerules: Likewise.
73019         * Versions.def: Likewise.
73020         * argp/argp-fmtstream.c: Likewise.
73021         * argp/argp-fmtstream.h: Likewise.
73022         * argp/argp-help.c: Likewise.
73023         * assert/assert.c: Likewise.
73024         * config.h.in: Likewise.
73025         * config.make.in: Likewise.
73026         * configure: Likewise.
73027         * configure.in: Likewise.
73028         * csu/Versions: Likewise.
73029         * csu/init.c: Likewise.
73030         * elf/tst-audit2.c: Likewise.
73031         * elf/tst-tls10.c: Likewise.
73032         * elf/tst-tls10.h: Likewise.
73033         * elf/tst-tls11.c: Likewise.
73034         * elf/tst-tls12.c: Likewise.
73035         * elf/tst-tls14.c: Likewise.
73036         * elf/tst-tlsmod11.c: Likewise.
73037         * elf/tst-tlsmod12.c: Likewise.
73038         * elf/tst-tlsmod13.c: Likewise.
73039         * elf/tst-tlsmod13a.c: Likewise.
73040         * elf/tst-tlsmod14a.c: Likewise.
73041         * elf/tst-tlsmod15b.c: Likewise.
73042         * elf/tst-tlsmod16a.c: Likewise.
73043         * elf/tst-tlsmod16b.c: Likewise.
73044         * elf/tst-tlsmod7.c: Likewise.
73045         * elf/tst-tlsmod8.c: Likewise.
73046         * elf/tst-tlsmod9.c: Likewise.
73047         * gmon/gmon.c: Likewise.
73048         * grp/fgetgrent_r.c: Likewise.
73049         * grp/putgrent.c: Likewise.
73050         * hurd/fopenport.c: Likewise.
73051         * include/libc-symbols.h: Likewise.
73052         * include/tls.h: Likewise.
73053         * intl/gettextP.h: Likewise.
73054         * intl/loadinfo.h: Likewise.
73055         * locale/global-locale.c: Likewise.
73056         * locale/localeinfo.h: Likewise.
73057         * mach/devstream.c: Likewise.
73058         * malloc/arena.c: Likewise.
73059         * malloc/set-freeres.c: Likewise.
73060         * misc/err.c: Likewise.
73061         * misc/getttyent.c: Likewise.
73062         * misc/mntent_r.c: Likewise.
73063         * posix/getopt.c: Likewise.
73064         * posix/wordexp.c: Likewise.
73065         * pwd/fgetpwent_r.c: Likewise.
73066         * resolv/Versions: Likewise.
73067         * resolv/res_hconf.c: Likewise.
73068         * shadow/fgetspent_r.c: Likewise.
73069         * shadow/putspent.c: Likewise.
73070         * stdio-common/printf_fphex.c: Likewise.
73071         * stdio-common/tmpfile.c: Likewise.
73072         * stdlib/abort.c: Likewise.
73073         * stdlib/fmtmsg.c: Likewise.
73074         * sunrpc/auth_unix.c: Likewise.
73075         * sunrpc/clnt_perr.c: Likewise.
73076         * sunrpc/clnt_tcp.c: Likewise.
73077         * sunrpc/clnt_udp.c: Likewise.
73078         * sunrpc/clnt_unix.c: Likewise.
73079         * sunrpc/openchild.c: Likewise.
73080         * sunrpc/svc_simple.c: Likewise.
73081         * sunrpc/svc_tcp.c: Likewise.
73082         * sunrpc/svc_udp.c: Likewise.
73083         * sunrpc/svc_unix.c: Likewise.
73084         * sunrpc/xdr.c: Likewise.
73085         * sunrpc/xdr_array.c: Likewise.
73086         * sunrpc/xdr_rec.c: Likewise.
73087         * sunrpc/xdr_ref.c: Likewise.
73088         * sunrpc/xdr_stdio.c: Likewise.
73090 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
73092         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
73094 2011-07-03  Andreas Jaeger  <aj@suse.de>
73096         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
73097         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
73098         regenerate with gen-libm-tests.pl.
73100 2010-05-12  Petr Baudis  <pasky@suse.cz>
73102         [BZ #11589]
73103         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
73104         around j0() zero points by switching to j1().
73105         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
73106         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
73107         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
73108         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
73110 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
73112         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
73113         instead of 0.
73114         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
73115         instead of 0.
73116         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
73117         Patch in part by Pavel Roskin <proski@gnu.org>.
73119         [BZ #13138]
73120         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
73121         realloc.
73122         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
73123         Free memory block if necessary.
73125         [BZ #12847]
73126         * libio/genops.c (INTDEF): For string streams the _lock pointer can
73127         be NULL.  Don't lock in this case.
73129 2011-09-09  Roland McGrath  <roland@hack.frob.com>
73131         * elf/elf.h (ELFOSABI_GNU): New macro.
73132         (ELFOSABI_LINUX): Define to that.
73134 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
73136         * string/strncat.c (strncat): Undef the symbol in case it has been
73137         defined in bits/string.h.
73139 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
73141         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
73143         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
73144         link map.
73146 2011-08-17  Andreas Jaeger  <aj@suse.de>
73148         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
73150 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
73151             Ian Lance Taylor  <iant@google.com>
73153         * math/libm-test.inc (lround_test): New testcase.
73154         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
73156 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
73158         * Makefile: Remove support for automatic cvs check-ins.
73159         * Makerules: Likewise.
73160         * config.make.in: Likewise.
73161         * configure.in: Likewise.
73162         * intl/Makefile: Likewise.
73163         * locale/Makefile: Likewise.
73164         * po/Makefile: Likewise.
73165         * posix/Makefile: Likewise.
73166         * sysdeps/gnu/Makefile: Likewise.
73167         * sysdeps/mach/hurd/Makefile: Likewise.
73168         * sysdeps/sparc/sparc32/Makefile: Likewise.
73170         [BZ #13118]
73171         * posix/Makefile (bug-regex32-ENV): Define.
73172         Patch by John Stanley <jpsinthemix@verizon.net>.
73174         * misc/Makefile (headers): Add bits/select2.h.
73175         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
73176         * misc/bits/select2.h: New file.
73177         * include/bits/select2.h: New file.
73178         * debug/Makefile (routines): Add fdelt_chk.
73179         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
73180         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
73181         FD_ISSET.
73182         * debug/fdelt_chk.c: New file.
73184         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
73185         * wcsmbs/test-wmemcmp.c: Likewise.
73186         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
73187         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
73189 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73191         * string/Makefile (strop-tests): Add memcmp.
73192         * string/test-wmemcmp.c: New file.
73193         * string/test-memcmp.c: Add wmemcmp support.
73195 2011-09-08  Roland McGrath  <roland@hack.frob.com>
73197         [BZ #13153]
73198         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
73199         2011-07-19 change.
73201         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
73202         garbage value in a __mach_port_mod_refs call in the cases of the
73203         task-self and thread-self ports.
73205 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73207         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
73209 2011-09-08  Andreas Schwab  <schwab@redhat.com>
73211         * elf/dl-load.c (lose): Check for non-null L.
73213 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
73215         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
73217         * elf/dl-libc.c (dlerror_run): Pass back error code from
73218         dl_catch_error.
73220         [BZ #13123]
73221         * elf/dl-load.c (lose): Free l_origin if it is valid.
73223         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
73224         names.
73225         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
73226         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
73227         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
73228         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
73229         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
73230         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
73232 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73234         * sysdeps/powerpc/fpu/e_hypot.c: New file.
73235         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
73236         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
73237         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
73238         * sysdeps/powerpc/fpu/k_cosf.c: New file.
73239         * sysdeps/powerpc/fpu/k_sinf.c: New file.
73240         * sysdeps/powerpc/fpu/s_cosf.c: New file.
73241         * sysdeps/powerpc/fpu/s_sinf.c: New file.
73242         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
73243         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
73245 2011-08-15  Alan Modra  <amodra@gmail.com>
73247         [BZ #13092]
73248         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
73249         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
73250         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
73251         ppc_mcount to static-only-routines.
73252         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
73253         __mcount_internal.
73254         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
73255         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
73257 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
73259         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
73260         for finite and infinity parameters.
73262 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
73264         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
73265         and add nop instructions for throughput optimization.
73266         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
73268 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
73270         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
73271         aligned copy for power7 with vector-scalar instructions.
73272         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
73274 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
73276         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
73277         AVX check.
73279 2011-09-07  Andreas Schwab  <schwab@redhat.com>
73281         [BZ #13144]
73282         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
73283         last change.
73285 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
73287         * sysdeps/unix/sysv/linux/x86_64/init-first.c
73288         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
73289         syscall wrapper around clock_gettime in __vdso_clock_gettime.
73290         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
73291         clock_gettime.
73293 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
73295         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
73296         Forgot to demangle the pointer.
73298         * sysdeps/i386/sysdep.h: Define atom_text_section.
73299         * sysdeps/x86_64/sysdep.h: Likewise.
73300         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
73301         section with atom_text_section.
73302         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
73303         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
73304         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
73305         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
73306         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
73308         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
73309         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
73310         already be defined.  Change to take two parameters and don't assign
73311         result to variable.  Adjust all users.
73312         Define INTERNAL_GETTIME if not already defined.
73313         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
73314         call.
73315         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
73316         HAVE_CLOCK_GETTIME_VSYSCALL.
73317         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
73319         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
73320         gettimeofday vsyscall, just use time.
73322 2011-09-06  Andreas Schwab  <schwab@redhat.com>
73324         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
73325         <errno.h>.
73327 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
73329         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
73330         syscall on x86-64.
73331         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
73332         syscall.
73333         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
73334         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
73335         syscall if possible.
73337 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
73339         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
73340         e_ident.  Don't pass to find_mapsXX.
73341         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
73343 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
73345         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
73346         strchr-sse2-no-bsf strrchr-sse2-no-bsf
73347         * sysdeps/x86_64/multiarch/strchr.S: Update.
73348         Check bit_slow_BSF bit.
73349         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
73350         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
73351         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
73353 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
73355         [BZ #13134]
73356         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
73357         before glibc 2.15.
73358         (tryshell): Define.
73359         (__spawni): Change last parameter to be flag.  Test
73360         SPAWN_XFLAGS_USE_PATH flag to use path or not.
73361         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
73362         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
73363         * posix/spawni.c: Likewise.
73364         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
73365         * posix/spawnp.c: Likewise.  Change normal version to use
73366         SPAWN_XFLAGS_USE_PATH.
73367         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
73368         SPAWN_XFLAGS_TRY_SHELL.
73370         [BZ #13150]
73371         * posix/glob.h: Remove gcc 1.x support.
73373         [BZ #13068]
73374         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
73376 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
73378         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
73379         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
73380         strrchr-sse2-bsf
73381         * sysdeps/i386/i686/multiarch/strchr.S: New file.
73382         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
73383         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
73384         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
73385         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
73386         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
73388 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73390         * sysdeps/x86_64/wcscmp.S: New file.
73392         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
73393         wcscmp-c wcscmp-sse2
73394         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
73395         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
73396         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
73397         * wcsmbs/wcscmp.c: Allow renaming.
73399 2011-09-05  David S. Miller  <davem@davemloft.net>
73401         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
73402         stack slot, rather than the struct return pointer slot.
73403         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
73404         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
73405         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
73406         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
73408 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
73410         * po/ja.po: Update from translation team.
73412         [BZ #13144]
73413         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
73414         kernel in 64-bit binaries.
73416 2011-09-01  David S. Miller  <davem@davemloft.net>
73418         * elf/elf.h (HWCAP_SPARC_*): Move to..
73419         * sysdeps/sparc/sysdep.h: this new file and add new values.
73420         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
73421         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
73422         _DL_HWCAP_COUNT to 24.
73423         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
73424         entries.
73425         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
73426         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
73427         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
73428         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
73429         instead of magic constants.
73430         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
73432 2011-08-31  David S. Miller  <davem@davemloft.net>
73434         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
73435         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
73436         Reimplement to do errno handling inline.
73437         (SYSCALL_ERROR_HANDLER): New macro.
73438         (__SYSCALL_STRING): Do not do errno handling in asm.
73439         (__CLONE_SYSCALL_STRING): Delete.
73440         (__INTERNAL_SYSCALL_STRING): Delete.
73441         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
73442         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
73443         (PSEUDO): Reimplement to do errno handling inline.
73444         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
73445         (SYSCALL_ERROR_HANDLER): New macro.
73446         (__SYSCALL_STRING): Do not do errno handling in asm.
73447         (__CLONE_SYSCALL_STRING): Delete.
73448         (__INTERNAL_SYSCALL_STRING): Delete.
73449         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
73450         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
73451         i386.
73452         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
73453         (inline_syscall*): Add 'err' argument.
73454         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
73455         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
73456         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
73457         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
73459         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
73460         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
73462 2011-08-30  Andreas Schwab  <schwab@redhat.com>
73464         * elf/rtld.c (dl_main): Relocate objects in dependency order.
73466 2011-08-29  Jiri Olsa <jolsa@redhat.com>
73468         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
73469         directive.
73471 2011-08-24  David S. Miller  <davem@davemloft.net>
73473         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
73475 2011-08-24  Andreas Schwab  <schwab@redhat.com>
73477         * elf/Makefile: Add rules to build and run unload8 test.
73478         * elf/unload8.c: New file.
73479         * elf/unload8mod1.c: New file.
73480         * elf/unload8mod1x.c: New file.
73481         * elf/unload8mod2.c: New file.
73482         * elf/unload8mod3.c: New file.
73484         * elf/dl-close.c (_dl_close_worker): Reset private search list if
73485         it wasn't used.
73487 2011-08-23  David S. Miller  <davem@davemloft.net>
73489         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
73490         subtract stack bias.
73491         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
73492         %sp not %fp in calculations.
73493         (_JMPBUF_UNWINDS_ADJ): Likewise.
73495         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
73496         (aio_suspend): Call it to force an exception region around the
73497         AIO_MISC_WAIT() invocation.
73499 2011-08-23  Andreas Schwab  <schwab@redhat.com>
73501         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
73502         backslash.
73504 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
73506         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
73507         protection macro.
73508         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
73509         and <dl-machine.h>.
73510         (Elf64_FuncDesc): Remove.
73512 2011-08-22  David S. Miller  <davem@davemloft.net>
73514         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
73515         sigaltstack check, add missing cfi directives.
73516         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
73517         missing cfi directives, and sigaltstack handling.
73519 2011-08-16  Andreas Schwab  <schwab@redhat.com>
73521         [BZ #11724]
73522         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
73523         object is seen twice.
73524         * elf/dl-fini.c (_dl_sort_fini): Likewise.
73526         * elf/Makefile (distribute): Add tst-initorder2.c.
73527         (tests): Add tst-initorder2.
73528         (modules-names): Add tst-initorder2a tst-initorder2b
73529         tst-initorder2c tst-initorder2d.  Add rules to build them.
73530         ($(objpfx)tst-initorder2.out): New rule.
73531         * elf/tst-initorder2.c: New file.
73532         * elf/tst-initorder2.exp: New file.
73534 2011-08-22  Andreas Schwab  <schwab@redhat.com>
73536         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
73538         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
73539         dependencies back to end of function.
73541         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
73542         $(elfobjdir)/ld.so.
73544 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
73546         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
73547         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
73548         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
73549         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
73550         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
73551         of __vdso_gettimeofday.
73552         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
73553         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
73554         attribute_hidden.
73555         (_libc_vdso_platform_setup): Remove initialization of
73556         __vdso_gettimeofday and __vdso_time.
73558 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
73560         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
73561         and fgetc_unlocked.
73562         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
73563         getc_unlocked.
73565         * elf/dl-open.c (add_to_global): Report additions to the global scope
73566         for LD_DEBUG=scopes.
73567         (dl_open_worker): Also print scope of newly loaded dependencies.
73568         (_dl_show_scope): Indicate if there is no scope.
73570         [BZ #13114]
73571         * stdio-common/Makefile (tests): Add bug24.
73572         * stdio-common/bug24.c: New file.
73574 2011-08-19  Andreas Jaeger  <aj@suse.de>
73576         [BZ #13114]
73577         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
73578         non-existant file when using close-on-exec mode.
73580 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
73582         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
73583         the very first instruction.
73585         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
73586         the CFI state in the end.
73587         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
73588         inclusion of dl-trampoline.h.
73589         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
73591 2011-08-19  Andreas Schwab  <schwab@redhat.com>
73593         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
73594         expectations for long double.
73596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
73597         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
73599 2011-08-14  David S. Miller  <davem@davemloft.net>
73601         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
73602         artificual limit depends upon the system page size.
73604 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
73606         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
73607         * resolv/Makefile: Define CFLAGS-libresolv.
73609 2011-08-17  Andreas Schwab  <schwab@redhat.com>
73611         * nss/makedb.c (compute_tables): Make variables used in nested
73612         function static.
73614 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
73616         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
73617         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
73618         if buffer was too small.
73620         * elf/pldd.c (main): Attach to all threads in the process.
73621         Rewrite /proc handling to use *at functions.
73623 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
73625         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
73626         specifies first scope to show.
73627         (dl_open_worker): Update callers.  Move printing scope of new
73628         object to before the relocation.
73629         * elf/rtld.c (dl_main): Update _dl_show_scope call.
73630         * sysdeps/generic/ldsodefs.h: Update declaration.
73632         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
73633         string for the scope number.
73635 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
73637         * nscd/servicescache.c (cache_addserv): Make sure written is always
73638         initialized.
73640 2011-08-14  Roland McGrath  <roland@hack.frob.com>
73642         * sysdeps/i386/i486/bits/atomic.h
73643         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
73644         statement expression, so as to suppress "set but not used" warning.
73645         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
73647         * string/strncat.c (STRNCAT): Use prototype definition.
73649         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
73650         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
73651         -Iprograms here.
73652         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
73653         (localedef-modules): Add localedef.
73654         (locale-modules): Add locale.
73656         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
73657         * elf/rtld.c (dl_main): Invert order of assignment in last change,
73658         to avoid a warning.
73660 2011-08-14  David S. Miller  <davem@davemloft.net>
73662         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
73663         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
73665 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
73667         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73668         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
73669         * elf/rtld.c (dl_main): Set l_name of vDSO.
73670         Call _dl_show_scope when DL_DEBUG_SCOPES.
73671         (process_dl_debug): Recognize scopes flag and also set it for all.
73672         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
73673         Declare _dl_show_scope.
73675         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
73676         (do_dlopen): Pass caller_dlopen to dl_open.
73677         (__libc_dlopen_mode): Initialize caller_dlopen.
73679         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
73680         of libc.  Make tolower call locale-independent.  Optimize a bit by
73681         using isdigit instead of isalnum.
73682         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
73684 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
73686         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
73687         was a dependency or dynamically loaded.
73689 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
73691         * intl/l10nflist.c: Allow architecture-specific pop function.
73692         * sysdeps/x86_64/l10nflist.c: New file.
73694         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
73695         classification.
73697 2011-08-10  Andreas Schwab  <schwab@redhat.com>
73699         * include/dirent.h: Add libc_hidden_proto for scandirat and
73700         scandirat64.  Don't declare __scandirat64.
73701         * dirent/scandirat.c: Add libc_hidden_def.
73702         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
73703         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
73705 2011-08-10  David S. Miller  <davem@davemloft.net>
73707         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
73708         enum.
73709         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
73710         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
73711         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
73713 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
73715         * Versions.def [libc]: Add GLIBC_2.15.
73716         * dirent/Makefile (routines): Add scandirat and scandirat64.
73717         * dirent/Versions [libc]: Export scandirat and scandirat64 for
73718         GLIBC_2.15.
73719         * dirent/dirent.h: Declare scandirat and scandirat64.
73720         * dirent/scandirat.c: New file.
73721         * dirent/scandirat64.c: New file.
73722         * sysdeps/wordsize-64/scandirat.c: New file.
73723         * sysdeps/wordsize-64/scandirat64.c: New file.
73724         * dirent/opendir.c: Define opendirat.
73725         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
73726         using scandirat.
73727         * dirent/scandir64.c: Adjust for scandir.c change.
73728         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
73729         __scandirat64, and __scandir_cancel_handler.
73730         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
73731         additional parameter and use openat instead of open (outside of ld.so).
73732         Add new __opendir as wrapper around __opendirat.
73733         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
73734         here without requiring old scandirat implementation.
73736 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
73738         * dirent/scandir.c (cancel_handler): Renamed to
73739         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
73740         defined.  Adjust users.
73741         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
73742         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
73744 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
73746         * string/test-string.h (IMPL): Use __STRING to expand name and then
73747         stringify it.
73749         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
73750         of cleanups.
73752 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73754         * string/Makefile: Update.
73755         (strop-tests): Append strncat.
73756         * string/test-wcscmp.c: New file.
73757         New comprehensive test for wcscmp.
73758         * string/test-strcmp.c: Update.
73759         (WIDE): New define.
73761 2011-07-22  Andreas Schwab  <schwab@redhat.com>
73763         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
73764         line.
73766 2011-07-26  Andreas Schwab  <schwab@redhat.com>
73768         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
73769         encoding to ACE if AI_IDN.
73771 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
73773         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
73774         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
73776 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
73778         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
73779         Fix overflow bug in strncat.
73780         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
73782         * string/test-strncat.c: Update.
73783         Add new tests for checking overflow bugs.
73785 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
73787         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
73788         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
73789         * sysdeps/i386/i686/multiarch/strcat.S: New file.
73790         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
73791         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
73792         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
73793         * sysdeps/i386/i686/multiarch/strncat.S: New file.
73794         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
73795         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
73797         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
73798         (USE_AS_STRCAT): Define.
73799         Add strcat and strncat support.
73800         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
73802 2011-07-25  Andreas Schwab  <schwab@redhat.com>
73804         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
73805         __n bigger than INT_MAX+1.
73806         (__strncmp_g): Likewise.
73808 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
73810         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
73811         * libio/stido.h: Likewise.
73813         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
73814         (AF_NFC): Define.
73815         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
73816         (AF_NFC): Define.
73818         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
73819         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
73820         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
73821         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
73822         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
73824         [BZ #13021]
73825         * scripts/test-installation.pl: Don't expect libnss_test1 to be
73826         installed.
73828         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
73829         typo.
73830         (_dl_x86_64_save_sse): Likewise.
73832 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
73834         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
73835         OSXSAVE.
73836         (_dl_x86_64_save_sse): Likewise.
73838         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
73840         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
73842 2011-07-21  Andreas Schwab  <schwab@redhat.com>
73844         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
73845         change.
73846         (_dl_x86_64_save_sse): Use correct AVX check.
73848 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73850         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
73851         bug in strncpy/strncat.
73852         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
73854 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
73856         * string/tester.c (test_strcat): Add tests for different alignments
73857         of source and destination.
73858         (test_strncat): Likewise.
73860 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
73862         [BZ #12852]
73863         * posix/glob.c (glob): Check passed in values before using them in
73864         expressions to avoid some overflows.
73865         (glob_in_dir): Likewise.
73867         [BZ #13007]
73868         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
73869         check for AVX enablement so that we don't crash with old kernels and
73870         new hardware.
73871         * elf/tst-audit4.c: Add same checks here.
73872         * elf/tst-audit6.c: Likewise.
73874         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
73876 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
73878         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
73880 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
73882         * po/cs.po: Update from translation team.
73883         * po/bg.po: Likewise.
73885 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
73887         * misc/sys/cdefs.h: Add support for const attribute.
73888         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
73889         to gnu_dev_{major,minor,makedev} functions.
73891 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
73893         * intl/dcigettext.c (get_output_charset): Add missing bracket.
73895 2011-07-20  Andreas Schwab  <schwab@redhat.com>
73897         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
73898         strlen results.
73900 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73902         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
73903         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
73904         register in order to avoid conflicts with the soft frame pointer
73905         being held in r11 when necessary.
73906         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
73907         (INTERNAL_VSYSCALL_NCS): Likewise.
73909 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
73911         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
73912         * elf/dl-fini.c (_dl_fini): Adjust caller.
73913         * elf/dl-close.c (_dl_close_worker): Likewise.
73914         * sysdeps/generic/ldsodefs.h: Adjust declaration.
73916 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
73918         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
73919         "aux_cache->nlibs < 0".
73921         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
73922         in the reload-count case.
73924 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
73926         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
73927         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
73928         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
73929         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
73930         * sysdeps/x86_64/multiarch/strcat.S: New file.
73931         * sysdeps/x86_64/multiarch/strncat.S: New file.
73932         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
73933         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
73934         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
73935         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
73936         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
73937         (USE_AS_STRCAT): Define.
73938         Add strcat and strncat support.
73939         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
73940         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
73941         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
73942         * string/strncat.c: Update.
73943         (USE_AS_STRNCAT): Define.
73944         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
73945         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
73946         and i7.
73947         * sysdeps/x86_64/multiarch/init-arch.h
73948         (bit_Prefer_PMINUB_for_stringop): New.
73949         (index_Prefer_PMINUB_for_stringop): Likewise.
73950         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
73951         bit_Prefer_PMINUB_for_stringop.
73953 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
73955         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
73956         buffer64.
73957         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
73958         of casting of buffer.
73959         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
73960         buffer32 and buffer64.
73961         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
73962         writes instead of casting of buffer.
73963         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
73964         buffer32.
73965         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
73966         casting of buffer.
73968 2011-07-19  Andreas Schwab  <schwab@redhat.com>
73970         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
73972 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
73974         * nscd/nscd.c (termination_handler): Don't do anything for a database
73975         if it has not yet been initialized.
73977 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
73979         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
73981 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
73983         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
73985 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
73987         * po/nl.po: Update from translation team.
73988         * po/sv.po: Likewise.
73990 2011-07-16  Roland McGrath  <roland@hack.frob.com>
73992         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
73993         now disallowed by GCC.
73995         * configure.in (use-default-link): Default to yes if a test -shared
73996         link meets our qualifications.
73997         * configure: Regenerated.
73999         * config.make.in (output-format): New variable.
74000         * configure.in: Check for ld --print-output-format support.
74001         * configure: Regenerated.
74002         * Makerules ($(common-objpfx)format.lds)
74003         [$(output-format) != unknown]: Just use $(output-format),
74004         instead of the linker-script munging.
74006 2011-07-14  Roland McGrath  <roland@hack.frob.com>
74008         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
74009         of $(common-objpfx)shlib.lds.
74010         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
74012         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
74013         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
74015         * configure.in (-z relro check): Adjust test code to add a large
74016         writable data section after it.
74017         * configure: Regenerated.
74019 2011-07-11  Roland McGrath  <roland@hack.frob.com>
74021         * configure.in (-z relro check): Fix test code to make the variable
74022         truly const.
74023         * configure: Regenerated.
74025 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
74027         * nscd/nscd.h (struct traced_file): Define.
74028         (struct database_dyn): Remove inotify_descr, reset_res, and filename
74029         elements.  Add traced_files.
74030         (inotify_fd): Declare.
74031         (register_traced_file): Declare.
74032         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
74033         (inotify_fd): Export.
74034         (resolv_conf_descr): Remove.
74035         (nscd_init): Move inotify descriptor creation to main.
74036         Don't register files for notification here.
74037         (register_traced_file): New function.
74038         (invalidate_cache): Don't use reset_res to determine whether to call
74039         res_init, go through the list of registered files.
74040         (main_loop_poll): The inotify descriptors are now stored in the
74041         structures for the traced files.
74042         (main_loop_epoll): Likewise.
74043         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
74044         to __nss_disable_nscd.
74045         * nscd/cache.c (prune_cache): There is no single inotify descriptor
74046         for a database anymore.  Check the records for all the registered
74047         files instead.
74048         * nss/Makefile (libnss_files-routines): Add files-init.
74049         (libnss_db-routines): Add db-init.
74050         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
74051         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
74052         * nss/nss_db/db-init.c: New file.
74053         * nss/nss_files/files-init.c: New file.
74054         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
74055         __nss_lookup_function.
74056         (__nss_lookup_function): Call nss_load_library.
74057         (nss_load_all_libraries): New function.
74058         (__nss_disable_nscd): Take parameter with callback function for files
74059         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
74060         used for the cached services.
74061         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
74062         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
74063         options for features to all the files in nscd.
74065         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
74067 2011-07-10  Roland McGrath  <roland@hack.frob.com>
74069         * csu/elf-init.c (__libc_csu_init): Comment typo.
74071 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
74073         * po/pl.po: Update from translation team.
74074         * po/ja.po: Likewise.
74075         * po/ru.po: Likewise.
74076         * po/ko.po: Likewise.
74077         * po/fr.po: Likewise.
74079 2011-07-09  Roland McGrath  <roland@hack.frob.com>
74081         * configure.in (.ctors/.dtors header and trailer check):
74082         Use an empirical test on a built program.
74083         * configure: Regenerated.
74085         * configure.in (-z relro check): Use an empirical test on a built DSO.
74086         Detect, but do not require, on ia64.
74087         * configure: Regenerated.
74089         * configure.in (READELF): Find it with AC_CHECK_TOOL.
74090         Update tests that use readelf to use $READELF instead.
74091         * configure: Regenerated.
74093 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
74095         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
74096         if the result is not used.
74098 2011-07-05  Andreas Jaeger  <aj@suse.de>
74100         [BZ#9696]
74101         * stdlib/tst-strtod.c: Add testcase.
74103 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
74105         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
74106         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
74107         The latter has a higher limit.  Take additional parameter to pass to
74108         the new function.
74109         (__pathconf): Pass file to __statfs_link_max.
74110         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
74111         __statfs_link_max.
74112         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
74113         __statfs_link_max.
74115         [BZ #12868]
74116         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
74117         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
74118         Handle Lustre.
74119         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
74120         (__statfs_filesize_max): Likewise.
74121         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
74123 2011-07-05  Andreas Jaeger  <aj@suse.de>
74125         * resolv/res_comp.c (dn_skipname): Remove unused variable.
74127 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
74129         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
74130         `status' variable.
74131         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
74132         Likewise.
74134 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
74136         * Makefile (strop-tests): Add strncat.
74137         * string/test-strncat.c: New file.
74139 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
74141         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
74143 2011-06-21  Andreas Jaeger  <aj@suse.de>
74145         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
74146         Copy rule from iconvdata/Makefile.
74148 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
74150         [BZ #12922]
74151         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
74152         but no long options are defined, just return 'W'.
74154 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
74156         [BZ #9696]
74157         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
74159 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
74161         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
74162         netgroups to read.
74163         (innetgr): Likewise.
74165 2011-07-05  Roland McGrath  <roland@hack.frob.com>
74167         * config.make.in (install_root): Default to $(DESTDIR).
74169 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
74171         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
74173 2011-07-02  Roland McGrath  <roland@hack.frob.com>
74175         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
74177         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
74178         containing directory rather than embedding absolute directory names.
74180         * scripts/check-local-headers.sh: Rewritten using awk.
74181         Match by word, not by line.  Print error messages for matches.
74182         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
74184         * Makerules [shlib-lds-flags empty]:
74185         ($(common-objpfx)libc_pic.opts): New target.
74186         ($(common-objpfx)libc_pic.os.clean): New target.
74187         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
74189         * config.make.in (OBJCOPY): New variable.
74190         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
74191         * configure: Regenerated.
74193         * config.make.in (use-default-link): New variable.
74194         * configure.in (use_default_link): Grok --with-default-link to set it.
74195         * configure: Regenerated.
74196         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
74197         (shlib-lds, shlib-lds-flags): Define to empty.
74199         * Makerules (shlib-lds): New variable.
74200         (shlib-lds-flags): New variable.
74201         (build-shlib, build-moduile, build-module-asneeded): Use it.
74202         ($(common-objpfx)libc.so): Use $(shlib-lds).
74203         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
74204         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
74206         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
74207         DT_FLAGS/DT_FLAGS_1 with zero flags.
74209         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
74210         linker script munging.
74212 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
74214         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
74215         as 128-bit value.
74216         * crypt/sha512.c (sha512_process_block): Perform total addition using
74217         128-bit if possible.
74218         (__sha512_finish_ctx): Likewise.
74219         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
74220         as 64-bit value.
74221         * crypt/sha256.c (SWAP64): Define.
74222         (sha256_process_block): Perform total addition using 64-bit if
74223         possible.
74224         (__sha256_finish_ctx): Likewise.
74226 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
74228         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
74229         * nscd/initgrcache.c (addinitgroupsX): Likewise.
74230         * nscd/hstcache.c (cache_addhst): Likewise.
74231         * nscd/grpcache.c (cache_addgr): Likewise.
74232         * nscd/aicache.c (addhstaiX): Likewise.
74233         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
74235 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
74237         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
74238         * nscd/initgrcache.c (addinitgroupsX): Likewise.
74239         * nscd/hstcache.c (cache_addhst): Likewise.
74240         * nscd/grpcache.c (cache_addgr): Likewise.
74241         * nscd/aicache.c (addhstaiX): Likewise.
74243 2011-07-01  Andreas Schwab  <schwab@redhat.com>
74245         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
74246         domain only when needed.
74248 2011-06-30  Andreas Schwab  <schwab@redhat.com>
74250         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
74251         is always restored.
74253 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
74255         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
74256         are re-adding the entry.
74257         * nscd/servicescache.c (cache_addserv): Likewise.
74259 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
74261         * sysdeps/generic/dl-irel.h: fix protection against multiple
74262         inclusions.
74263         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
74265 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
74267         [BZ #12935]
74268         * malloc/memusage.sh: Fix quoting in message.
74269         * debug/xtrace.sh: Likewise.
74271         * configure.in: Remove support for --experimental-malloc option, make
74272         it the default.
74273         * config.make.in: Likewise.
74274         * malloc/Makefile: Likewise.
74276 2011-06-27  Andreas Schwab  <schwab@redhat.com>
74278         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
74279         two-byte characters.
74281 2011-06-27  Roland McGrath  <roland@hack.frob.com>
74283         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
74284         AC_CACHE_CHECK invocation.
74285         * configure: Regenerated.
74287         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
74289 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
74291         [BZ #12350]
74292         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
74293         bit from old_res_options.
74295         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
74297         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
74298         value type for setfct.
74300 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
74302         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
74303         __gettimeofday instead of gettimeofday.
74305 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
74307         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
74309 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
74311         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
74313         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
74314         info.
74316 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
74318         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
74319         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
74320         strcpy-sse2-unaligned strncpy-sse2-unaligned
74321         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
74322         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
74323         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
74324         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
74325         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
74326         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
74327         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
74328         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
74329         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
74330         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
74331         (STRCPY): Support SSE2 and SSSE3 versions.
74333 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
74335         [BZ #12874]
74336         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
74337         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
74338         kernels which artificially limit size of requests.
74340 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
74342         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74343         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
74344         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
74345         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
74346         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
74347         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
74348         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
74349         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
74350         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
74351         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
74352         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
74353         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
74354         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
74355         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
74356         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
74357         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74358         Enable unaligned load optimization for Intel Core i3, i5 and i7
74359         processors.
74360         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
74361         Define.
74362         (index_Fast_Unaligned_Load): Define.
74363         (HAS_FAST_UNALIGNED_LOAD): Define.
74365 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
74367         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
74369 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
74371         [BZ #12907]
74372         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
74373         until it is clear that the information is realy needed.
74374         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
74376 2011-06-22  Andreas Schwab  <schwab@redhat.com>
74378         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
74380 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
74382         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
74383         /sys/devices/system/cpu/online if it is usable.
74385         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
74386         reading the information from the /proc filesystem to once a second.
74388 2011-06-21  Andreas Jaeger  <aj@suse.de>
74390         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
74391         NULL after inclusion of kernel headers.
74393 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
74395         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
74396         calls to internal_setent.
74398         [BZ #12885]
74399         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
74400         addresses using gethostbyname4_r ignore IPv4 addresses.
74402         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
74403         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
74405         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
74407 2011-06-20  David S. Miller  <davem@davemloft.net>
74409         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
74410         inclusions.
74411         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
74413         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
74414         (elf_irel): Use it.
74415         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
74416         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
74417         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
74418         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
74419         * sysdeps/x86_64/dl-irel.h: Likewise.
74421         * elf/dl-runtime.c: Use elf_ifunc_invoke.
74422         * elf/dl-sym.c: Likewise.
74424 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
74426         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
74427         need to dereference resplen2.
74429 2011-06-14  Andreas Schwab  <schwab@redhat.com>
74431         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
74433 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
74435         * Makeconfig: Define vardbdir and inst_vardbdir.
74436         * nss/Makefile: Add rules to install db-Makefile.
74438         * nss/nss_db/db-XXX.c: Cleanup.
74440         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
74441         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
74442         GLIBC_PRIVATE.
74443         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
74444         * nss/makedb.c: Implement -g option to specify that value strings
74445         are generated and should not be added to table iterated over for
74446         get*ent calls.
74447         * nss/nss_db/db-initgroups.c: New file.
74449         * nss/getent.c: Add support for initgroups lookups through getgrouplist
74450         interface.
74452         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
74453         (internal_getgrouplist): Adjust to name change.
74454         Update use_initgroups_entry if this is not the first call.
74455         * nss/databases.def: Add initgroups entry.
74457         * nss/makedb.c (compute_tables): Check result of multiple hash table
74458         sizes to minimize maximum chain length.
74460 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
74462         * Versions.def: Add entry for libnss_db.
74463         * shlib-versions: Likewise.
74464         * nss/Makefile: Add rules to build libnss_db.
74465         * nss/Versions: Add libnss_db information.  Organize libnss_files
74466         entries better.
74467         * nss/db-Makefile: Add gshadow support.  Change rules for the new
74468         makedb progra.  Some minor improvements to generate smaller files.
74469         * nss/nss_db/nss_db.h: Move NSS database header data structures to
74470         here from...
74471         * nss/makedb.c: ...here.
74472         Improve database format to be smaller and require less memory at
74473         runtime.
74474         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
74475         db anymore.
74476         * nss/nss_db/db-netgrp.c: Likewise.
74477         * nss/nss_db/db-open.c: Likewise.
74478         * nss/nss_files/flies-XXX.x: Adjust comments.
74479         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
74480         * nss/nss_files/files-grp.c: Likewise.
74481         * nss/nss_files/files-hosts.c: Likewise.
74482         * nss/nss_files/files-network.c: Likewise.
74483         * nss/nss_files/files-proto.c: Likewise.
74484         * nss/nss_files/files-pwd.c: Likewise.
74485         * nss/nss_files/files-rpc.c: Likewise.
74486         * nss/nss_files/files-service.c: Likewise.
74487         * nss/nss_files/files-sgrp.c: Likewise.
74488         * nss/nss_files/files-spwd.c: Likewise.
74489         * nss/nss_db/db-alias.c: Removed.
74490         * nss/nss_db/dummy-db.h: Removed.
74492 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
74494         * nss/makedb.c: Rewritten to not use database library.
74495         * nss/Makefile: Update to build new makedb program.
74497 2011-06-14  Andreas Jaeger  <aj@suse.de>
74499         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
74500         memset declaration.
74502 2011-06-10  Andreas Schwab  <schwab@redhat.com>
74504         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
74505         tmpbuf.
74507 2011-06-10  Roland McGrath  <roland@hack.frob.com>
74509         * Makerules (shlib.lds): Fail if the linker script comes out empty.
74510         * elf/Makefile ($(objpfx)ld.so): Likewise.
74512         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
74513         Don't list ld.so twice in dependencies.
74515         * posix/bug-regex31.c: Include <stdlib.h>.
74517         * nscd/hstcache.c (cache_addhst): Remove unused variable.
74519         * nis/nss_compat/compat-spwd.c
74520         (getspent_next_nss_netgr): Remove unused variable.
74521         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
74523         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
74524         nonmembers" output to use the right array.
74526         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
74528         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
74530         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
74531         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
74532         * catgets/gencat.c (read_input_file): Likewise.
74533         * locale/programs/locarchive.c (enlarge_archive): Likewise.
74535         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
74536         variable definition inside #if's controlling its use.
74538         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
74540         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
74542         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
74544         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
74545         unreachable code.
74547         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
74549         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
74550         * configure: Regenerated.
74552         * Makerules: Revert last change.
74553         * elf/Makefile: Likewise.
74555 2011-06-09  Roland McGrath  <roland@hack.frob.com>
74557         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
74558         * elf/Makefile ($(objpfx)librtld.os): Likewise.
74559         (reloc-link): Likewise.
74561 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
74563         * elf/Makefile: Add rules to build pldd.
74564         * elf/pldd.c: New file.
74565         * elf/pldd-xx.c: New file.
74567 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
74569         * version.h: Update for 2.15 development version.
74571 2011-06-07  David S. Miller  <davem@davemloft.net>
74573         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
74574         ifuncs.
74575         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
74576         elf_machine_lazy_rel): Likewise.
74577         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
74578         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
74579         elf_machine_lazy_rel): Likewise.
74580         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
74581         dl_hwcap via passed in argument.
74582         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
74583         Likewise.
74585 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74587         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
74589 2011-06-06  Roland McGrath  <roland@hack.frob.com>
74591         [BZ #12849]
74592         * manual/fdl-1.1.texi: New file, verbatim from:
74593         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
74594         * manual/lgpl-2.1.texi: New file, verbatim from:
74595         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
74596         * manual/Makefile (licenses): New variable, list those new file names.
74597         (texis): Use it.
74598         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
74600         * manual/fdl.texi: File removed.
74601         * manual/lesser.texi: File removed.
74602         * manual/libc.texinfo (Copying, Documentation License):
74603         Use new @include file names, put @appendix directive before @include.
74605 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
74607         [BZ #12841]
74608         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
74609         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
74610         (mq_open): Add __NTH.
74612 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
74614         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74615         Assume Intel Core i3/i5/i7 processor if AVX is available.
74617 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
74619         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
74620         typo.
74622 2011-05-31  Andreas Schwab  <schwab@redhat.com>
74624         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
74625         memory.  Use alloca_account.  Fix memory leak when retrying.
74627 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
74629         * version.h (RELEASE): Bump for 2.14 release.
74630         * include/features.h (__GLIBC_MINOR__): Bump to 14.
74632         * config.make.in (RANLIB): Remove entry.
74634 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
74636         * po/Makefile (po-sed-cmd): Add ksh to extensions.
74637         (libc.pot): Work around missing support for .ksh extension in xgettext.
74639         [BZ #12684]
74640         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
74641         if both request failed.
74642         (send_dg): In case of server errors clear resplen or *resplen2.
74644         [BZ #12454]
74645         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
74646         when there are multiple maps.
74647         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
74648         (_dl_fini): Remove test here.
74650         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
74652 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
74654         [BZ #12350]
74655         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
74656         bit from old_res_options.
74657         (gaih_inet): Likewise.
74659         [BZ #11099]
74660         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
74661         as signed.
74663         * resolv/res_init.c (res_setoptions): Make the code more compact.
74665         [BZ #11558]
74666         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
74667         set RES_USEVC.
74669         [BZ #11634]
74670         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
74672         * malloc/malloc.h: Mark malloc hook variables as deprecated.
74674         [BZ #11781]
74675         * malloc/malloc.h: Declare malloc hook variables as volatile.
74677         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
74678         in last patch.
74680         [BZ #11799]
74681         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
74682         raise in the comment.
74683         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
74684         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
74685         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
74687 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
74689         [BZ #12811]
74690         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
74691         grow the buffers more if it already has to be sufficient.
74692         (build_wcs_upper_buffer): Likewise.
74693         * posix/regexec.c (check_matching): Likewise.
74694         (clean_state_log_if_needed): Likewise.
74695         (extend_buffers): Don't enlarge buffers beyond size of the input
74696         buffer.
74697         Patches mostly by Emil Wojak <emil@wojak.eu>.
74698         * posix/bug-regex32.c: New file.
74699         * posix/Makefile (tests): Add bug-regex32.
74701         * locale/findlocale.c (_nl_find_locale): Return right away if
74702         _nl_explode_name failed.
74703         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
74705         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
74707         * debug/xtrace.sh: Unify messages.
74708         * malloc/memusage.sh: Likewise.
74710         [BZ #12813]
74711         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
74712         time symbol from vDSO.  Substitute with vsyscall if not available.
74713         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
74714         __vdso_time.
74716         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
74717         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
74718         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
74719         Add sendmmsg and internal_sendmmsg.
74720         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
74721         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
74722         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
74724         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
74725         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
74726         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
74728 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
74730         [BZ #12813]
74731         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
74732         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
74733         available.
74734         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
74735         __vdso_getcpu.
74737         [BZ #12814]
74738         * iconvdata/Makefile (tests): Add bug-iconv9.
74739         * iconvdata/bug-iconv9.c: New file.
74741 2011-05-27  Andreas Schwab  <schwab@redhat.com>
74743         [BZ #12814]
74744         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
74746 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
74748         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
74749         (struct user_regs_struct): Change intcs field back to cs.
74751 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
74753         * po/ja.po: Update from translation team.
74755 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
74757         [BZ #12795]
74758         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
74759         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
74761 2011-05-20  Andreas Schwab  <schwab@redhat.com>
74763         * stdlib/longlong.h: Update from GCC.
74765 2011-05-23  Andreas Schwab  <schwab@redhat.com>
74767         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
74768         parameter name.
74769         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
74770         Add parameter name.
74771         (__sysconf): Pass it down.
74773 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
74775         [BZ #12671]
74776         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
74777         some situations.
74778         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
74779         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
74780         add in in __libc_use_alloca calls.  Adjust callers.
74781         (glob): Use malloc in some situations.
74783         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
74784         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
74785         pltexit.
74787 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
74789         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
74790         and CLOCK_BOOTTIME_ALARM.
74792         [BZ #12782]
74793         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
74794         is returned.
74796         * string/_strerror.c (__strerror_r): Print negative errors as signed
74797         numbers.
74799         [BZ #12777]
74800         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
74801         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
74802         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
74804         * configure.in: Fix typo in redirection and correct removal of test
74805         files in two cases.
74807         [BZ #12788]
74808         * locale/setlocale.c (new_composite_name): Fix test to check for
74809         identical name of all categories.
74811         [BZ #12792]
74812         * libio/filedoalloc.c (local_isatty): New function.
74813         (_IO_file_doallocate): Use local_isatty.
74814         * stdio-common/perror.c (perror): In case a new stream is used
74815         forward the stream error.
74816         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
74817         error flag.
74819 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
74821         [BZ #11884]
74822         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
74823         alloca.
74824         * include/alloca.h (extend_alloca_account): Define.
74826         [BZ #11857]
74827         * posix/regex.h: Fix comments with documentation of user-accessible
74828         fields after compilation and describe correct free'ing of pattern
74829         after re_compile_pattern.
74830         Patch by Reuben Thomas <rrt@sc3d.org>.
74832 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
74834         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
74835         and -mno-altivec to prevent the compiler from using Altivec and/or
74836         VSX instructions when the corresponding registers are not available.
74838 2011-05-19  Andreas Schwab  <schwab@redhat.com>
74840         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
74842 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
74844         * libio/freopen.c (freopen): Use __dup2, not dup2.
74845         * libio/freopen64.c (freopen64): Likewise.
74847 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
74849         [BZ #12775]
74850         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
74851         * math/Makefile (tests): Add test-powl.
74852         (CFLAGS-test-powl.c): Define.
74853         * math/test-powl.c: New file.
74855 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
74857         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
74859 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
74861         [BZ #11837]
74862         * iconvdata/gb18030.c: Update to GB18020-2005.
74864 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
74866         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
74867         RE_SYNTAX_POSIX_AWK): Update to match recent development.
74868         Patch by Aharon Robbins <arnold@skeeve.com>.
74870         [BZ #11892]
74871         * stdlib/putenv.c (putenv): Don't always create copy of the variable
74872         on the stack.
74874         [BZ #11895]
74875         * misc/pselect.c (__pselect): Handle timeout value errors hidden
74876         through underflows.
74878         [BZ #12766]
74879         * misc/error.c (error_at_line): Ensure file_name and old_file_name
74880         point to strings before performing equality test for error_one_per_line
74881         mode.
74883         [BZ #11697]
74884         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
74886         [BZ #11820]
74887         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
74888         (struct user_fpregs_struct): Avoid __uint*_t types.
74890         [BZ #6420]
74891         * malloc/mtrace.c (tr_where): Add additional parameter to point to
74892         symbol info.  Use it instead of calling _dl_addr locally.
74893         (lock_and_info): New function.
74894         (tr_freehook): Call lock_and_info and pass symbol info as additional
74895         parameter to tr_where.
74896         (tr_mallochook): Likewise.
74897         (tr_reallochook): Likewise.
74898         (tr_memalignhook): Likewise.
74900         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
74901         used and couldn't be at all thread-safe.
74903 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
74905         * libio/freopen.c (freopen): Don't close old file descriptor
74906         before the new one is opened.  Instead dup the new file descriptor
74907         to the old one after the new stream is created.
74908         * libio/freopen64.c (freopen64): Likewise.
74909         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
74910         * libio/fileops.c (_IO_new_file_close_it): Handle new
74911         _IO_FLAGS2_NOCLOSE flag.
74912         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
74913         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
74914         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
74915         _IO_FLAGS2_NOCLOSE flag.
74916         * include/unistd.h: Add hidden_proto for dup3.
74917         Define __have_dup3.
74918         * io/dup3.c: Define hidden symbol.
74919         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
74921         [BZ #7101]
74922         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
74923         when an incomplete long option is used.
74924         * posix/tst-getopt_long1.c: New file.
74925         * posix/Makefile (tests): Add tst-getopt_long1.
74927         [BZ #10138]
74928         * scripts/config.guess: Update from autoconf-2.68.
74929         * scripts/config.sub: Likewise.
74931         [BZ #10157]
74932         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
74933         tests into ...
74934         (has_cpuclock): ...this.  New function.
74935         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
74936         macro here based on has_cpuclock code.
74938         [BZ #10149]
74939         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
74940         First byte (not low byte) is now always NUL.
74941         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
74943         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
74944         Use non-cancelable interfaces.
74946         [BZ #9809]
74947         * locale/iso-639.def: Add entry for Sorani.
74949         [BZ #11901]
74950         * include/stdlib.h: Move include protection to the right place.
74951         Define abort_msg_s.  Declare __abort_msg with it.
74952         * stdlib/abort.c (__abort_msg): Adjust type.
74953         * assert/assert.c (__assert_fail_base): New function.  Majority
74954         of code from __assert_fail.  Allocate memory for __abort_msg with
74955         mmap.
74956         (__assert_fail): Now call __assert_fail_base.
74957         * assert/assert-perr.c: Remove bulk of implementation.  Use
74958         __assert_fail_base.
74959         * include/assert.hL Declare __assert_fail_base.
74960         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
74961         mmap.
74962         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
74964 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
74966         [BZ #11952]
74967         [BZ #12453]
74968         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
74969         until all modules are registered in the DTV.
74970         * elf/Makefile: Add rules to build and run tst-tls19.
74971         * elf/tst-tls19.c: New file.
74972         * elf/tst-tls19mod1.c: New file.
74973         * elf/tst-tls19mod2.c: New file.
74974         * elf/tst-tls19mod3.c: New file.
74975         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
74977         [BZ #12083]
74978         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
74979         correctly.
74981         [BZ #12601]
74982         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
74983         two-byte sequence errors.
74984         * iconvdata/Makefile (tests): Add bug-iconv8.
74985         * iconvdata/bug-iconv8.c: New file.
74987         [BZ #12626]
74988         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
74989         buf2 definition.
74991         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
74993         [BZ #12432]
74994         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
74995         (dummy_getcfa): New function.
74996         (init): Get _Unwind_GetCFA address, use dummy if not found.
74997         (backtrace_helper): In recursion check, also check whether CFA changes.
74998         (__backtrace): Completely initialize arg.
75000         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
75001         storing incomplete byte sequence in state object.  Avoid testing for
75002         guaranteed too small input if we know there is enough data available.
75004 2011-05-11  Andreas Schwab  <schwab@redhat.com>
75006         * Makeconfig (+link-pie): Indent.
75007         * Rules (binaries-pie): Define if $(have-fpie) and
75008         $(build-shared).
75009         (binaries-shared): Also filter out $(binaries-pie).
75010         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
75011         * nscd/Makefile (others-pie): Add nscd.
75012         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
75013         ($(objpfx)nscd): Remove command override.
75014         * login/Makefile (others-pie): Add pt_chown.
75015         ($(objpfx)pt_chown): Remove command override.
75016         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
75017         remove command overrides.
75019 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
75021         * libio/tst_putwc.c: Fix error messages.
75023         [BZ #12724]
75024         * libio/fileops.c (_IO_new_file_close_it): Always flush when
75025         currently writing and seek to current position when not.
75026         * libio/Makefile (tests): Add bug-fclose1.
75027         * libio/bug-fclose1.c: New file.
75029 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
75031         [BZ #12511]
75032         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
75033         don't set DF_1_NODELETE here.
75034         (do_lookup_x): When entering new entry test for copy relocation
75035         and if necessary set DF_1_NODELETE flag.
75036         * elf/tst-unique4.cc: New file.
75037         * elf/tst-unique4.h: New file.
75038         * elf/tst-unique4lib.cc: New file.
75039         * elf/Makefile: Add rules to build and run tst-unique4.
75040         Patch by Piotr Bury <pbury@goahead.com>.
75042 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
75044         [BZ #12052]
75045         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
75047         [BZ #12625]
75048         * misc/mntent_r.c (addmntent): Flush the stream after the output
75050         [BZ #12393]
75051         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
75052         (is_trusted_path_normalize): Skip initial colon.  Append slash
75053         to empty buffer.  Duplicate is_trusted_path code but allow
75054         constructed patch to be prefix.
75055         (is_dst): Allow $ORIGIN followed by /.
75056         (_dl_dst_substitute): Correct clearing of check_for_trusted.
75057         Correct testing of result of is_trusted_path_normalize
75058         (decompose_rpath): Fix warning.
75060 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
75062         [BZ #11257]
75063         * grp/initgroups.c (internal_getgrouplist): When we found the service
75064         list through the initgroups entry in nsswitch.conf do not always
75065         continue on a successful lookup.  Don't always use the
75066         __nss_group_database value if it is set.
75067         * nss/nsswitch.conf (initgroups): Change action for successful db
75068         lookup to continue for compatibility.
75070 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
75072         [BZ #11532]
75073         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
75074         and CP774 modules.
75075         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
75076         and CP774 modules.
75077         * iconvdata/tst-tables.sh: Likewise.
75078         * iconvdata/cp770.c: New file.
75079         * iconvdata/cp771.c: New file.
75080         * iconvdata/cp772.c: New file.
75081         * iconvdata/cp773.c: New file.
75082         * iconvdata/cp774.c: New file.
75083         * iconvdata/testdata/CP770: New file.
75084         * iconvdata/testdata/CP770..UTF8: New file.
75085         * iconvdata/testdata/CP771: New file.
75086         * iconvdata/testdata/CP771..UTF8: New file.
75087         * iconvdata/testdata/CP772: New file.
75088         * iconvdata/testdata/CP772..UTF8: New file.
75089         * iconvdata/testdata/CP773: New file.
75090         * iconvdata/testdata/CP773..UTF8: New file.
75091         * iconvdata/testdata/CP774: New file.
75092         * iconvdata/testdata/CP774..UTF8: New file.
75094         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
75095         END CHARMAP line.
75096         * iconvdata/gen-8bit-gap.sh: Likewise.
75097         * iconvdata/gen-8bit.sh: Likewise.
75099         * locale/iso-639.def: Add ary entry.
75101         [BZ #11258]
75102         * locale/C-translit.h.in: Add U20A1 transliteration.
75104         [BZ #12178]
75105         * locale/iso-639.def: Add wae entry.
75106         Patch by Kevin Bortis <bortis@translate-wae.ch>.
75108         [BZ #12545]
75109         * locale/programs/localedef.c (construct_output_path): Use ssize_t
75110         for n.
75112         [BZ #12711]
75113         * locale/C-translit.h.in: Add entry for U20B9.
75114         Patch by pravin.d.s@gmail.com.
75116 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
75118         [BZ #12713]
75119         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
75120         ENAMETOOLONG use generic getcwd.
75121         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
75122         in rtld.  Use *stat64.
75123         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
75124         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
75125         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
75126         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
75127         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
75128         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
75129         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
75130         __fstatat64 macros.
75131         * include/dirent.h: Add libc_hidden_proto for rewinddir.
75132         * dirent/rewinddir.c: Add libc_hidden_def.
75133         * sysdeps/mach/hurd/rewinddir.c: Likewise.
75134         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
75136         * include/dirent.h (__alloc_dir): Add flags parameter.
75137         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
75138         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
75139         __alloc_dir.
75140         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
75141         from fdopendir if O_CLOEXEC is already set.
75143 2011-03-15  Alan Modra  <amodra@gmail.com>
75145         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
75146         l_tls_firstbyte_offset non-zero.  Save padding offset in
75147         l_tls_firstbyte_offset for later use.
75148         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
75149         freeing static tls block.
75151 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
75153         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
75154         where #ifdef was intended.  The intent is to prevent ARG_MAX from
75155         being defined by the kernel headers.
75157 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
75159         [BZ #12734]
75160         * resolv/resolv.h: Define RES_NOTLDQUERY.
75161         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
75162         no-tld-query and set RES_NOTLDQUERY.
75163         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
75164         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
75165         modern BIND to search name as TLD unless forbidden.
75167 2011-05-07  Petr Baudis  <pasky@suse.cz>
75168             Ulrich Drepper  <drepper@gmail.com>
75170         [BZ #12393]
75171         * elf/dl-load.c (fillin_rpath): Move trusted path check...
75172         (is_trusted_path): ...to here.
75173         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
75174         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
75175         using is_trusted_path_normalize() in setuid scripts.
75177 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
75179         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
75180         __BEGIN/__END_DECLS.
75182 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
75184         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
75185         NSS_STATUS_NOTFOUND if no record was found.
75187 2011-05-05  Andreas Schwab  <schwab@redhat.com>
75189         * sunrpc/Makefile (headers): Add rpc/netdb.h.
75190         (headers-not-in-tirpc): Remove rpc/netdb.h
75191         * resolv/netdb.h: Revert last change.
75193 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
75195         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
75196         circular dependency between libgcc.a and libc.a.
75198 2011-05-05  Andreas Schwab  <schwab@redhat.com>
75200         * resolv/netdb.h: Don't include <rpc/netdb.h>.
75201         * nis/Makefile: Don't install rpcsvc/*.
75202         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
75203         instead of <rpc/types.h>.
75204         (MAXHOSTNAMELEN): Define.
75206 2011-05-03  Andreas Schwab  <schwab@redhat.com>
75208         * elf/ldconfig.c (add_dir): Don't crash on empty path.
75210 2011-04-28  Maciej Babinski  <mbabinski@google.com>
75212         [BZ #12714]
75213         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
75214         gethostbyname4_r when IPv6 results are possible.
75216 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
75218         [BZ #12723]
75219         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
75220         _PC_PIPE_BUF handling.
75222 2011-04-30  Bruno Haible  <bruno@clisp.org>
75224         [BZ #12717]
75225         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
75226         * resolv/netdb.h (getnameinfo): Change type of flags parameter
75227         to 'int'.
75228         * inet/getnameinfo.c (getnameinfo): Likewise.
75230 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
75232         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
75233         to groups setting in database lookup.
75234         * nss/nsswitch.conf: Add initgroups entry.
75236 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
75238         [BZ #12685]
75239         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
75240         mode string.
75241         Patch by Eric Blake <eblake@redhat.com>.
75243 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
75245         * sunrpc/Makefile (need-export-routines): Add svc_run.
75246         (routines): Remove svc_run.
75247         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
75248         * sunrpc/clnt_perr.c (clnt_perrno): Export.
75249         * sunrpc/svc_run.c (svc_run): Likewise.
75250         * sunrpc/svc_udp.c (svcudp_create): Likewise.
75252 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
75254         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
75255         problem in reallocation in last patch.
75257 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
75259         * sunrpc/Makefile: Move inclusion of Rules.
75261 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
75263         * nss/nss_files/files-initgroups.c: New file.
75264         * nss/Makefile (libnss_files-routines): Add files-initgroups.
75265         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
75266         _nss_files_initgroups_dyn.
75268 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
75270         * elf/elf.h (R_ARM_IRELATIVE): Define.
75272 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
75274         * po/ru.po: Update from translation team.
75276 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
75278         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
75279         dependencies.
75281 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
75283         [BZ #12653]
75284         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
75285         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
75286         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
75287         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
75288         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
75290 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
75292         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
75293         differing bytes.
75294         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
75295         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
75296         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
75298 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
75300         [BZ #12420]
75301         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
75302         storing it.
75303         * stdlib/bug-getcontext.c: New file.
75304         * stdlib/Makefile: Add rules to build and run bug-getcontext.
75306 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75308         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
75309         instructions into .machine "z9-109".
75310         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
75311         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
75313 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75315         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
75316         between environment variables and auxiliary vector.
75318 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
75320         * Makefile: Add rules to build linkobj/libc.so.
75321         * include/libc-symbols.h: Define libc_hidden_nolink.
75322         * include/rpc/auth.h: Mark functions which are to be hidden.
75323         * include/rpc/auth_des.h: Likewise.
75324         * include/rpc/auth_unix.h: Likewise.
75325         * include/rpc/clnt.h: Likewise.
75326         * include/rpc/des_crypt.h: Likewise.
75327         * include/rpc/key_prot.h: Likewise.
75328         * include/rpc/pmap_clnt.h: Likewise.
75329         * include/rpc/pmap_prot.h: Likewise.
75330         * include/rpc/pmap_rmt.h: Likewise.
75331         * include/rpc/rpc_msg.h: Likewise.
75332         * include/rpc/svc.h: Likewise.
75333         * include/rpc/svc_auth.h: Likewise.
75334         * include/rpc/xdr.h: Likewise.
75335         * nis/Makefile: Link all DSOs against linkobj/libc.so.
75336         * nss/Makefile: Likewise.
75337         * sunrpc/Makefile: Don't install headers.  Build library with normal
75338         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
75339         * sunrpc/auth_des.c: Hide exported symbols by default, export some
75340         for the compat linking library.  Remove use of INTDEF/INTUSE.
75341         * sunrpc/auth_none.c: Likewise.
75342         * sunrpc/auth_unix.c: Likewise.
75343         * sunrpc/authdes_prot.c: Likewise.
75344         * sunrpc/authuxprot.c: Likewise.
75345         * sunrpc/clnt_gen.c: Likewise.
75346         * sunrpc/clnt_perr.c: Likewise.
75347         * sunrpc/clnt_raw.c: Likewise.
75348         * sunrpc/clnt_simp.c: Likewise.
75349         * sunrpc/clnt_tcp.c: Likewise.
75350         * sunrpc/clnt_udp.c: Likewise.
75351         * sunrpc/clnt_unix.c: Likewise.
75352         * sunrpc/des_crypt.c: Likewise.
75353         * sunrpc/des_soft.c: Likewise.
75354         * sunrpc/get_myaddr.c: Likewise.
75355         * sunrpc/key_call.c: Likewise.
75356         * sunrpc/key_prot.c: Likewise.
75357         * sunrpc/netname.c: Likewise.
75358         * sunrpc/pm_getmaps.c: Likewise.
75359         * sunrpc/pm_getport.c: Likewise.
75360         * sunrpc/pmap_clnt.c: Likewise.
75361         * sunrpc/pmap_prot.c: Likewise.
75362         * sunrpc/pmap_prot2.c: Likewise.
75363         * sunrpc/pmap_rmt.c: Likewise.
75364         * sunrpc/publickey.c: Likewise.
75365         * sunrpc/rpc_cmsg.c: Likewise.
75366         * sunrpc/rpc_common.c: Likewise.
75367         * sunrpc/rpc_dtable.c: Likewise.
75368         * sunrpc/rpc_prot.c: Likewise.
75369         * sunrpc/rpc_thread.c: Likewise.
75370         * sunrpc/rtime.c: Likewise.
75371         * sunrpc/svc.c: Likewise.
75372         * sunrpc/svc_auth.c: Likewise.
75373         * sunrpc/svc_authux.c: Likewise.
75374         * sunrpc/svc_raw.c: Likewise.
75375         * sunrpc/svc_run.c: Likewise.
75376         * sunrpc/svc_simple.c: Likewise.
75377         * sunrpc/svc_tcp.c: Likewise.
75378         * sunrpc/svc_udp.c: Likewise.
75379         * sunrpc/svc_unix.c: Likewise.
75380         * sunrpc/svcauth_des.c: Likewise.
75381         * sunrpc/xcrypt.c: Likewise.
75382         * sunrpc/xdr.c: Likewise.
75383         * sunrpc/xdr_array.c: Likewise.
75384         * sunrpc/xdr_float.c: Likewise.
75385         * sunrpc/xdr_intXX_t.c: Likewise.
75386         * sunrpc/xdr_mem.c: Likewise.
75387         * sunrpc/xdr_rec.c: Likewise.
75388         * sunrpc/xdr_ref.c: Likewise.
75389         * sunrpc/xdr_sizeof.c: Likewise.
75390         * sunrpc/xdr_stdio.c: Likewise.
75392 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
75394         [BZ #12650]
75395         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
75396         * sysdeps/ia64/dl-tls.h: Likewise.
75397         * sysdeps/powerpc/dl-tls.h: Likewise.
75398         * sysdeps/s390/dl-tls.h: Likewise.
75399         * sysdeps/sh/dl-tls.h: Likewise.
75400         * sysdeps/sparc/dl-tls.h: Likewise.
75401         * sysdeps/x86_64/dl-tls.h: Likewise.
75402         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
75404 2011-03-14  Andreas Schwab  <schwab@redhat.com>
75406         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
75407         rpath element also skip the following colon.
75408         (expand_dynamic_string_token): Add is_path parameter and pass
75409         down to DL_DST_REQUIRED and _dl_dst_substitute.
75410         (decompose_rpath): Call expand_dynamic_string_token with
75411         non-zero is_path.  Ignore empty rpaths.
75412         (_dl_map_object_from_fd): Call expand_dynamic_string_token
75413         with zero is_path.
75415 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
75417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
75418         Make cancelable.
75420 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
75422         [BZ #12655]
75423         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
75424         Patch by Filipe David Manana <fdmanana@apache.org>.
75426 2011-04-07  Andreas Schwab  <schwab@redhat.com>
75428         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
75429         Maintain aligned stack.
75430         (CHECK_RSP): Remove unused macro.
75432 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
75434         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
75435         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
75437 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
75439         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
75441         * include/features.h: Mention __USE_XOPEN2K8 in comment.
75443 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
75445         [BZ #12518]
75446         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
75447         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
75448         * sysdeps/x86_64/memmove.c: New file.
75449         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
75450         (memcpy): Renamed to ...
75451         (__new_memcpy): This.
75452         (memcpy): Provide GLIBC_2_14 memcpy.
75453         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
75454         (memcpy): Provide GLIBC_2_2_5 memcpy.
75456 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
75458         [BZ #12631]
75459         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
75461 2011-03-30  Andreas Schwab  <schwab@redhat.com>
75463         * misc/syncfs.c: New file.
75464         * misc/Makefile (routines): Add syncfs.
75465         * posix/unistd.h: Declare syncfs.
75466         * sysdeps/unix/syscalls.list: Add syncfs.
75468 2011-04-01  Andreas Schwab  <schwab@redhat.com>
75470         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
75471         open_by_handle_at.
75472         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
75473         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
75474         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
75475         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
75476         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
75477         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
75478         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
75480 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
75482         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
75483         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
75484         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
75485         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
75486         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
75487         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
75488         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
75490         * io/Makefile: Compile fallocate.c, fallocate64.c, and
75491         sync_file_range.c with -fexceptions.
75492         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
75493         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
75494         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
75495         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
75496         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
75497         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
75498         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
75499         sync_file_range as cancellation point
75500         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
75501         now a wrapper around __call_sync_file_range with cancellation handling.
75502         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
75503         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
75504         function name to __call_sync_file_range.
75505         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
75506         Add call_sync_file_range.
75508 2011-04-01  Andreas Schwab  <schwab@redhat.com>
75510         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75511         bits/timex.h.
75513 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
75515         * iconv/iconv.h: Fix typo in comment.
75516         * io/fcntl.h: Likewise.
75517         * libio/stdio.h: Likewise.
75518         * posix/spawn.h: Likewise.
75519         * posix/unistd.h: Likewise.
75520         * stdlib/stdlib.h: Likewise.
75521         * time/time.h: Likewise.
75522         * wcsmbs/wchar.h: Likewise.
75524         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
75525         open_by_handle): Add.
75526         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
75527         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
75528         Augment a few comments.
75529         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
75530         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
75531         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
75532         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
75533         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
75534         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
75535         open_by_handle.
75537         * io/fcntl.h (AT_EMPTY_PATH): Define.
75539 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
75541         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
75542         * sysdeps/unix/sysv/linux/bits/time.h: New file.
75543         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
75544         to...
75545         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
75546         * Versions.def: Add GLIBC_2.14.
75547         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
75548         Export.
75550 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
75552         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
75553         round counter.
75554         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
75556 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
75558         [BZ #12597]
75559         * string/test-strncmp.c (do_page_test): New function.
75560         (check2): Likewise.
75561         (test_main): Call check2.
75562         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
75564 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
75566         [BZ #12587]
75567         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
75568         Handle cache information in CPU leaf 4.
75569         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
75571 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
75573         [BZ #12583]
75574         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
75575         character representation.
75576         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
75578 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
75580         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
75581         END(__isnan) to END(__isnanf) to match function entry point/label
75582         EALIGN(__isnanf,...).
75584 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
75586         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
75588 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
75590         [BZ #12510]
75591         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
75592         copy from the symbol referenced in the relocation to initialize the
75593         used variable.
75594         Patch by Piotr Bury <pbury@goahead.com>.
75595         * elf/Makefile: Add rules to build and tst-unique3.
75596         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
75597         * elf/tst-unique3.cc: New file.
75598         * elf/tst-unique3.h: New file.
75599         * elf/tst-unique3lib.cc: New file.
75600         * elf/tst-unique3lib2.cc: New file.
75602         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
75604 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
75606         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
75607         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
75608         to _start.
75610 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
75612         * elf/dl-load.c (_dl_map_object): If we are looking for the first
75613         to-be-loaded object along a path to loader is ld.so.
75615 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
75616             Ulrich Drepper  <drepper@gmail.com>
75618         * sysdeps/x86_64/memset.S: After aligning destination, code
75619         branches to different locations depending on the value of
75620         misalignment, when multiarch is enabled. Fix this.
75622 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
75624         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
75625         Set _x86_64_preferred_memory_instruction for AMD processsors.
75626         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75627         Set bit_Prefer_SSE_for_memop for AMD processors.
75629 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
75631         * libio/fmemopen.c (fmemopen): Optimize a bit.
75633 2011-03-03  Andreas Schwab  <schwab@redhat.com>
75635         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
75637 2011-03-03  Roland McGrath  <roland@redhat.com>
75639         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
75641 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
75643         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
75644         __bzero_ultra1 instead of __memset_ultra1.
75646 2011-02-23  Andreas Schwab  <schwab@redhat.com>
75647             Ulrich Drepper  <drepper@gmail.com>
75649         [BZ #12509]
75650         * include/link.h (struct link_map): Add l_orig_initfini.
75651         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
75652         returning unsuccessfully.
75653         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
75654         close of a file loaded at startup, restore the original l_initfini
75655         list.
75656         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
75657         list, store the pointer.
75658         * elf/Makefile ($(objpfx)noload-mem): New rule.
75659         (noload-ENV): Define.
75660         (tests): Add $(objpfx)noload-mem.
75661         * elf/noload.c: Include <memcheck.h>.
75662         (main): Call mtrace.  Close all opened handles.
75664 2011-02-17  Andreas Schwab  <schwab@redhat.com>
75666         [BZ #12454]
75667         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
75668         dependencies are missing.
75670 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75672         Fix __if_freereq crash: Unlike the generic version which uses free,
75673         Hurd needs munmap.
75674         * sysdeps/mach/hurd/ifreq.h: New file.
75676 2011-01-27  Petr Baudis  <pasky@suse.cz>
75677             Ulrich Drepper  <drepper@gmail.com>
75679         [BZ 12445]#
75680         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
75681         to extend_alloca().
75682         * stdio-common/bug23.c: New file.
75683         * stdio-common/Makefile (tests): Add bug23.
75685 2010-09-28  Andreas Schwab  <schwab@redhat.com>
75686             Ulrich Drepper  <drepper@gmail.com>
75688         [BZ #12489]
75689         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
75690         before performing relro protection.  At old place add assertion
75691         to make sure nothing changed.
75693 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
75694             Glauber de Oliveira Costa  <glommer@gmail.com>
75696         * elf/elf.h: Add new ARM TLS relocs.
75698 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
75700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
75701         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
75702         cast from r3.
75703         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
75704         'tests' variable.
75705         * sysdeps/wordsize-64/tst-writev.c: New file.
75707 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
75709         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
75710         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
75711         insns in _dl_start to prevent a TOC reference before relocs are
75712         resolved.
75714 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
75716         [BZ #12469]
75717         * Makeconfig: Remove RANLIB definition.
75718         * Makerules: Don't use RANLIB.
75719         * aclocal.m4: Remove ranlib test.
75720         * configure.in: No need to check for ranlib.
75721         * elf/rtld-Rules: Don't use RANLIB.
75723 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75725         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
75726         protection macro.
75727         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
75728         inclusion protection macro.
75730         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
75731         SIGRTMIN and SIGRTMAX and print information in that case only when
75732         SIGRTMIN is defined.
75734 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
75736         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
75737         arginfo fn returning -1.
75739         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
75740         and thousands string is zero terminated.
75742 2011-02-03  Andreas Schwab  <schwab@redhat.com>
75744         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
75745         sysdeps/unix/sysv/linux/bits/socket.h.
75747 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75749         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
75750         (__CPU_COUNT): Remove old macros.
75751         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
75752         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
75753         (__CPU_ALLOC, __CPU_FREE): Add macros.
75754         (__sched_cpualloc, __sched_cpufree): Add declarations.
75756 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
75758         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
75759         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
75760         * nscd/aicache.c (addhstaiX): Return timeout of added value.
75761         (readdhstai): Return value of addhstaiX call.
75762         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
75763         (addgrbyX): Return value returned by cache_addgr.
75764         (readdgrbyname): Return value returned by addgrbyX.
75765         (readdgrbygid): Likewise.
75766         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
75767         (addpwbyX): Return value returned by cache_addpw.
75768         (readdpwbyname): Return value returned by addhstbyX.
75769         (readdpwbyuid): Likewise.
75770         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
75771         (addservbyX): Return value returned by cache_addserv.
75772         (readdservbyname): Return value returned by addservbyX:
75773         (readdservbyport): Likewise.
75774         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
75775         (addhstbyX): Return value returned by cache_addhst.
75776         (readdhstbyname): Return value returned by addhstbyX.
75777         (readdhstbyaddr): Likewise.
75778         (readdhstbynamev6): Likewise.
75779         (readdhstbyaddrv6): Likewise.
75780         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
75781         (readdinitgroups): Return value returned by addinitgroupsX.
75782         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
75783         (prune_cache): Keep track of timeout value of re-added entries.
75784         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
75785         * nscd/nscd.h: Adjust prototypes of readd* functions.
75787 2011-02-04  Roland McGrath  <roland@redhat.com>
75789         * nis/nis_server.c (nis_servstate): Use the right name for 0.
75790         (nis_stats): Likewise.
75791         * nis/nis_modify.c (nis_modify): Likewise.
75792         * nis/nis_remove.c (nis_remove): Likewise.
75793         * nis/nis_add.c (nis_add): Likewise.
75795         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
75797         * posix/fnmatch_loop.c: Add some consts.
75799         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
75801 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
75803         [BZ #12460]
75804         * config.make.in (config-cflags-novzeroupper): Define.
75805         * configure.in: Substitute libc_cv_cc_novzeroupper.
75806         * elf/Makefile (AVX-CFLAGS): Define.
75807         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
75808         (CFLAGS-tst-auditmod4a.c): Likewise.
75809         (CFLAGS-tst-auditmod4b.c): Likewise.
75810         (CFLAGS-tst-auditmod6b.c): Likewise.
75811         (CFLAGS-tst-auditmod6c.c): Likewise.
75812         (CFLAGS-tst-auditmod7b.c): Likewise.
75813         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
75815 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
75817         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
75818         function to the callback.
75819         Patch partly by Jiri Olsa <jolsa@redhat.com>.
75821 2011-02-02  Andreas Schwab  <schwab@redhat.com>
75823         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
75824         of errno.
75826 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
75828         [BZ #11724]
75829         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
75830         of constructors.
75831         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
75832         of destructors.
75833         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
75835         [BZ #11724]
75836         * elf/Makefile: Add rules to build and run new test.
75837         * elf/tst-initorder.c: New file.
75838         * elf/tst-initorder.exp: New file.
75839         * elf/tst-initordera1.c: New file.
75840         * elf/tst-initordera2.c: New file.
75841         * elf/tst-initordera3.c: New file.
75842         * elf/tst-initordera4.c: New file.
75843         * elf/tst-initorderb1.c: New file.
75844         * elf/tst-initorderb2.c: New file.
75845         * elf/tst-order-a1.c: New file.
75846         * elf/tst-order-a2.c: New file.
75847         * elf/tst-order-a3.c: New file.
75848         * elf/tst-order-a4.c: New file.
75849         * elf/tst-order-b1.c: New file.
75850         * elf/tst-order-b2.c: New file.
75851         * elf/tst-order-main.c: New file.
75852         New test case by George Gensure <werkt0@gmail.com>.
75854 2010-10-01  Andreas Schwab  <schwab@redhat.com>
75856         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
75857         decoding ACE if AI_CANONIDN.
75859 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
75861         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
75863 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
75865         * version.h (RELEASE): Bump for 2.13 release.
75866         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
75868         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
75870         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
75871         MADV_NOHUGEPAGE.
75872         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
75873         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
75874         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
75875         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
75876         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
75877         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
75879         * posix/getconf.c: Update copyright year.
75880         * catgets/gencat.c: Likewise.
75881         * csu/version.c: Likewise.
75882         * debug/catchsegv.sh: Likewise.
75883         * debug/xtrace.sh: Likewise.
75884         * elf/ldconfig.c: Likewise.
75885         * elf/ldd.bash.in: Likewise.
75886         * elf/sprof.c (print_version): Likewise.
75887         * iconv/iconv_prog.c: Likewise.
75888         * iconv/iconvconfig.c: Likewise.
75889         * locale/programs/locale.c: Likewise.
75890         * locale/programs/localedef.c: Likewise.
75891         * malloc/memusage.sh: Likewise.
75892         * malloc/mtrace.pl: Likewise.
75893         * nscd/nscd.c (print_version): Likewise.
75894         * nss/getent.c: Likewise.
75896         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
75897         PF_CAIF, and PF_ALG.
75898         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
75900 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
75902         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
75903         (modules-names): Use them.
75904         (ifunc-test-modules, ifunc-pie-tests): Define.
75905         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
75906         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
75907         (test-extras): Likewise.
75908         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
75909         $(compile-command.c).
75910         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
75911         (all-built-dso): Define.
75912         (check-textrel.out, check-execstack.out): Depend on it.
75914         * configure.in: Don't override --enable-multi-arch.
75916 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
75918         [BZ #6812]
75919         * nscd/hstcache.c (tryagain): Define.
75920         (cache_addhst): Return tryagain not notfound for temporary errors.
75921         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
75922         failed.
75924 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
75926         [BZ #10563]
75927         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
75928         to make the syscall.
75929         * sysdeps/unix/sysv/linux/setgroups.c: New file.
75931         [BZ #12378]
75932         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
75933         and fall back to matching as normal character if the string ends before
75934         the matching ']' is found.  This is what POSIX requires.
75935         * posix/testfnm.c: Adjust test result.
75936         * posix/globtest.sh: Adjust test result.  Add new test.
75937         * posix/tst-fnmatch.input: Likewise.
75938         * posix/tst-fnmatch2.c: Add new test.
75940 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
75942         * elf/Makefile (check-execstack): Revert last change.  Depend on
75943         check-execstack.h.
75944         (check-execstack.h): New target.
75945         (generated): Add check-execstack.h.
75946         * elf/check-execstack.c: Include "check-execstack.h".
75947         (main): Revert last change.
75948         (handle_file): Return zero if GNU_STACK is absent and
75949         DEFAULT_STACK_PERMS doesn't include PF_X.
75951 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
75953         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
75954         in child fails because the descriptor is already closed.
75955         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
75956         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
75957         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
75959         [BZ #12397]
75960         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
75961         syscall.
75963         [BZ #10484]
75964         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
75965         temporary buffer used to handle multi lookups locally.
75966         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
75968 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
75970         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
75971         loader is ld.so.
75973 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
75975         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
75976         alignment for SSE2.
75978 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
75980         [BZ #12394]
75981         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
75982         characters.  When rounding increased number of integer digits recompute
75983         number of groups.
75984         * stdio-common/tst-grouping.c: New file.
75985         * stdio-common/Makefile: Add rules to build and run tst-grouping.
75987 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
75989         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
75990         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
75992         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
75993         void.
75994         * bits/select.h: Likewise.
75996 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
75998         * po/ja.po: Update from translation team.
76000 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
76002         [BZ #11155]
76003         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
76004         implementation just like for lxstat, fxstatat, et al.
76006 2010-12-27  Jim Meyering  <meyering@redhat.com>
76008         [BZ #12348]
76009         * posix/regexec.c (build_trtable): Return failure indication upon
76010         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
76012 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
76014         [BZ #12201]
76015         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
76016         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
76017         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
76018         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
76020         [BZ #12207]
76021         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
76023         [BZ #12204]
76024         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
76025         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
76027 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
76029         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
76030         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
76031         script has SORT_BY_INIT_PRIORITY.
76032         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
76033         NO_CTORS_DTORS_SECTIONS is defined.
76034         * elf/soinit.c: Likewise.
76035         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
76036         NO_CTORS_DTORS_SECTIONS is defined.
76037         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
76038         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
76039         * sysdeps/sh/init-first.c: Likewise.
76040         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
76042 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
76044         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
76045         always use the slow path.
76047 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
76049         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
76050         similar rule which adds the sysdep directories to the header search in
76051         order to pick up the correct platform stackinfo.h.
76052         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
76053         perform test if it is, otherwise return successfully without testing.
76054         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
76055         DEFAULT_STACK_PERMS define in stackinfo.h.
76056         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
76057         defined in stackinfo.h.
76058         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
76059         DEFAULT_STACK_PERMS defined in stackinfo.h.
76060         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
76061         * sysdeps/ia64/stackinfo.h: Likewise.
76062         * sysdeps/s390/stackinfo.h: Likewise.
76063         * sysdeps/sh/stackinfo.h: Likewise.
76064         * sysdeps/sparc/stackinfo.h: Likewise.
76065         * sysdeps/x86_64/stackinfo.h: Likewise.
76066         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
76067         PF_X for powerpc64.  Retain PF_X for powerpc32.
76069 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
76071         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
76072         accurately.
76073         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
76074         GETDENTS_64BIT_ALIGNED.
76076 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
76078         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
76080 2010-12-10  Andreas Schwab  <schwab@redhat.com>
76082         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
76083         _GNU_SOURCE.
76085         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
76086         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
76087         Remove __restrict.
76088         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
76089         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
76091 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
76093         [BZ #11655]
76094         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
76095         are initialized.
76097 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
76099         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
76101 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
76103         * po/it.po: Update from translation team.
76105 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
76107         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
76108         unused codes.
76110 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
76112         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
76114 2010-11-24  Andreas Schwab  <schwab@redhat.com>
76116         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
76117         specially.
76118         (gaih_getanswer_slice): Likewise.
76120 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
76122         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
76124 2010-05-31  Petr Baudis  <pasky@suse.cz>
76126         [BZ #11149]
76127         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
76128         silently even in the chroot mode.
76130 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
76132         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
76133         last patch a bit.  Pretty printing
76135 2010-05-31  Petr Baudis <pasky@suse.cz>
76137         [BZ #10085]
76138         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
76139         initialization of skip_initgroups_dyn.
76141 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
76143         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
76144         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
76146 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
76148         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
76150 2010-11-11  Andreas Schwab  <schwab@redhat.com>
76152         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
76153         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
76154         (tst-fnmatch-ENV): Set MALLOC_TRACE.
76155         ($(objpfx)tst-fnmatch-mem): New rule.
76156         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
76157         * posix/tst-fnmatch.c (main): Call mtrace.
76159 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
76161         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76162         Support Intel processor model 6 and model 0x2c.
76164 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
76166         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
76167           signed comparison.
76169 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
76171         [BZ #12205]
76172         * string/test-strncasecmp.c (check_result): New function.
76173         (do_one_test): Use it.
76174         (check1): New function.
76175         (test_main): Use it.
76176         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
76177         Support strcasecmp and strncasecmp.
76179 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
76181         [BZ #12194]
76182         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
76183         * sysdeps/x86_64/bits/byteswap.h: Likewise.
76185 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
76187         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
76188         IFUNC support.
76189         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76190         memset-x86-64.
76191         * sysdeps/x86_64/multiarch/bzero.S: New file.
76192         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
76193         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
76194         * sysdeps/x86_64/multiarch/memset.S: New file.
76195         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
76196         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76197         Set bit_Prefer_SSE_for_memop for Intel processors.
76198         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
76199         Define.
76200         (index_Prefer_SSE_for_memop): Define.
76201         (HAS_PREFER_SSE_FOR_MEMOP): Define.
76203 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
76205         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
76206         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
76208 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
76210         [BZ #12191]
76211         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
76212         (__x86_64_raw_data_cache_size_half): Likewise.
76213         (__x86_64_raw_shared_cache_size): Likewise.
76214         (__x86_64_raw_shared_cache_size_half): Likewise.
76216         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
76217         (__x86_64_raw_data_cache_size_half): Likewise.
76218         (__x86_64_raw_shared_cache_size): Likewise.
76219         (__x86_64_raw_shared_cache_size_half): Likewise.
76220         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
76221         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
76222         and __x86_64_raw_shared_cache_size_half.  Round
76223         __x86_64_data_cache_size_half, __x86_64_data_cache_size
76224         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
76225         to multiple of 256 bytes.
76227 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
76229         [BZ #12167]
76230         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
76231         of inacessible symlinks.  Verify result of symlink before returning it.
76232         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
76233         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
76235 2010-10-28  Erich Ritz  <erichritz@gmail.com>
76237         * math/math.h (isinf): Fix typo in comment.
76239 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
76241         * po/da.po: Update from translation team.
76243 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
76245         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
76246         is added to the list.
76248 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76249             Ulrich Drepper  <drepper@gmail.com>
76251         * elf/dl-object.c (_dl_new_object): Don't append the new object to
76252         the global list here.  Move code to...
76253         (_dl_add_to_namespace_list): ...here.  New function.
76254         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
76255         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
76256         * elf/dl-load.c (lose): Don't remove the element from the list.
76257         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
76258         (_dl_map_object): Likewise.
76260 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
76262         [BZ #12159]
76263         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
76264         into all bytes of SSE register.
76265         Patch by Richard Li <richardpku@gmail.com>.
76267 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
76269         [BZ #12140]
76270         * malloc/malloc.c (_int_free): Fill correct number of bytes when
76271         perturbing.
76273 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
76275         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
76276         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
76277         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
76278         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
76279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
76280         submachine.
76281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
76283 2010-10-22  Andreas Schwab  <schwab@redhat.com>
76285         * include/dlfcn.h (__RTLD_SECURE): Define.
76286         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
76287         mode & __RTLD_SECURE instead.
76288         (open_path): Rename preloaded parameter to secure.
76289         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
76290         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
76291         * elf/dl-deps.c (openaux): Likewise.
76292         * elf/rtld.c (struct map_args): Remove is_preloaded.
76293         (map_doit): Don't use it.
76294         (dl_main): Likewise.
76295         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
76296         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
76298 2010-09-09  Andreas Schwab  <schwab@redhat.com>
76300         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
76301         (sysd-rules-targets): Remove duplicates.
76302         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
76303         rtld-%.$o dependency.
76305 2010-10-18  Andreas Schwab  <schwab@redhat.com>
76307         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
76308         _dl_map_object do it.
76310 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
76312         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
76313         fast fma builtins, define the macros in the C99 standard.
76314         (FP_FAST_FMAF): Likewise.
76315         (FP_FAST_FMAL): Likewise.
76316         * sysdeps/x86_64/bits/mathdef.h: Likewise.
76318         * bits/mathdef.h: Update copyright year.
76319         * sysdeps/powerpc/bits/mathdef.h: Likewise.
76321 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
76323         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
76324         builtins, define the macros in the C99 standard.
76325         (FP_FAST_FMAF): Likewise.
76326         (FP_FAST_FMAL): Likewise.
76327         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
76328         multiply/add.
76329         (FP_FAST_FMAF): Likewise.
76331 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
76333         [BZ #3268]
76334         * math/libm-test.inc (fma_test): Some new testcases.
76335         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
76336         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
76337         y and infinite z.  Do multiplication by C already in long double.
76338         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
76339         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
76340         y and infinite z.  Do bitwise or of inexact bit into u.d.
76341         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
76342         * sysdeps/i386/fpu/s_fmaf.S: Removed.
76343         * sysdeps/i386/fpu/s_fma.S: Removed.
76344         * sysdeps/i386/fpu/s_fmal.S: Removed.
76346 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
76348         [BZ #3268]
76349         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
76350         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
76351         computation is not scheduled after fetestexcept.  Fix value
76352         of minimum denormal long double.
76354 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
76356         [BZ #3268]
76357         * math/libm-test.inc (fma_test): Add some more tests.
76358         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
76359         correctly.
76361 2010-10-15  Andreas Schwab  <schwab@redhat.com>
76363         * scripts/data/localplt-s390-linux-gnu.data: New file.
76364         * scripts/data/localplt-s390x-linux-gnu.data: New file.
76366 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
76368         [BZ #3268]
76369         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
76370         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
76371         instead of dbl-64.
76372         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
76373         inlines.
76374         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
76375         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
76376         if one of x and y is very large and the other is subnormal.
76377         * sysdeps/s390/fpu/s_fmaf.c: New file.
76378         * sysdeps/s390/fpu/s_fma.c: New file.
76379         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
76380         * sysdeps/powerpc/fpu/s_fma.S: New file.
76381         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
76382         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
76383         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
76385 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
76387         [BZ #3268]
76388         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
76389         fma tests.
76390         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
76391         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
76392         * sysdeps/i386/i686/multiarch/s_fma.c: Include
76393         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
76394         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
76395         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
76396         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
76398 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
76400         [BZ #12078]
76401         * posix/regcomp.c (parse_branch): One more memory leak plugged.
76402         * posix/bug-regex31.input: Add test case.
76404 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
76406         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
76407         * posix/bug-regex31.input: New file.
76409         [BZ #12078]
76410         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
76411         (parse_sub_exp): Fix last change, use postorder.
76413         * posix/bug-regex31.c: New file.
76414         * posix/Makefile: Add rules to build and run bug-regex31.
76416         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
76418         [BZ #12078]
76419         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
76421         [BZ #12108]
76422         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
76423         to have entries in sys_siglist.
76425         [BZ #12093]
76426         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
76427         be NULL.
76429 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
76431         [BZ #3268]
76432         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
76433         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
76434         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
76435         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
76436         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
76437         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
76438         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
76439         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
76440         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
76441         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
76442         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
76443         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
76444         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
76445         * math/ftestexcept.c (fetestexcept): Likewise.
76446         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
76447         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
76448         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
76449         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
76450         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
76451         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
76452         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
76454 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
76456         [BZ #12107]
76457         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
76458         newline.
76460 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
76462         * string/bug-strstr1.c: New file.
76463         * string/Makefile: Add rules to build and run bug-strstr1.
76465 2010-10-05  Eric Blake  <eblake@redhat.com>
76467         [BZ #12092]
76468         * string/str-two-way.h (two_way_long_needle): Always clear memory
76469         when skipping input due to the shift table.
76471 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
76473         [BZ #12005]
76474         * malloc/mcheck.c: Handle large requests.
76476         [BZ #12077]
76477         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
76478         for strncmp and strncasecmp.
76479         * string/stratcliff.c: Add tests for strcmp and strncmp.
76480         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
76482 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
76484         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
76485         __set_fpscr.
76487 2010-09-30  Andreas Jaeger  <aj@suse.de>
76489         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
76490         (CGROUP_SUPER_MAGIC): Define.
76491         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
76492         Handle btrfs and cgroup file systems.
76493         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
76494         Likewise.
76496 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
76498         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
76499         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
76501 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76503         [BZ #12067]
76504         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
76505         trying to locate the ELF header.
76507 2010-09-27  Andreas Schwab  <schwab@redhat.com>
76509         [BZ #11611]
76510         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
76511         Mask out sign-bit copies when constructing f_fsid.
76513 2010-09-24  Petr Baudis <pasky@suse.cz>
76515         * debug/stack_chk_fail_local.c: Add missing licence exception.
76516         * debug/warning-nop.c: Likewise.
76518 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
76520         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
76521         implementing getdents64 using getdents syscall, set d_type if
76522         __ASSUME_GETDENTS32_D_TYPE.
76524 2010-09-16  Andreas Schwab  <schwab@redhat.com>
76526         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
76527         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
76529 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
76531         [BZ #12037]
76532         * posix/unistd.h: Undo change of feature selection for ftruncate from
76533         2010-01-11.
76535 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
76537         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
76538         detection.
76540 2010-09-20  Andreas Schwab  <schwab@redhat.com>
76542         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
76543         fanotify_mark.
76544         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
76546 2010-09-14  Andreas Schwab  <schwab@redhat.com>
76548         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
76549         variables after CHECK_SP call.
76550         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
76552 2010-09-13  Andreas Schwab  <schwab@redhat.com>
76553             Ulrich Drepper  <drepper@redhat.com>
76555         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
76556         re-relocationg ld.so.
76557         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
76558         _dl_init_paths call.
76559         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
76560         here anymore.
76562 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
76564         * resolv/res_init.c (__res_vinit): Count the default server we added.
76566 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
76567             Ulrich Drepper  <drepper@redhat.com>
76569         [BZ #11968]
76570         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
76571         (____longjmp_chk): Use %ebx for saving value across system call.
76572         Add unwind info.
76574 2010-09-06  Andreas Schwab  <schwab@redhat.com>
76576         * manual/Makefile: Don't mix pattern rules with normal rules.
76578 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
76580         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
76581         operation.
76582         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
76583         * libio/iofopncook.c (_IO_cookie_init): Likewise.
76584         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
76585         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
76586         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
76587         Likewise.
76589 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
76591         [BZ #11979]
76592         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
76593         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
76595 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
76597         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
76598         * sysdeps/x86_64/addmul_1.S: Likewise.
76599         * sysdeps/x86_64/lshift.S: Likewise.
76600         * sysdeps/x86_64/mul_1.S: Likewise.
76601         * sysdeps/x86_64/rshift.S: Likewise.
76602         * sysdeps/x86_64/sub_n.S: Likewise.
76603         * sysdeps/x86_64/submul_1.S: Likewise.
76605 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76607         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
76608         Define __sched_param instead of SCHED_* and sched_param when
76609         <bits/sched.h> is included with __need_schedparam defined.
76610         * bits/sched.h [__need_schedparam]
76611         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
76612         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
76613         (__defined_schedparam): Define to 1.
76614         (__sched_param): New structure, identical to sched_param.
76615         (__need_schedparam): Undefine.
76617 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
76619         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
76620         (epoll_create1): Declare.
76622         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
76624 2010-08-31  Andreas Schwab  <schwab@redhat.com>
76626         [BZ #7066]
76627         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
76628         shifting retval into place.
76630 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
76632         * nis/rpcsvc/nis.h: Update copyright notice.
76633         * nis/rpcsvc/nis.x: Likewise.
76634         * nis/rpcsvc/nis_callback.h: Likewise.
76635         * nis/rpcsvc/nis_callback.x: Likewise.
76636         * nis/rpcsvc/nis_object.x: Likewise.
76637         * nis/rpcsvc/nis_tags.h: Likewise.
76638         * nis/rpcsvc/yp.h: Likewise.
76639         * nis/rpcsvc/yp.x: Likewise.
76640         * nis/rpcsvc/ypupd.h: Likewise.
76641         * nis/yp_xdr.c: Likewise.
76642         * nis/ypupdate_xdr.c: Likewise.
76644         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
76645         mainly the body of pmap_getport.  Add parameters to specify timeouts.
76646         (pmap_getport): Use __libc_rpc_getport.
76647         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
76648         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
76649         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
76651 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
76653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
76654         fanotify_mark.
76656 2010-08-27  Roland McGrath  <roland@redhat.com>
76658         * sysdeps/i386/i686/multiarch/Makefile
76659         (CFLAGS-varshift.c): New variable.
76661 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
76663         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
76664         * sysdeps/i386/i686/multiarch/varshift.c: New file.
76666         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
76668         * sysdeps/x86_64/strlen.S: Minimal code improvement.
76670 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
76672         * sysdeps/x86_64/strlen.S: Unroll the loop.
76673         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76674         strlen-sse2 strlen-sse2-bsf.
76675         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
76676         __strlen_no_bsf if bit_Slow_BSF is set.
76677         (__strlen_sse42): Removed.
76678         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
76679         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
76681 2010-08-25  Roland McGrath  <roland@redhat.com>
76683         * sysdeps/x86_64/multiarch/varshift.S: File removed.
76684         * sysdeps/x86_64/multiarch/varshift.c: New file.
76685         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
76686         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
76687         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
76688         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
76690 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
76692         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
76693         strlen-sse2 strlen-sse2-bsf.
76694         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
76695         __strlen_sse2_bsf if bit_Slow_BSF is unset.
76696         (__strlen_sse2): Removed.
76697         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
76698         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
76699         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
76700         bit_Slow_BSF for Atom.
76701         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
76702         (index_Slow_BSF): Define.
76703         (HAS_SLOW_BSF): Define.
76705 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
76707         [BZ #10851]
76708         * resolv/res_init.c (__res_vinit): When no server address at all
76709         is given default to loopback.
76711 2010-08-24  Roland McGrath  <roland@redhat.com>
76713         * configure.in: Remove config-name.h generation.
76714         * configure: Regenerated.
76715         * config-name.in: File removed.
76716         * scripts/config-uname.sh: New file.
76717         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
76718         ($(objdir)config-name.h): New target.
76720         * sunrpc/rpc_parse.h: Avoid nested comment.
76722 2010-08-24  Richard Henderson  <rth@redhat.com>
76723             Ulrich Drepper  <drepper@redhat.com>
76724             H.J. Lu  <hongjiu.lu@intel.com>
76726         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
76727         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
76728         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
76729         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
76730         _mm_alignr_epi8 with _mm_loadu_si128.
76731         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
76732         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
76733         (__m128i_shift_right): Removed.
76734         * sysdeps/i386/i686/multiarch/varshift.h: New file.
76735         * sysdeps/i386/i686/multiarch/varshift.S: New file.
76736         * sysdeps/x86_64/multiarch/varshift.h: New file.
76737         * sysdeps/x86_64/multiarch/varshift.S: New file.
76739 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
76741         * configure.in: Move assembler checks to before sysdep dir checking.
76743 2010-08-20  Petr Baudis  <pasky@suse.cz>
76745         * LICENSES: Sync the sunrpc license.
76747 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
76749         * sunrpc/auth_des.c: Update copyright notice once again.
76750         * sunrpc/auth_none.c: Likewise.
76751         * sunrpc/auth_unix.c: Likewise.
76752         * sunrpc/authdes_prot.c: Likewise.
76753         * sunrpc/authuxprot.c: Likewise.
76754         * sunrpc/bindrsvprt.c: Likewise.
76755         * sunrpc/clnt_gen.c: Likewise.
76756         * sunrpc/clnt_perr.c: Likewise.
76757         * sunrpc/clnt_raw.c: Likewise.
76758         * sunrpc/clnt_simp.c: Likewise.
76759         * sunrpc/clnt_tcp.c: Likewise.
76760         * sunrpc/clnt_udp.c: Likewise.
76761         * sunrpc/clnt_unix.c: Likewise.
76762         * sunrpc/des_crypt.c: Likewise.
76763         * sunrpc/des_soft.c: Likewise.
76764         * sunrpc/get_myaddr.c: Likewise.
76765         * sunrpc/getrpcport.c: Likewise.
76766         * sunrpc/key_call.c: Likewise.
76767         * sunrpc/key_prot.c: Likewise.
76768         * sunrpc/openchild.c: Likewise.
76769         * sunrpc/pm_getmaps.c: Likewise.
76770         * sunrpc/pm_getport.c: Likewise.
76771         * sunrpc/pmap_clnt.c: Likewise.
76772         * sunrpc/pmap_prot.c: Likewise.
76773         * sunrpc/pmap_prot2.c: Likewise.
76774         * sunrpc/pmap_rmt.c: Likewise.
76775         * sunrpc/rpc/auth.h: Likewise.
76776         * sunrpc/rpc/auth_unix.h: Likewise.
76777         * sunrpc/rpc/clnt.h: Likewise.
76778         * sunrpc/rpc/des_crypt.h: Likewise.
76779         * sunrpc/rpc/key_prot.h: Likewise.
76780         * sunrpc/rpc/netdb.h: Likewise.
76781         * sunrpc/rpc/pmap_clnt.h: Likewise.
76782         * sunrpc/rpc/pmap_prot.h: Likewise.
76783         * sunrpc/rpc/pmap_rmt.h: Likewise.
76784         * sunrpc/rpc/rpc.h: Likewise.
76785         * sunrpc/rpc/rpc_des.h: Likewise.
76786         * sunrpc/rpc/rpc_msg.h: Likewise.
76787         * sunrpc/rpc/svc.h: Likewise.
76788         * sunrpc/rpc/svc_auth.h: Likewise.
76789         * sunrpc/rpc/types.h: Likewise.
76790         * sunrpc/rpc/xdr.h: Likewise.
76791         * sunrpc/rpc_clntout.c: Likewise.
76792         * sunrpc/rpc_cmsg.c: Likewise.
76793         * sunrpc/rpc_common.c: Likewise.
76794         * sunrpc/rpc_cout.c: Likewise.
76795         * sunrpc/rpc_dtable.c: Likewise.
76796         * sunrpc/rpc_hout.c: Likewise.
76797         * sunrpc/rpc_main.c: Likewise.
76798         * sunrpc/rpc_parse.c: Likewise.
76799         * sunrpc/rpc_parse.h: Likewise.
76800         * sunrpc/rpc_prot.c: Likewise.
76801         * sunrpc/rpc_sample.c: Likewise.
76802         * sunrpc/rpc_scan.c: Likewise.
76803         * sunrpc/rpc_scan.h: Likewise.
76804         * sunrpc/rpc_svcout.c: Likewise.
76805         * sunrpc/rpc_tblout.c: Likewise.
76806         * sunrpc/rpc_util.c: Likewise.
76807         * sunrpc/rpc_util.h: Likewise.
76808         * sunrpc/rpcinfo.c: Likewise.
76809         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
76810         * sunrpc/rpcsvc/key_prot.x: Likewise.
76811         * sunrpc/rpcsvc/klm_prot.x: Likewise.
76812         * sunrpc/rpcsvc/mount.x: Likewise.
76813         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
76814         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
76815         * sunrpc/rpcsvc/rex.x: Likewise.
76816         * sunrpc/rpcsvc/rstat.x: Likewise.
76817         * sunrpc/rpcsvc/rusers.x: Likewise.
76818         * sunrpc/rpcsvc/sm_inter.x: Likewise.
76819         * sunrpc/rpcsvc/spray.x: Likewise.
76820         * sunrpc/rpcsvc/yppasswd.x: Likewise.
76821         * sunrpc/rtime.c: Likewise.
76822         * sunrpc/svc.c: Likewise.
76823         * sunrpc/svc_auth.c: Likewise.
76824         * sunrpc/svc_authux.c: Likewise.
76825         * sunrpc/svc_raw.c: Likewise.
76826         * sunrpc/svc_run.c: Likewise.
76827         * sunrpc/svc_simple.c: Likewise.
76828         * sunrpc/svc_tcp.c: Likewise.
76829         * sunrpc/svc_udp.c: Likewise.
76830         * sunrpc/svc_unix.c: Likewise.
76831         * sunrpc/svcauth_des.c: Likewise.
76832         * sunrpc/xcrypt.c: Likewise.
76833         * sunrpc/xdr.c: Likewise.
76834         * sunrpc/xdr_array.c: Likewise.
76835         * sunrpc/xdr_float.c: Likewise.
76836         * sunrpc/xdr_mem.c: Likewise.
76837         * sunrpc/xdr_rec.c: Likewise.
76838         * sunrpc/xdr_ref.c: Likewise.
76839         * sunrpc/xdr_sizeof.c: Likewise.
76840         * sunrpc/xdr_stdio.c: Likewise.
76842         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
76843         handling.
76845 2010-08-19  Andreas Schwab  <schwab@redhat.com>
76847         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
76849 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
76851         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
76852         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
76853         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
76854         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
76855         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
76856         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
76857         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
76858         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
76859         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
76860         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
76861         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
76862         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
76863         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
76864         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
76866 2010-07-26  Anton Blanchard  <anton@samba.org>
76868         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
76869         * malloc/arena.c (heap_trim): Likewise.
76871 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
76873         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
76874         here.  Not...
76875         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
76876         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
76878 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
76880         * sysdeps/i386/elf/Makefile: New file.
76882 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
76884         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
76885         from fanotify_init.
76886         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
76887         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
76889 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
76891         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
76892         of strncasecmp_l.
76893         * sysdeps/multiarch/strcmp.S: Likewise.
76895 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
76897         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
76898         strncase_l-nonascii.
76899         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
76900         Add strncase_l-ssse3.
76901         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
76902         * sysdeps/x86_64/strcmp.S: Likewise.
76903         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
76904         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
76905         * sysdeps/x86_64/strncase.S: New file.
76906         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
76907         * sysdeps/x86_64/strncase_l.S: New file.
76908         * string/Makefile (strop-tests): Add strncasecmp.
76909         * string/test-strncasecmp.c: New file.
76911         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
76912         warning.
76914         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
76915         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
76917 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
76919         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
76921 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
76923         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
76924         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
76925         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
76927 2010-05-01  Alan Modra  <amodra@gmail.com>
76929         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
76930         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
76931         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
76932         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
76933         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
76934         tidying.  Don't tail-call __sigjmp_save for static lib.
76935         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
76936         save location.
76937         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
76938         (CALL_MCOUNT): Add eh info, and nop after bl.
76939         (TAIL_CALL_SYSCALL_ERROR): New macro.
76940         (PSEUDO_RET): Use it.
76941         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
76942         Correct save location of integer regs and cr.
76943         (_dl_profile_resolve): Correct cr save location.  Delete nops
76944         after bl when SHARED.  Reduce cfi size a little by better
76945         placement of cfi directives.
76946         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
76947         make a stack frame.  Instead use parm save area as a temp.
76948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
76949         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
76950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
76951         Don't make a stack frame for parent, use parm save area.
76952         Increase child stack frame to 112 bytes.  Don't save unused reg,
76953         and adjust reg usage.  Set up cfi on error recovery and
76954         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
76955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
76956         (__makecontext): Add dummy nop after jump to exit.
76957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
76958         Use correct parm save area and cr save, reduce stack frame.
76959         Correct cfi for possible PSEUDO_RET frame setup.
76960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
76961         Branch to local label emitted by PSEUDO_RET rather than
76962         __syscall_error.
76964 2010-08-12  Andreas Schwab  <schwab@redhat.com>
76966         [BZ #11904]
76967         * locale/programs/locale.c (print_assignment): New function.
76968         (show_locale_vars): Use it.
76970 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
76972         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
76973         field.
76974         (struct statfs64): Likewise.
76975         (_STATFS_F_FLAGS): Define.
76976         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
76977         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
76978         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
76979         (ST_VALID): Define locally.
76980         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
76981         __statvfs_getflags, use the provided value.
76982         * sysdeps/unix/sysv/linux/kernel-features.h: Define
76983         __ASSUME_STATFS_F_FLAGS.
76985         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
76987         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
76988         Add sys/fanotify.h.
76989         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
76990         fanotify_mask for GLIBC_2.13.
76991         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
76992         fanotify_init and fanotify_mark.
76993         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
76994         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
76996         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
76997         Add prlimit.
76998         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
76999         prlimit64 for GLIBC_2.13.
77000         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
77001         prlimit64.
77002         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
77003         syscall.
77004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
77005         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
77006         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
77007         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
77008         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
77009         add prlimit alias.
77010         * sysdeps/unix/sysv/linux/prlimit.c: New file.
77012         [BZ #11903]
77013         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
77014         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
77016         * nss/Makefile: Add rules to build and run tst-nss-test1.
77017         * shlib-versions: Add entry for libnss_test1.
77018         * nss/nss_test1.c: New file.
77019         * nss/tst-nss-test1.c: New file.
77021         * nss/nsswitch.c (__nss_database_custom): Define new variable.
77022         (__nss_configure_lookup): Set appropriate entry in
77023         __nss_configure_lookup to true.
77024         * nss/nsswitch.h: Define enum with indeces of databases in
77025         databases and __nss_database_custom arrays.  Declare
77026         __nss_database_custom.
77027         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
77028         to avoid using nscd when custom rules are installed.
77029         * nss/getXXbyYY_r.c: Likewise.
77030         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
77032         * nss/nss_files/files-parse.c: Whitespace fixes.
77034 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
77036         [BZ #11883]
77037         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
77038         * posix/fnmatch_loop.c: Likewise.
77040 2010-07-17  Andi Kleen  <ak@linux.intel.com>
77042         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
77043         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
77044         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
77045         * Versions.def [GLIBC_2.13]: Add.
77047 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
77049         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
77050         Also fail if tpwd after pwuid call is NULL.
77052 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77054         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
77055         when converting to ms.
77057 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77059         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
77060         EOPNOTSUPP errors with ENOTTY.
77061         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
77062         EOPNOTSUPP errors with ENOTTY.
77064 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
77066         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
77067         Add strcasecmp_l-ssse3.
77068         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
77069         strcasecmp.
77070         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
77071         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
77072         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
77074 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
77076         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
77078         * string/Makefile (strop-tests): Add strcasecmp.
77079         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
77080         strcasecmp_l-nonascii.
77081         (gen-as-const-headers): Add locale-defines.sym.
77082         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
77083         * sysdeps/x86_64/strcasecmp.S: New file.
77084         * sysdeps/x86_64/strcasecmp_l.S: New file.
77085         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
77086         * sysdeps/x86_64/locale-defines.sym: New file.
77087         * string/test-strcasecmp.c: New file.
77089         * string/test-strcasestr.c: Test both ends of the range of characters.
77090         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
77092 2010-07-29  Roland McGrath  <roland@redhat.com>
77094         [BZ #11856]
77095         * manual/locale.texi (Yes-or-No Questions): Fix example code.
77097 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
77099         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
77100         for ld.so.
77102 2010-07-27  Andreas Schwab  <schwab@redhat.com>
77104         * manual/memory.texi (Malloc Tunable Parameters): Document
77105         M_PERTURB.
77107 2010-07-26  Roland McGrath  <roland@redhat.com>
77109         [BZ #11840]
77110         * configure.in (-fgnu89-inline check): Set and substitute
77111         gnu89_inline, not libc_cv_gnu89_inline.
77112         * configure: Regenerated.
77113         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
77115 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
77117         * string/test-strnlen.c: New file.
77118         * string/Makefile (strop-tests): Add strnlen.
77119         * string/tester.c (test_strnlen): Add a few more test cases.
77120         * string/tst-strlen.c: Better error reporting.
77122         * sysdeps/x86_64/strnlen.S: New file.
77124 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
77126         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
77127         lower-latency instructions.
77129 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
77131         * string/test-strcasestr.c: New file.
77132         * string/test-strstr.c: New file.
77133         * string/Makefile (strop-tests): Add strstr and strcasestr.
77134         * string/str-two-way.h: Don't undefine MAX.
77135         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
77137 2010-07-21  Andreas Schwab  <schwab@redhat.com>
77139         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
77140         strcasestr-nonascii.
77141         (CFLAGS-strcasestr-nonascii.c): Define.
77142         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
77143         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
77144         Remove unused attribute.
77146 2010-07-20  Roland McGrath  <roland@redhat.com>
77148         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
77149         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
77150         ld.so.cache was broken.  With it, there is no way to disable dsocaps
77151         like LD_HWCAP_MASK can disable hwcaps.
77153 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
77155         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
77157 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
77159         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
77160         call in strcasestr.
77161         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
77162         __strcasestr_sse42_nonascii.
77163         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
77164         strcasestr-nonascii.c.
77165         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
77167 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
77169         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
77170         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
77171         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
77172         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
77174 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
77176         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
77177         fcntl.
77179 2010-07-06  Andreas Schwab  <schwab@redhat.com>
77181         [BZ #11577]
77182         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
77183         dl_signal_cerror.
77185 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
77187         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
77188         _PC_PIPE_BUF using F_GETPIPE_SZ.
77190 2010-07-05  Roland McGrath  <roland@redhat.com>
77192         * manual/arith.texi (Rounding Functions): Fix rint description
77193         implicit in round description.
77195 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
77197         * elf/Makefile: Fix linking for a few tests to make recent linker
77198         happy.
77200 2010-06-30  Andreas Schwab  <schwab@redhat.com>
77202         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
77203         $(common-objpfx)libc_nonshared.a.
77205 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
77207         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
77208         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
77209         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
77210         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
77211         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
77212         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
77213         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
77214         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
77215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
77216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
77217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
77218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
77219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
77220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
77221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
77222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
77223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
77224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
77225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
77226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
77227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
77228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
77229         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
77230         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
77231         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
77232         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
77233         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
77234         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
77235         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
77236         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
77237         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
77238         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
77239         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
77240         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
77241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
77242         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
77243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
77244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
77245         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
77246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
77247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
77248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
77249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
77250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
77251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
77252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
77253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
77254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
77256 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
77258         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
77259         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
77260         * string/memmove.c (memmove): Renamed to ...
77261         (MEMMOVE): ...this.  Default to memmove.
77262         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
77263         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
77264         (END_CHK): Define.
77265         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
77266         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
77267         mempcpy-ssse3-back memmove-ssse3-back.
77268         * sysdeps/x86_64/multiarch/bcopy.S: New file .
77269         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
77270         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
77271         * sysdeps/x86_64/multiarch/memcpy.S: New file.
77272         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
77273         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
77274         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
77275         * sysdeps/x86_64/multiarch/memmove.c: New file.
77276         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
77277         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
77278         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
77279         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
77280         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
77281         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
77282         Define.
77283         (index_Fast_Copy_Backward): Define.
77284         (HAS_ARCH_FEATURE): Define.
77285         (HAS_FAST_REP_STRING): Define.
77286         (HAS_FAST_COPY_BACKWARD): Define.
77288 2010-06-21  Andreas Schwab  <schwab@redhat.com>
77290         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
77291         Restore proper fallback handling.
77293 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
77295         [BZ #11701]
77296         * posix/group_member.c (__group_member): Correct checking loop.
77298         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
77299         OOM in getpwuid_r correctly.  Return error number when the caller
77300         should return, otherwise -1.
77301         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
77302         call returning > 0 value.
77303         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
77305 2010-06-07  Andreas Schwab  <schwab@redhat.com>
77307         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
77308         libc_nonshared.a from targets in modules-names.
77310 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
77312         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
77313         requires it.
77315 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
77317         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
77318         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
77319         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
77320         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
77322 2010-06-02  Andreas Schwab  <schwab@redhat.com>
77324         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
77326 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
77328         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
77329         and F_GETPIPE_SZ.
77330         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
77331         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
77332         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
77333         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
77334         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
77335         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
77337 2010-06-14  Roland McGrath  <roland@redhat.com>
77339         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
77341 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
77343         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
77344         __REDIRECT followed by __THROW.
77345         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
77346         * posix/getopt.h (getopt): Likewise.
77348 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
77350         * hurd/lookup-at.c (__file_name_lookup_at): Accept
77351         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
77352         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
77353         in AT_FLAGS.
77354         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
77355         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
77357 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
77359         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
77361 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
77363         [BZ #11640]
77364         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77365         Properly check family and model.
77367 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
77369         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
77371 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
77373         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
77375 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
77377         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
77378         symbol reference.
77380 2010-05-19  Andreas Schwab  <schwab@redhat.com>
77382         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
77383         symbol reference.
77385 2010-05-21  Andreas Schwab  <schwab@redhat.com>
77387         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
77388         and internal_recvmmsg.
77389         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
77390         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
77391         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
77392         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
77394         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
77395         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
77396         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
77398 2010-05-20  Andreas Schwab  <schwab@redhat.com>
77400         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
77402 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
77404         POWER7 optimizations.
77405         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
77406         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
77408 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
77410         * version.h: Update for 2.13 development version.
77412 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
77414         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
77415         exceptions.  Return 0.
77417 2010-05-07  Roland McGrath  <roland@redhat.com>
77419         * elf/ldconfig.c (main): Add a const.
77421 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
77423         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
77424         (args_options): Add no-idn option.
77425         (ahosts_keys_int): Add idn_flags to ai_flags.
77426         (parse_option): Handle 'i' option to clear idn_flags.
77428         * malloc/malloc.c (_int_free): Possible race in the most recently
77429         added check.  Only act on the data if no current modification
77430         happened.
77432 See ChangeLog.17 for earlier changes.